qid int64 4 8.14M | question stringlengths 20 48.3k | answers list | date stringlengths 10 10 | metadata list | input stringlengths 12 45k | output stringlengths 2 31.8k |
|---|---|---|---|---|---|---|
9,513 | <p>Can anyone explain to me in what order apache executes .htaccess files residing in different levels of the same path and how the rewrite rules therein are prioritized?</p>
<p>For example, why doesn't the rewrite rule in the first .htaccess below work and is the one in <code>/blog</code> prioritized?</p>
<p>.htacce... | [
{
"answer_id": 9514,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "<p>Read the <a href=\"https://httpd.apache.org/docs/current/howto/htaccess.html\" rel=\"nofollow noreferrer\">Apache T... | 2011/02/14 | [
"https://webmasters.stackexchange.com/questions/9513",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5586/"
] | Can anyone explain to me in what order apache executes .htaccess files residing in different levels of the same path and how the rewrite rules therein are prioritized?
For example, why doesn't the rewrite rule in the first .htaccess below work and is the one in `/blog` prioritized?
.htaccess in `/`
```
RewriteEngine... | Read the [Apache Tutorial: .htaccess](https://httpd.apache.org/docs/current/howto/htaccess.html), mainly the section "How directives are applied", which states:
>
> The configuration directives found in
> a .htaccess file are applied to the
> directory in which the .htaccess file
> is found, and to all subdirectories... |
9,543 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/6078/differences-between-google-domains-in-different-countries">Differences between google domains in different countries</a> </p>
</blockquote>
<p>We are getting different results for the same searc... | [
{
"answer_id": 9547,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 5,
"selected": true,
"text": "<p>There definitely is a hard line that you cannot cross. You'll have to talk to a trademark attorney if you want... | 2011/02/22 | [
"https://webmasters.stackexchange.com/questions/9543",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | >
> **Possible Duplicate:**
>
> [Differences between google domains in different countries](https://webmasters.stackexchange.com/questions/6078/differences-between-google-domains-in-different-countries)
>
>
>
We are getting different results for the same search words at different countries.
How can i get the... | There definitely is a hard line that you cannot cross. You'll have to talk to a trademark attorney if you want exact details. But if you're using a trademark in your domain and the site is related to the trademark you can bet it is ripe for a lawsuit if the trademark holder decides they want to sue. Of course, they may... |
9,571 | <p>Do anchors in urls affect ranking in seo?</p>
<pre><code><a href="website.com/cotton">link 1</a>
</code></pre>
<p>As oposed to:</p>
<pre><code><a href="website.com/cotton#green">link 2</a>
</code></pre>
| [
{
"answer_id": 9567,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>This <a href=\"http://googlewebmastercentral.blogspot.com/\" rel=\"nofollow\">recent blog post from Google</a... | 2011/02/23 | [
"https://webmasters.stackexchange.com/questions/9571",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | Do anchors in urls affect ranking in seo?
```
<a href="website.com/cotton">link 1</a>
```
As oposed to:
```
<a href="website.com/cotton#green">link 2</a>
``` | I know this question is old, but Google now provides better guidelines on how to develop website for Desktop and Smart Phones.
<https://developers.google.com/webmasters/smartphone-sites/details> |
9,572 | <p>When I search for <em>Ride On</em> + my site's name, I see that it's indexed.
But when I search for <em>Green Horse</em> + my site's name, I don't see my site appearing in the results anywhere!</p>
<p>Here's my code:</p>
<pre><code><td><a href="#" title="Green Horse Ride">Ride On</a></td>
<... | [
{
"answer_id": 9567,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>This <a href=\"http://googlewebmastercentral.blogspot.com/\" rel=\"nofollow\">recent blog post from Google</a... | 2011/02/23 | [
"https://webmasters.stackexchange.com/questions/9572",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | When I search for *Ride On* + my site's name, I see that it's indexed.
But when I search for *Green Horse* + my site's name, I don't see my site appearing in the results anywhere!
Here's my code:
```
<td><a href="#" title="Green Horse Ride">Ride On</a></td>
```
Does this mean that `title` attributes are not indexed... | I know this question is old, but Google now provides better guidelines on how to develop website for Desktop and Smart Phones.
<https://developers.google.com/webmasters/smartphone-sites/details> |
9,597 | <p>I am getting intermittent issues with my site. Pages often hang with huge loading times and sometimes fail to load. </p>
<p>The httpd error logs contain the following:</p>
<pre><code>[Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5871 for worker proxy:reverse
[Wed ... | [
{
"answer_id": 9586,
"author": "Sparky",
"author_id": 4660,
"author_profile": "https://webmasters.stackexchange.com/users/4660",
"pm_score": 2,
"selected": false,
"text": "<p>This is called <a href=\"http://en.wikipedia.org/wiki/Web_scraping\" rel=\"nofollow\">content scraping</a>. Yes. ... | 2011/02/23 | [
"https://webmasters.stackexchange.com/questions/9597",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5612/"
] | I am getting intermittent issues with my site. Pages often hang with huge loading times and sometimes fail to load.
The httpd error logs contain the following:
```
[Wed Feb 23 06:54:17 2011] [debug] proxy_util.c(1854): proxy: grabbed scoreboard slot 0 in child 5871 for worker proxy:reverse
[Wed Feb 23 06:54:17 2011]... | This is called [content scraping](http://en.wikipedia.org/wiki/Web_scraping). Yes. It is not directly against Google terms, but definitely they don't like non-original content. Read [Google's catch on this](http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=66361).
Also this is a violation of copyright... |
9,606 | <p>I know that I may just have to link the image to make this happen, but I figured it was worth asking, just in case there's some other semantic markup or tips I could use... </p>
<p>I have a site that uses the textual Creative Commons blurb in the footer. The markup is like so: </p>
<pre><code><div class="footer... | [
{
"answer_id": 9608,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>Being this is probably in the footer of every page it's natural that it would appear so high in that list.</p>... | 2011/02/23 | [
"https://webmasters.stackexchange.com/questions/9606",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1129/"
] | I know that I may just have to link the image to make this happen, but I figured it was worth asking, just in case there's some other semantic markup or tips I could use...
I have a site that uses the textual Creative Commons blurb in the footer. The markup is like so:
```
<div class="footer">
<!-- snip -->
... | Being this is probably in the footer of every page it's natural that it would appear so high in that list.
Still, your goal shouldn't be to decrease the relevancy of those terms. It should be to *increase* the relevancy of the other terms on your pages. If the creative commons content is that relevant then you probabl... |
9,671 | <p>I am looking for a tool very similar to <a href="http://www.tothepc.com/archives/combine-merge-multiple-css-files/" rel="nofollow">http://www.tothepc.com/archives/combine-merge-multiple-css-files/</a></p>
<p>However, given this example:</p>
<p>test1.css:</p>
<pre><code>#admin {
background: #c9d2dc;
border... | [
{
"answer_id": 9798,
"author": "SubTypical",
"author_id": 3535,
"author_profile": "https://webmasters.stackexchange.com/users/3535",
"pm_score": 1,
"selected": false,
"text": "<p>The merger tool should give options for you when it spots the same id's/classes on different css files, but i... | 2011/02/24 | [
"https://webmasters.stackexchange.com/questions/9671",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5568/"
] | I am looking for a tool very similar to <http://www.tothepc.com/archives/combine-merge-multiple-css-files/>
However, given this example:
test1.css:
```
#admin {
background: #c9d2dc;
border-color: #ccc
}
```
test2.css:
```
#admin {
background: #222;
border-bottom: 1px solid #444;
border-left: 1... | The merger tool should give options for you when it spots the same id's/classes on different css files, but in this case it wouldn't allow you to merge them together. In example 1 you have the id "admin", with background set to #222. In example 2 the same id has a background designated as #c952dc. The merger can't put ... |
9,681 | <p>I use Lunarpages and have set up a few add on domains to my main account. These show up as sub-domains of my main account, but they can be reached by using the new domain I've created. </p>
<p>So:</p>
<p><code>subdomain1.example.com</code> --> <code>www.example1.com</code><br>
<code>subdomain2.example.com</code>... | [
{
"answer_id": 9714,
"author": "Joshak",
"author_id": 1953,
"author_profile": "https://webmasters.stackexchange.com/users/1953",
"pm_score": 0,
"selected": false,
"text": "<p>I've seen this in apache when Vhosts are not configured properly, I'd suggest talking to your host as they will p... | 2011/02/25 | [
"https://webmasters.stackexchange.com/questions/9681",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I use Lunarpages and have set up a few add on domains to my main account. These show up as sub-domains of my main account, but they can be reached by using the new domain I've created.
So:
`subdomain1.example.com` --> `www.example1.com`
`subdomain2.example.com` --> `www.example2.com`
The problem is that `example... | Had the same problem with another provider and it is really not their fault. It is still a mystery to me how Google was able to find the subdomain path since I never wrote it anywhere.
The more robust solution is to setup your .htaccess so to give a 301 redirect when the wrong domain is accessed. For completeness I al... |
9,690 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site">What is duplicate content and how can I avoid being penalized for it on my site?</a> </p>
</blockquote>
<p>While... | [
{
"answer_id": 9692,
"author": "Mike Scott",
"author_id": 4311,
"author_profile": "https://webmasters.stackexchange.com/users/4311",
"pm_score": 3,
"selected": true,
"text": "<p>You might incur a penalty, which you can avoid by specifying the canonical URL on each page, so that Google ig... | 2011/02/25 | [
"https://webmasters.stackexchange.com/questions/9690",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5653/"
] | >
> **Possible Duplicate:**
>
> [What is duplicate content and how can I avoid being penalized for it on my site?](https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site)
>
>
>
While testing searches for keywords on my site, I notice... | You might incur a penalty, which you can avoid by specifying the canonical URL on each page, so that Google ignores the duplicates.
Full details are [here](http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html), but basically each page should include a tag like this in the <head> section:
```... |
9,735 | <p>SE sites allow tags chaining like this:</p>
<pre><code>/questions/tagged/seo+google+search-engines+research+keywords
</code></pre>
<p>This site has more than 700 tags. If up to 5 tags can be chained, there are</p>
<pre><code>700*700*700*700*700 = 168070000000000
</code></pre>
<p>links that google can crawl. Can ... | [
{
"answer_id": 9736,
"author": "Melanie Shebel",
"author_id": 5013,
"author_profile": "https://webmasters.stackexchange.com/users/5013",
"pm_score": 0,
"selected": false,
"text": "<p>My thought is that if Google sees a tag with the url: twicks-website.com/posts-with-awesome-tag</p>\n\n<p... | 2011/02/26 | [
"https://webmasters.stackexchange.com/questions/9735",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5671/"
] | SE sites allow tags chaining like this:
```
/questions/tagged/seo+google+search-engines+research+keywords
```
This site has more than 700 tags. If up to 5 tags can be chained, there are
```
700*700*700*700*700 = 168070000000000
```
links that google can crawl. Can it be harmful? | >
> Can internal linking create excessive
> web server load?
>
>
>
Not unless your server is already struggling - Googlebot (unlike many poorly-conceived spiders and some recursive downloading agents) throttles requests and even allows webmasters to specify how often Googlebot should visit pages via [Google Webma... |
9,748 | <p>I want to change some legacy URL's like this:</p>
<pre><code>/modules.php?name=News&file=article&sid=600
</code></pre>
<p>to this:</p>
<pre><code>/news/story/600/
</code></pre>
<p>This is what I have tried:</p>
<pre><code>RewriteEngine on
RewriteCond %{QUERY_STRING} ^name=News&file=([a-z_]+)&sid... | [
{
"answer_id": 9752,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>Where are these \"other rewrite rules\" located? In the same .conf or .htaccess file? I think you need <code>Optio... | 2011/02/26 | [
"https://webmasters.stackexchange.com/questions/9748",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5687/"
] | I want to change some legacy URL's like this:
```
/modules.php?name=News&file=article&sid=600
```
to this:
```
/news/story/600/
```
This is what I have tried:
```
RewriteEngine on
RewriteCond %{QUERY_STRING} ^name=News&file=([a-z_]+)&sid=([0-9]+)
RewriteRule ^modules\.php /news/story/%2/ [R=301,L]
```
However ... | I got it to work. It seems I had a couple of problems.
1. I needed a forward slash on the pattern in RewriteRule; i.e.
`^/modules.php` instead of
`^modules.php`.
2. I needed to prevent the query string from being appended to the new URL. This could cause recursion in some cases, or other strange things (400 bad req... |
9,754 | <p>I have my own grid layout, and I am creating multiple column designs for a website. Is there any formula I can follow to create different column designs with identical gutter space, ie. margins?</p>
<p>Most are the alike, (through trial and error), however some are a pixel off and I am looking to make it pixel perf... | [
{
"answer_id": 9755,
"author": "Lèse majesté",
"author_id": 1757,
"author_profile": "https://webmasters.stackexchange.com/users/1757",
"pm_score": 2,
"selected": false,
"text": "<p>Based on sdleihssirhc's description, without outside gutters:</p>\n\n<pre><code>columnWidth = (layoutWidth ... | 2011/02/26 | [
"https://webmasters.stackexchange.com/questions/9754",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have my own grid layout, and I am creating multiple column designs for a website. Is there any formula I can follow to create different column designs with identical gutter space, ie. margins?
Most are the alike, (through trial and error), however some are a pixel off and I am looking to make it pixel perfect. | Based on sdleihssirhc's description, without outside gutters:
```
columnWidth = (layoutWidth + gutter)/columns - gutter
```
With outside gutters:
```
columnWidth = (layoutWidth - gutter)/columns - gutter
```
Though if you're going with your own grid design, it's easier to just add it up, e.g.:
```
columns = 3
co... |
9,757 | <p>I am adding a new application to my site at example.com/app. I want views at that URL to always open myapp.php.</p>
<p>E.g.</p>
<pre><code>example.com/app -> example.com/app/myapp.php and
example.com/app/ -> example.com/app/myapp.php
</code></pre>
<p><strong>What's the correct form of rewrite rules in the .... | [
{
"answer_id": 9755,
"author": "Lèse majesté",
"author_id": 1757,
"author_profile": "https://webmasters.stackexchange.com/users/1757",
"pm_score": 2,
"selected": false,
"text": "<p>Based on sdleihssirhc's description, without outside gutters:</p>\n\n<pre><code>columnWidth = (layoutWidth ... | 2011/02/27 | [
"https://webmasters.stackexchange.com/questions/9757",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I am adding a new application to my site at example.com/app. I want views at that URL to always open myapp.php.
E.g.
```
example.com/app -> example.com/app/myapp.php and
example.com/app/ -> example.com/app/myapp.php
```
**What's the correct form of rewrite rules in the .htaccess file?**
I've got:
```
<IfModule mo... | Based on sdleihssirhc's description, without outside gutters:
```
columnWidth = (layoutWidth + gutter)/columns - gutter
```
With outside gutters:
```
columnWidth = (layoutWidth - gutter)/columns - gutter
```
Though if you're going with your own grid design, it's easier to just add it up, e.g.:
```
columns = 3
co... |
9,762 | <p>On Google, if you search for "chana dal recipe," in the middle of the search results page you'll see one search result with an image of the meal, taken from the underlying web page. It's the only one.</p>
<p>My Questions:</p>
<ol>
<li><p>Did Google someone magically isolate the one image on the web page which
su... | [
{
"answer_id": 9765,
"author": "MrG",
"author_id": 1089,
"author_profile": "https://webmasters.stackexchange.com/users/1089",
"pm_score": 3,
"selected": true,
"text": "<p>Firstly - making sure we are talking about the same article: <code>www.indobase.com/recipes/.../chana-dal.php</code> ... | 2011/02/27 | [
"https://webmasters.stackexchange.com/questions/9762",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5672/"
] | On Google, if you search for "chana dal recipe," in the middle of the search results page you'll see one search result with an image of the meal, taken from the underlying web page. It's the only one.
My Questions:
1. Did Google someone magically isolate the one image on the web page which
summarized the recipe?
or
... | Firstly - making sure we are talking about the same article: `www.indobase.com/recipes/.../chana-dal.php`
Looking at the 4 results above it, only one actually uses an image in the article, and on examination of the img tag the image is poorly named and has no alt text.
Going back to the article which has the image ... |
9,770 | <p>I know how to rewrite URLs to redirect to a page.</p>
<p>When the <code>/</code> is not at the end of <code>www.example.com/user/myUserName</code> the redirect works:</p>
<pre><code>RewriteRule /$ /user/index.php
</code></pre>
<p>When I write <code>RewriteBase /</code> the above rule does not work, but a 404 erro... | [
{
"answer_id": 9767,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>There are projects like that. For example <a href=\"https://studio.medioh.com/\" rel=\"nofollow\">Medioh studio</a... | 2011/02/27 | [
"https://webmasters.stackexchange.com/questions/9770",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4714/"
] | I know how to rewrite URLs to redirect to a page.
When the `/` is not at the end of `www.example.com/user/myUserName` the redirect works:
```
RewriteRule /$ /user/index.php
```
When I write `RewriteBase /` the above rule does not work, but a 404 error.
How to add a `/` at the end of `www.example.com/user/myUserNam... | We've used this for projects in the past, because YouTube's infrastructure is so open -- not just as a CDN but also as a way to deal with uploads and conversion.
The only real downside we found is the watermark. You can use custom players, so you aren't limited to clunky YouTube players.
Some clients initially object... |
9,775 | <p>Is it valid markup and is it valid to the HTML/HTTP spec? If I wanted to have </p>
<pre><code><form>
<input name="email" />
<input name="email" />
<input name="email" />
</form>
</code></pre>
<p>is that valid?</p>
| [
{
"answer_id": 9776,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>As <a href=\"https://stackoverflow.com/questions/452066/html-form-with-multiple-hidden-control-elements-of-the... | 2011/02/27 | [
"https://webmasters.stackexchange.com/questions/9775",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5664/"
] | Is it valid markup and is it valid to the HTML/HTTP spec? If I wanted to have
```
<form>
<input name="email" />
<input name="email" />
<input name="email" />
</form>
```
is that valid? | As [stated on SO](https://stackoverflow.com/questions/452066/html-form-with-multiple-hidden-control-elements-of-the-same-name):
>
> The browsers are OK with it. However,
> how the application library parses it
> may vary.
>
>
> Programs are supposed to group
> identically named items together.
> While the HTML ... |
9,831 | <p>I've moved my WordPress installation from one domain to another, and I want to use an .htaccess file on the original to redirect visitors to the new page on the new website.</p>
<p>The old site is <code>http://www.steve.doig.com.au/wordpress/</code>.</p>
<p>The new site is <code>http://www.superlogical.net</code><... | [
{
"answer_id": 9838,
"author": "Kissaki",
"author_id": 1950,
"author_profile": "https://webmasters.stackexchange.com/users/1950",
"pm_score": 0,
"selected": false,
"text": "<p>As you’re using regexp on the second parameter you want to escape the dots. Change</p>\n\n<pre><code>http://www.... | 2011/03/01 | [
"https://webmasters.stackexchange.com/questions/9831",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5026/"
] | I've moved my WordPress installation from one domain to another, and I want to use an .htaccess file on the original to redirect visitors to the new page on the new website.
The old site is `http://www.steve.doig.com.au/wordpress/`.
The new site is `http://www.superlogical.net`
I tried using tried using the followin... | In the `/wordpress/.htaccess` file, I changed it to the following:
```
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^(.*)$ http://www.superlogical.net/$1 [R=301,L]
```
Which resolved it for me. |
9,841 | <p>I've launched a number of sites recently (8-12 weeks) that are getting tons of traffic from google search at an increasing rate (both image and web), but they are getting absolutely nothing from bing or yahoo. what gives? what are some tricks to get yahoo and bing to send some search traffic?</p>
| [
{
"answer_id": 9838,
"author": "Kissaki",
"author_id": 1950,
"author_profile": "https://webmasters.stackexchange.com/users/1950",
"pm_score": 0,
"selected": false,
"text": "<p>As you’re using regexp on the second parameter you want to escape the dots. Change</p>\n\n<pre><code>http://www.... | 2011/03/01 | [
"https://webmasters.stackexchange.com/questions/9841",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5756/"
] | I've launched a number of sites recently (8-12 weeks) that are getting tons of traffic from google search at an increasing rate (both image and web), but they are getting absolutely nothing from bing or yahoo. what gives? what are some tricks to get yahoo and bing to send some search traffic? | In the `/wordpress/.htaccess` file, I changed it to the following:
```
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^(.*)$ http://www.superlogical.net/$1 [R=301,L]
```
Which resolved it for me. |
9,848 | <p>I am working on an ecommerce site, I told our SEO consultant that I plan to make the URL scheme: <code>/products/<id>/<name></code>. This is similar to Stackoverflow's URLs which are <code>/questions/<id>/<title></code>.</p>
<p>He asked me if I could change the URL scheme to <code>/p/<id&... | [
{
"answer_id": 9853,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>I say keep \"products\" in your URL. It's good for search engines and for users. The search engines can use i... | 2011/03/01 | [
"https://webmasters.stackexchange.com/questions/9848",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/971/"
] | I am working on an ecommerce site, I told our SEO consultant that I plan to make the URL scheme: `/products/<id>/<name>`. This is similar to Stackoverflow's URLs which are `/questions/<id>/<title>`.
He asked me if I could change the URL scheme to `/p/<id>/<name>` instead. I know why he wants this change, the word "pro... | In my experience, the optimal URL would be /[product\_category]/name.html
```
/camping/coleman-4-man-tent.html
```
This is better for the user and if Google uses keyword density in the URL as a signal (nobody knows if they do, but if I ran a search engine, I probably would), then you'd increase the keyword density b... |
9,974 | <p>I'm using a service (CMS/Host) called SquareSpace to host my site, and today I'm registering the domain for it. Basically, how do I make it so when somebody types www.tedxoxford.com it points at <a href="http://www.tedxoxford.com/landing" rel="nofollow">http://www.tedxoxford.com/landing</a> (currently <a href="http:... | [
{
"answer_id": 9976,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>This will force a redirect from <code>/</code> to <code>/landing</code> every time. Place it in a file called... | 2011/03/03 | [
"https://webmasters.stackexchange.com/questions/9974",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I'm using a service (CMS/Host) called SquareSpace to host my site, and today I'm registering the domain for it. Basically, how do I make it so when somebody types www.tedxoxford.com it points at <http://www.tedxoxford.com/landing> (currently <http://tedxoxford.squarespace.com/landing>) instead of the default index? Is ... | This will force a redirect from `/` to `/landing` every time. Place it in a file called .htaccess and place it in your root web directory:
```
redirect 301 / /redirect
redirect 301 /index.php /redirect
```
If you want them to be able to view the home page once and then redirect every time after that you'll need to u... |
9,982 | <p>I have a site (humanisms.co.uk) which incorporates a voting system, ie. user clicks "Up" and it sends a parameter to a PHP script via AJAX, the PHP inserts vote into MYSQL db and the new "Up" vote is sent back to the page to update the vote count. This is working great but i've noticed that the number of votes for o... | [
{
"answer_id": 9983,
"author": "Tom Gullen",
"author_id": 5727,
"author_profile": "https://webmasters.stackexchange.com/users/5727",
"pm_score": 2,
"selected": false,
"text": "<ul>\n<li>Log IPs, 1 vote per IP only</li>\n<li>CAPTCHCA</li>\n<li>Use built in server side script functionality... | 2011/03/03 | [
"https://webmasters.stackexchange.com/questions/9982",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3512/"
] | I have a site (humanisms.co.uk) which incorporates a voting system, ie. user clicks "Up" and it sends a parameter to a PHP script via AJAX, the PHP inserts vote into MYSQL db and the new "Up" vote is sent back to the page to update the vote count. This is working great but i've noticed that the number of votes for one ... | From [this question](https://webmasters.stackexchange.com/questions/3544/make-your-site-anti-bot/3545#3545):
>
> You could do several things including:
>
>
> Use a CAPATCHA like [reCAPTCHA](http://recaptcha.com/)
>
>
> Use a field that requires the user
> to answer a question like what is 5 +
> 3. Any human ca... |
10,010 | <p>My website keeps getting hijacked by searchportal.information it looks like they are using an iframe script to do it. <a href="http://searchportal.information.com/?a_id=47368&domainname=www.%28mysite%29.com" rel="nofollow">here is the script</a> (link doesn't work anymore):</p>
<p>how do I prevent them from inc... | [
{
"answer_id": 10017,
"author": "Peeter",
"author_id": 5831,
"author_profile": "https://webmasters.stackexchange.com/users/5831",
"pm_score": 3,
"selected": false,
"text": "<p>Use a frame breaker script: </p>\n\n<pre><code><script type=\"javascript\">\n if(location.href!=top... | 2010/01/01 | [
"https://webmasters.stackexchange.com/questions/10010",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | My website keeps getting hijacked by searchportal.information it looks like they are using an iframe script to do it. [here is the script](http://searchportal.information.com/?a_id=47368&domainname=www.%28mysite%29.com) (link doesn't work anymore):
how do I prevent them from including my site/content on an iframe on t... | Use a frame breaker script:
```
<script type="javascript">
if(location.href!=top.location.href){
top.location.href=location.href
}
</script>
``` |
10,012 | <p>Is there a way in google analytics to add multiple sites to and show all the stats together? So like the graphs and total visits/unique hits all combined for all the sites added to the google analytics account?</p>
<p>For example if I have:</p>
<p>site1.com
site2.com
site3.com</p>
<p>Under one google analytics ac... | [
{
"answer_id": 10017,
"author": "Peeter",
"author_id": 5831,
"author_profile": "https://webmasters.stackexchange.com/users/5831",
"pm_score": 3,
"selected": false,
"text": "<p>Use a frame breaker script: </p>\n\n<pre><code><script type=\"javascript\">\n if(location.href!=top... | 2011/03/03 | [
"https://webmasters.stackexchange.com/questions/10012",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Is there a way in google analytics to add multiple sites to and show all the stats together? So like the graphs and total visits/unique hits all combined for all the sites added to the google analytics account?
For example if I have:
site1.com
site2.com
site3.com
Under one google analytics account, is there a way in... | Use a frame breaker script:
```
<script type="javascript">
if(location.href!=top.location.href){
top.location.href=location.href
}
</script>
``` |
10,025 | <p>If I have widget company called "Widget Designer" and I have a direct competitor who has "Widgitator Version 5", am I allowed to target a campaign using the literal keywords "Widgitator"?</p>
<p>Is this OK? Will they ever find out? Is it bad business?</p>
<p><strong>Update</strong></p>
<p>I can't really say wha... | [
{
"answer_id": 10017,
"author": "Peeter",
"author_id": 5831,
"author_profile": "https://webmasters.stackexchange.com/users/5831",
"pm_score": 3,
"selected": false,
"text": "<p>Use a frame breaker script: </p>\n\n<pre><code><script type=\"javascript\">\n if(location.href!=top... | 2011/03/04 | [
"https://webmasters.stackexchange.com/questions/10025",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | If I have widget company called "Widget Designer" and I have a direct competitor who has "Widgitator Version 5", am I allowed to target a campaign using the literal keywords "Widgitator"?
Is this OK? Will they ever find out? Is it bad business?
**Update**
I can't really say what the words are, but this is a good exa... | Use a frame breaker script:
```
<script type="javascript">
if(location.href!=top.location.href){
top.location.href=location.href
}
</script>
``` |
10,043 | <p>I've got a huge CSS file and an HTML file. I'd like to find out which rules are not used while displaying a HTML file. Are there tools for this?</p>
<p>The CSS file has evolved over few years and from what I know no one has ever removed anything from it--people just wrote new overriding rules again and again.</p>
... | [
{
"answer_id": 10044,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": false,
"text": "<p><a href=\"http://www.sitepoint.com/dustmeselectors/\" rel=\"nofollow\">Dust Me Selecters</a> Firefox extensi... | 2011/03/04 | [
"https://webmasters.stackexchange.com/questions/10043",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5837/"
] | I've got a huge CSS file and an HTML file. I'd like to find out which rules are not used while displaying a HTML file. Are there tools for this?
The CSS file has evolved over few years and from what I know no one has ever removed anything from it--people just wrote new overriding rules again and again.
EDIT: It was s... | [Dust Me Selecters](http://www.sitepoint.com/dustmeselectors/) Firefox extension
In Chrome's Developer Tools you can use the Web Page Performance tool to find unused CSS rules. |
10,049 | <p>I'm trying to guess how many loyal users I have by counting the number of people that have visited the site 10 times. How can I answer this question with Google Analytics?</p>
<p>"Visitor Loyalty" is a tempting answer, but the label for loyalty is "Visits that were the visitor's nth visit," and I want something mo... | [
{
"answer_id": 10079,
"author": "CrayonViolent",
"author_id": 5854,
"author_profile": "https://webmasters.stackexchange.com/users/5854",
"pm_score": 1,
"selected": false,
"text": "<p>You can set a cookie that acts as a counter. Increment it only on first page of the visit. Then send the ... | 2011/03/04 | [
"https://webmasters.stackexchange.com/questions/10049",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5843/"
] | I'm trying to guess how many loyal users I have by counting the number of people that have visited the site 10 times. How can I answer this question with Google Analytics?
"Visitor Loyalty" is a tempting answer, but the label for loyalty is "Visits that were the visitor's nth visit," and I want something more like "Vi... | You can build a custom report using the "Count of Visits" dimension and "Unique Visitor" metric to get the answer you want.
However, remember that each time someone visits they add an additional count to the "Count of Visits" dimension without being removed from the previous ones. So each group is a subset of the one... |
10,051 | <p>We were asked by a client to change a website so that any pages/Urls we were hosting on an older site would now redirect to a newer site hosted somewhere else and a different domain name to boot.</p>
<p>We did this by changing each page in the IIS site management, to redirect to a url on their new domain instead of... | [
{
"answer_id": 10052,
"author": "Goboozo",
"author_id": 3659,
"author_profile": "https://webmasters.stackexchange.com/users/3659",
"pm_score": 0,
"selected": false,
"text": "<p>I am not 100% sure about your question, but I am guessing your answer will be here: <a href=\"http://www.google... | 2011/03/04 | [
"https://webmasters.stackexchange.com/questions/10051",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5594/"
] | We were asked by a client to change a website so that any pages/Urls we were hosting on an older site would now redirect to a newer site hosted somewhere else and a different domain name to boot.
We did this by changing each page in the IIS site management, to redirect to a url on their new domain instead of rendering... | It takes a while for Google and the other search engines to notice pages have moved and adjust their indexes accordingly. It definitely does not happen quickly much less overnight. So even though you have set up redirects those old pages will still show in the SERPs for a little while. Fortunately when a user clicks on... |
10,064 | <p>I have to migrate an ASP.Net web site from IIS6 to IIS7. I tried to copy the all files for a web site from IIS6 (c:\inetpub\wwwroot\MySite) to another box with Windows Server 2008 R2 where IIS7 is the default web server. </p>
<p>However, the simply copy seems not working. Should I rebuild the web site for IIS7 or ... | [
{
"answer_id": 10058,
"author": "Digital Essence",
"author_id": 5739,
"author_profile": "https://webmasters.stackexchange.com/users/5739",
"pm_score": 1,
"selected": false,
"text": "<p>you have two options:</p>\n\n<p>1) Keep the domain with GoDaddy (the registrar) and ask them to change ... | 2011/03/03 | [
"https://webmasters.stackexchange.com/questions/10064",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have to migrate an ASP.Net web site from IIS6 to IIS7. I tried to copy the all files for a web site from IIS6 (c:\inetpub\wwwroot\MySite) to another box with Windows Server 2008 R2 where IIS7 is the default web server.
However, the simply copy seems not working. Should I rebuild the web site for IIS7 or should I ma... | Read the manuals. A simple search at Bluehost will give you all the information about transferring the domain name: <https://www.bluehost.com/cgi/help/45>
Pick your hosting package, install WP (its just a few clicks at Bluehost), backup your old WP database (http://codex.wordpress.org/WordPress\_Backups) and migrate.
... |
10,070 | <p>I want crawlers to have access to <code>http://www.example.com</code> but not <code>http://www.example.com/</code></p>
<p>My robots.txt is as follows:</p>
<pre><code>User-agent: *
Allow: /$
Disallow: /
</code></pre>
<p>My site is in Google search results, but I am not coming up in Bing, Yahoo, etc. I have had th... | [
{
"answer_id": 10077,
"author": "Ewan Heming",
"author_id": 5718,
"author_profile": "https://webmasters.stackexchange.com/users/5718",
"pm_score": 0,
"selected": false,
"text": "<p>I tested this using Google Webmaster Tools and can see that it allows GoogleBot access to <code>http://www.... | 2011/03/04 | [
"https://webmasters.stackexchange.com/questions/10070",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I want crawlers to have access to `http://www.example.com` but not `http://www.example.com/`
My robots.txt is as follows:
```
User-agent: *
Allow: /$
Disallow: /
```
My site is in Google search results, but I am not coming up in Bing, Yahoo, etc. I have had the same robots.txt since last year, and I initially reque... | This does not seem possible, although it may depend on your particular webserver, but I strongly doubt this.
As far as I know, **www.example.com and www.example.com/ are the same thing**. PHP certainly treats then that way too (if you use parse\_url() on both you get exactly the same results).
The first rule of your ... |
10,080 | <p>For two months now, googlebot is trying to get a file which does not exist anymore. This is just one example out of many: I had renamed the file to a better name and removed the old file. Now, why does Google insist on getting a file which it already has seen does not exist for months? doesn't it just give up and ge... | [
{
"answer_id": 10081,
"author": "CrayonViolent",
"author_id": 5854,
"author_profile": "https://webmasters.stackexchange.com/users/5854",
"pm_score": 2,
"selected": false,
"text": "<p>put this in .htaccess file (change the path/to/files to your file locations)</p>\n\n<pre><code>Redirect 3... | 2011/03/05 | [
"https://webmasters.stackexchange.com/questions/10080",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | For two months now, googlebot is trying to get a file which does not exist anymore. This is just one example out of many: I had renamed the file to a better name and removed the old file. Now, why does Google insist on getting a file which it already has seen does not exist for months? doesn't it just give up and get o... | The reason that Googlebot is still trying to hit the page is that there is probably a link to it somewhere. When Google finds a link, it follows it without checking whether it has previous seen a 404 for that page or not. So if this page keeps getting hit, it's probably because of a link.
I agree with Crayon Violet a... |
10,090 | <p>I'm new at SEO and keyword research. I am using Market Samurai as my research tool, and I was wondering if I could ask for your help to identify the best key word to target for my niche. I do plan on incorporating all of them into my site, but I wanted to start with one. If you could give me your input on these keyw... | [
{
"answer_id": 10109,
"author": "lovefaithswing",
"author_id": 5849,
"author_profile": "https://webmasters.stackexchange.com/users/5849",
"pm_score": 0,
"selected": false,
"text": "<p>I would probably attempt to go after the first one. It has the highest SEO Traffic. I wouldn't worry abo... | 2011/03/05 | [
"https://webmasters.stackexchange.com/questions/10090",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I'm new at SEO and keyword research. I am using Market Samurai as my research tool, and I was wondering if I could ask for your help to identify the best key word to target for my niche. I do plan on incorporating all of them into my site, but I wanted to start with one. If you could give me your input on these keyword... | SEOT is the amount of search engine traffic that a site in the number 1 position in Google could expect for a chosen period. Anything above 150 in SEOT is fine for me and higher the better. (Here I am assuming in Market Samurai your match type is "Exact" and Period is "Daily")
SEOV of 2300+ is a very good value to targ... |
10,096 | <p>Is there a way to rewrite</p>
<pre><code>http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90
</code></pre>
<p>to something smaller?</p>
<p>or is there a way to change this into</p>
<pre><code>http://localhost/embed/script.php?id=7yKDhm4_-90
</code></pre>
<p>What can i do?</p>
<p><... | [
{
"answer_id": 10098,
"author": "Jacob Hume",
"author_id": 4142,
"author_profile": "https://webmasters.stackexchange.com/users/4142",
"pm_score": 0,
"selected": false,
"text": "<p>it should be possible with either method; I'll post a possible PHP solution.</p>\n\n<pre><code>include(\"pla... | 2011/03/05 | [
"https://webmasters.stackexchange.com/questions/10096",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4180/"
] | Is there a way to rewrite
```
http://localhost/embed/player.swf?file=http://www.youtube.com/watch?v=7yKDhm4_-90
```
to something smaller?
or is there a way to change this into
```
http://localhost/embed/script.php?id=7yKDhm4_-90
```
What can i do?
**UPDATE**
i've tried with something like this:
```
header('Co... | Try something like the following in the .htaccess file (create it if it doesn't already exist) in your website's root directory:
```
RewriteRule ^embed/player.swf?file=([0-9a-zA-Z0-9]+) embed/player.swf?file=http://www.youtube.com/watch?v=$1 [L]
``` |
10,128 | <p>Where can I check all the installed Magento extensions in the admin panel?</p>
| [
{
"answer_id": 10129,
"author": "Alan Storm",
"author_id": 4389,
"author_profile": "https://webmasters.stackexchange.com/users/4389",
"pm_score": 6,
"selected": true,
"text": "<p>There's a lot of confusion around terminology here. Magento, the programming system, has code Modules. Thes... | 2011/03/05 | [
"https://webmasters.stackexchange.com/questions/10128",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5882/"
] | Where can I check all the installed Magento extensions in the admin panel? | There's a lot of confusion around terminology here. Magento, the programming system, has code Modules. These modules are often (incorrectly, although I've done it myself) called extensions. Modules allow you to add code to Magento's configuration based MVC system.
Magento also has a system called Magento Connect. Mag... |
10,156 | <pre><code><a title="">.../a>
</code></pre>
<p>Hi folks. It seems that my <em>title tag</em> which holds extremely valuable and describes contents on my simple design page is currently compeltely denied by search engines and not indexed at all!!</p>
<p>Those descriptions should however be indexed as the desc... | [
{
"answer_id": 10153,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>I don't think it's open source but <a href=\"http://www.webmin.com\" rel=\"nofollow\">Webmin</a> is freeware... | 2011/03/06 | [
"https://webmasters.stackexchange.com/questions/10156",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | ```
<a title="">.../a>
```
Hi folks. It seems that my *title tag* which holds extremely valuable and describes contents on my simple design page is currently compeltely denied by search engines and not indexed at all!!
Those descriptions should however be indexed as the describe valuable portions to an otherwise emp... | [Kloxo/HyperVM](http://lxcenter.org/) might be worth a look - open source/free and released under AGPL-3.0 license.
I can't say whether or not development is keeping pace with bugs at this point - you should know, if you use this software, that there were [some issues with security](http://www.webtalkforums.com/showth... |
10,229 | <p>I've got the canonical:</p>
<pre><code><link href="http://www.Site.com/Blog/how-to-know-when-this" rel="canonical" />
</code></pre>
<p>Is it ok if this is on the page it is pointing to?</p>
<p>Also I'm putting it on all these pages:</p>
<pre><code>http://www.Site.com/Blog/how-to-know-when-this
http://www.S... | [
{
"answer_id": 10230,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>That's perfectly fine to do. It's just redundant and doesn't do any harm.</p>\n"
},
{
"answer_id": 20... | 2011/03/07 | [
"https://webmasters.stackexchange.com/questions/10229",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | I've got the canonical:
```
<link href="http://www.Site.com/Blog/how-to-know-when-this" rel="canonical" />
```
Is it ok if this is on the page it is pointing to?
Also I'm putting it on all these pages:
```
http://www.Site.com/Blog/how-to-know-when-this
http://www.Site.com/Blog/how-to-know-when-this/
http://www.Sit... | That's perfectly fine to do. It's just redundant and doesn't do any harm. |
10,241 | <p>I am trying to force all traffic on my web site to use HTTPS, using the URL Rewrite 2.0 module added to IIS 7.5. I got that working and now have a need to exclude a couple of pages from using SSL. So I need a rule to rewrite all URL except those referencing this folder to HTTPS. I've been banging my head against the... | [
{
"answer_id": 10385,
"author": "BrettRobi",
"author_id": 5912,
"author_profile": "https://webmasters.stackexchange.com/users/5912",
"pm_score": 4,
"selected": true,
"text": "<p>If anyone is curious I resolved this problem with the following syntax:</p>\n\n<pre><code><rule name=\"NoSS... | 2011/03/07 | [
"https://webmasters.stackexchange.com/questions/10241",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5912/"
] | I am trying to force all traffic on my web site to use HTTPS, using the URL Rewrite 2.0 module added to IIS 7.5. I got that working and now have a need to exclude a couple of pages from using SSL. So I need a rule to rewrite all URL except those referencing this folder to HTTPS. I've been banging my head against the wa... | If anyone is curious I resolved this problem with the following syntax:
```
<rule name="NoSSL - folder" enabled="true" stopProcessing="true">
<match url="^nossl/.*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
</conditions>
<action type="None" />
</rule>
<rule name="Redirect to HTTPS... |
10,293 | <p>My aim is to simply be informative about where a link is pointing to search engines. I have some content that is listed by name and then I have a "Permalink" button. Would it be blackhat SEO to add some hidden text within the anchor that describes where the permalink is pointing?</p>
<p>My content is like so:</p>
... | [
{
"answer_id": 10295,
"author": "S.gfx",
"author_id": 3461,
"author_profile": "https://webmasters.stackexchange.com/users/3461",
"pm_score": 4,
"selected": true,
"text": "<p>I'd prefer to do a <code><a href=\"\" title=\"whichever the text\"></a></code></p>\n\n<p>Anyway, that ... | 2011/03/08 | [
"https://webmasters.stackexchange.com/questions/10293",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3063/"
] | My aim is to simply be informative about where a link is pointing to search engines. I have some content that is listed by name and then I have a "Permalink" button. Would it be blackhat SEO to add some hidden text within the anchor that describes where the permalink is pointing?
My content is like so:
```
News Item ... | I'd prefer to do a `<a href="" title="whichever the text"></a>`
Anyway, that seems to be a premade Dokuwiki tag? Which actually adds a javascript that initially sets a display:none to the block. If is the case I think it would not harm SEO. |
10,311 | <p>One of my sites lives on GoDaddy's bottom-of-the-line cheap hosting, I have the correct code in my <code>.htaccess</code> file, but it's not compressing because mod_deflate is not loaded.</p>
<p>How do I enable that? </p>
<p>The best I've found is an article on GoDaddy which suggests I use PHP to zip everything (w... | [
{
"answer_id": 10313,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>Since you have a shared hosting account there is no way to add mod_deflate since it requires making changes ... | 2011/03/08 | [
"https://webmasters.stackexchange.com/questions/10311",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4040/"
] | One of my sites lives on GoDaddy's bottom-of-the-line cheap hosting, I have the correct code in my `.htaccess` file, but it's not compressing because mod\_deflate is not loaded.
How do I enable that?
The best I've found is an article on GoDaddy which suggests I use PHP to zip everything (which is going to be more wo... | I know this is an old question, but it shows up early on google so I thought I would answer it. You can now enable gzip on GoDaddy by adding the following to the .htaccess in your root directory.
```
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/jav... |
10,373 | <p>So normally I wouldn't use this feature ("Save as Web Page") but I have large documents from clients they just want put on their site as HTML, and formatting it all by hand seems like a waste of time.</p>
<p>I have tried "save as webpage" in Word 2007, but it produces all sorts of bad stuff. To wit:</p>
<pre><cod... | [
{
"answer_id": 10374,
"author": "Digital Essence",
"author_id": 5739,
"author_profile": "https://webmasters.stackexchange.com/users/5739",
"pm_score": 1,
"selected": false,
"text": "<p>There are some good answers in this <a href=\"https://stackoverflow.com/questions/67964/what-is-the-bes... | 2011/03/09 | [
"https://webmasters.stackexchange.com/questions/10373",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5990/"
] | So normally I wouldn't use this feature ("Save as Web Page") but I have large documents from clients they just want put on their site as HTML, and formatting it all by hand seems like a waste of time.
I have tried "save as webpage" in Word 2007, but it produces all sorts of bad stuff. To wit:
```
<b style='mso-bidi-f... | You can always use another application as an intermediary, like [LibreOffice](http://www.libreoffice.org/), and use it to save it as an HTML document.
LibreOffice (formerly [OpenOffice](http://openoffice.org), which is still available if you prefer it) generates much cleaner code comparatively. |
10,427 | <p>Lots of SSL seem to come with a warranty:</p>
<pre><code>Extended Validation, Green Address Bar
40-bit minimum to 256-bit encryption
USD $100,000 warranty
VeriSign Trust™ Seal and services
</code></pre>
<p>Has anyone in history ever managed to claim on the warranty? Are they just a gimmick? Should it affect my ... | [
{
"answer_id": 10520,
"author": "kel",
"author_id": 5157,
"author_profile": "https://webmasters.stackexchange.com/users/5157",
"pm_score": 2,
"selected": true,
"text": "<p>I'm pretty sure the SSL warranty is for the end user and that if the SSL issuer issued the cert to a fraudulent site... | 2011/03/10 | [
"https://webmasters.stackexchange.com/questions/10427",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | Lots of SSL seem to come with a warranty:
```
Extended Validation, Green Address Bar
40-bit minimum to 256-bit encryption
USD $100,000 warranty
VeriSign Trust™ Seal and services
```
Has anyone in history ever managed to claim on the warranty? Are they just a gimmick? Should it affect my purchasing choice? | I'm pretty sure the SSL warranty is for the end user and that if the SSL issuer issued the cert to a fraudulent site that stole the end users money or identity they would pay out. |
10,493 | <p>Right now, we're working to migrate our company sites for international markets to this scheme</p>
<pre><code>www.company.com/[2 letter country codes]
www.company.com/uk #for United Kingdom
www.company.com/au #for Australia
www.company.com/jp #for Japan
www.comapny.com/ #for united states, and non ide... | [
{
"answer_id": 10487,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 2,
"selected": false,
"text": "<p>After further research it appears the Benchmarking feature is being replaced/upgraded. However, it's curr... | 2011/03/10 | [
"https://webmasters.stackexchange.com/questions/10493",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6021/"
] | Right now, we're working to migrate our company sites for international markets to this scheme
```
www.company.com/[2 letter country codes]
www.company.com/uk #for United Kingdom
www.company.com/au #for Australia
www.company.com/jp #for Japan
www.comapny.com/ #for united states, and non identifiable.
``... | This feature was [re-introduced in September 2014](https://econsultancy.com/blog/65422-google-analytics-benchmarking-is-back-here-s-what-you-need-to-know#i.29593xmflf5yv7) after it was discontinued back in 2011.
[Google's official blog post](http://analytics.blogspot.co.uk/2014/09/new-benchmarking-reports-help-twiddy.... |
10,502 | <p>If I have</p>
<pre><code>http://www.site.com
</code></pre>
<p>And</p>
<pre><code><a href="http://www.site.com">www.site.com</a>
</code></pre>
<p>The second one is bad, but will the first one count as an out link?</p>
| [
{
"answer_id": 10505,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>If there is no HTML there is no link. So the second one is a link and has SEO value (it is counted as a \"vot... | 2011/03/10 | [
"https://webmasters.stackexchange.com/questions/10502",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | If I have
```
http://www.site.com
```
And
```
<a href="http://www.site.com">www.site.com</a>
```
The second one is bad, but will the first one count as an out link? | If there is no HTML there is no link. So the second one is a link and has SEO value (it is counted as a "vote" and passes PageRank). The first only has SEO value as content, not as a link (just like any other text on your website). |
10,503 | <p>Basically I'm trying to find a blog for a website, and security is the highest priority in our case. We don't need any features that I would imagine are special. Wordpress was our first idea, but its reputation precedes it, and though it may have cleaned up its act lately, I'm not seeing much solid evidence.</p>
<p... | [
{
"answer_id": 10506,
"author": "Keith",
"author_id": 1248,
"author_profile": "https://webmasters.stackexchange.com/users/1248",
"pm_score": 1,
"selected": false,
"text": "<p>Having worked with WordPress a lot lately, what i've been doing to create security is avoiding defaults. When cr... | 2011/03/10 | [
"https://webmasters.stackexchange.com/questions/10503",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6025/"
] | Basically I'm trying to find a blog for a website, and security is the highest priority in our case. We don't need any features that I would imagine are special. Wordpress was our first idea, but its reputation precedes it, and though it may have cleaned up its act lately, I'm not seeing much solid evidence.
I get the... | Is Movable Type among the most secure blogging platforms? [I doubt it](http://www.movabletips.com/2011/05/pbsorg-hacked-or-why-it-is-important-to-keep-movable-type-updated.html).
NIST's National Vulnerabilities Database shows the following number of vulnerabilities for WP versus MT between 2009 and 2012:
```
year ... |
10,508 | <p>I would like to know in what encryption should I encode my data and why. First of all, I use GET method because it is search engine inside website. Second, I use RTL language (hebrew). And third which basically is why I ask this question - Firefox and Safari (as I understand it) encode and decode urls automatically.... | [
{
"answer_id": 10519,
"author": "Jacob",
"author_id": 3269,
"author_profile": "https://webmasters.stackexchange.com/users/3269",
"pm_score": 1,
"selected": false,
"text": "<p>It's unclear exactly what you're asking about; it seems you're confusing concepts of encryption, content encoding... | 2011/03/10 | [
"https://webmasters.stackexchange.com/questions/10508",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5112/"
] | I would like to know in what encryption should I encode my data and why. First of all, I use GET method because it is search engine inside website. Second, I use RTL language (hebrew). And third which basically is why I ask this question - Firefox and Safari (as I understand it) encode and decode urls automatically. So... | It's unclear exactly what you're asking about; it seems you're confusing concepts of encryption, content encoding, and URL encoding.
I'll assume this is not related to encryption. Regarding content encoding, any modern browser (even IE 6) handles Unicode. As long as your PHP files are encoded as UTF-8 or UTF-16, you s... |
10,567 | <p>Is there a way to determine the length of the content contained inside an h2 element, which changes. So an hr tag can be set to the same length plus some additional width?</p>
<p>so it would look sort of like</p>
<p>I tried some psuedocode to explain what I mean. I would move this to a css rule of course</p>
<pre... | [
{
"answer_id": 10568,
"author": "Kevin Mark",
"author_id": 6043,
"author_profile": "https://webmasters.stackexchange.com/users/6043",
"pm_score": 1,
"selected": false,
"text": "<p>I don't believe it's possible purely with HTML & CSS. You could, however, use some JavaScript to calcula... | 2011/03/12 | [
"https://webmasters.stackexchange.com/questions/10567",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6045/"
] | Is there a way to determine the length of the content contained inside an h2 element, which changes. So an hr tag can be set to the same length plus some additional width?
so it would look sort of like
I tried some psuedocode to explain what I mean. I would move this to a css rule of course
```
<h2>SOME RANDOM TITLE... | If it's OK to use `float` or `absolute` positioning then you could try the following:
```
<div style="float: left; width:auto;">
<h2>SOME RANDOM TITLE LENGTH</h2>
<hr style="width: 110%; margin-left: -5%;"/>
</div>
```
Unfortunatley, I don't think `width:auto` works with `static` or `relative` positioning. |
10,587 | <p>I was asked a while ago to setup a server such that only authenticated users can access files. It was like a test server for clients to view WIP sites. More recently, I want to do something similar for some of my files. Tho they are not very confidential, I wish that I am the only one viewing it. </p>
<p>I thought ... | [
{
"answer_id": 11683,
"author": "esafwan",
"author_id": 2504,
"author_profile": "https://webmasters.stackexchange.com/users/2504",
"pm_score": 3,
"selected": true,
"text": "<p>It's a matter of common sense. Its basic human trait that man build their attitude to something/someone in the f... | 2011/03/13 | [
"https://webmasters.stackexchange.com/questions/10587",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1905/"
] | I was asked a while ago to setup a server such that only authenticated users can access files. It was like a test server for clients to view WIP sites. More recently, I want to do something similar for some of my files. Tho they are not very confidential, I wish that I am the only one viewing it.
I thought of doing t... | It's a matter of common sense. Its basic human trait that man build their attitude to something/someone in the first interaction they have. There are several factors that lead to this so-called first impression. It's not always look. Its sometime a complex combination of the user experience in interacting with the site... |
10,603 | <p>I have a link that's currently formatted like this:</p>
<pre><code>http://example.com/news/view/1.html
</code></pre>
<p>I want to it redirect it to:</p>
<pre><code>http://example.com/خبر/عنوان-الخبر
</code></pre>
<p>where <code>خبر</code> is equal to <code>news</code> and
<code>عنوان-الخبر</code> is the title... | [
{
"answer_id": 11904,
"author": "Sodved",
"author_id": 6679,
"author_profile": "https://webmasters.stackexchange.com/users/6679",
"pm_score": 2,
"selected": false,
"text": "<p>If it's a one off you just make sure your terminal is in UTF-8 mode, then paste the Arabic into a <code>Redirect... | 2011/03/13 | [
"https://webmasters.stackexchange.com/questions/10603",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6009/"
] | I have a link that's currently formatted like this:
```
http://example.com/news/view/1.html
```
I want to it redirect it to:
```
http://example.com/خبر/عنوان-الخبر
```
where `خبر` is equal to `news` and
`عنوان-الخبر` is the title of the news page. I want ro do it using .htaccess, and provide a permanent 301 red... | If it's a one off you just make sure your terminal is in UTF-8 mode, then paste the Arabic into a `RedirectMatch` as normal.
```
RedirectMatch permanent ^/news/view/1\.html /خبر/عنوان-الخبر
```
If you wanted it dynamic (i.e. some database which lets you know the title of `1.html`) then yes, that would need some PHP.... |
10,664 | <p>hey people
i am starting to learn making websites, now i want to know what is the difference b/w HTML and XHTML; kindly keep it simple and jargon free pls. :)</p>
<p>also, what mark up language i shall use between these two to start with?</p>
| [
{
"answer_id": 10665,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>Instead of reinventing the wheel, here's <a href=\"http://www.sitepoint.com/forums/html-xhtml-52/xhtml-vs-htm... | 2011/03/14 | [
"https://webmasters.stackexchange.com/questions/10664",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5346/"
] | hey people
i am starting to learn making websites, now i want to know what is the difference b/w HTML and XHTML; kindly keep it simple and jargon free pls. :)
also, what mark up language i shall use between these two to start with? | Instead of reinventing the wheel, here's [a great post explaining the difference between the two](http://www.sitepoint.com/forums/html-xhtml-52/xhtml-vs-html-faq-393445.html). But to quote w3schools and give you a basic summary:
```
The Most Important Differences:
XHTML elements must be properly nested
XHTML elements... |
10,667 | <p>I am getting a lot of errors in Webmaster Tools and basically there's a lot of links ending like this: <code>example.com/links.php</code></p>
<p>How can I redirect these links, to shave off this part at the end? For instance, there is a link in Google:</p>
<pre><code>http://www.example.com/article-marketing/www.ex... | [
{
"answer_id": 10671,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>The odds are you have lots of HTML errors in your website for those kind of errors to be showing up. You nee... | 2011/03/14 | [
"https://webmasters.stackexchange.com/questions/10667",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I am getting a lot of errors in Webmaster Tools and basically there's a lot of links ending like this: `example.com/links.php`
How can I redirect these links, to shave off this part at the end? For instance, there is a link in Google:
```
http://www.example.com/article-marketing/www.example.com/links.php
```
This s... | The odds are you have lots of HTML errors in your website for those kind of errors to be showing up. You need to fix them, not put a band aid on them. Crawl your site with a tool like [Xenu's Link Sleuth](http://home.snafu.de/tilman/xenulink.html) and look for where those bad links are and fix them. That will solve you... |
10,692 | <p>I have the following two domains:</p>
<blockquote>
<p><code>example.com</code></p>
<p><code>test.example.com</code></p>
</blockquote>
<p>Both point to same folder which is <code>public_html</code>. What I want is a different <code>robots.txt</code> file for each domain. So when someone browse <code>example.com/robot... | [
{
"answer_id": 10693,
"author": "Piotr Müller",
"author_id": 17867,
"author_profile": "https://webmasters.stackexchange.com/users/17867",
"pm_score": 4,
"selected": true,
"text": "<p>Remeber that no one from Internet can see your directory tree, so <code>stackoverflow.com/</code> and <co... | 2011/03/15 | [
"https://webmasters.stackexchange.com/questions/10692",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4089/"
] | I have the following two domains:
>
> `example.com`
>
>
> `test.example.com`
>
>
>
Both point to same folder which is `public_html`. What I want is a different `robots.txt` file for each domain. So when someone browse `example.com/robots.txt` then a different file is shown. And when someone go to `test.example.... | Remeber that no one from Internet can see your directory tree, so `stackoverflow.com/` and `test.stackoverflow.com` are completely diffrent sites for us and search robots.
You can do that by checking the HTTP host in query:
```
RewriteCond %{HTTP_HOST} ^test
RewriteRule robots.txt someotherrobots.txt
``` |
10,700 | <p>Our site shut down and we need to give a 410 redirect to the users. We have a small one-page replacement site set up in the same domain and a custom 410 error page. We'd like to have it so that all page views are responded with 410 and redirected to the error page, except for the front page, which should point to th... | [
{
"answer_id": 10701,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Create a page called <code>maintenance.html</code> (or whatever file extension necessary for your server sid... | 2011/03/15 | [
"https://webmasters.stackexchange.com/questions/10700",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6094/"
] | Our site shut down and we need to give a 410 redirect to the users. We have a small one-page replacement site set up in the same domain and a custom 410 error page. We'd like to have it so that all page views are responded with 410 and redirected to the error page, except for the front page, which should point to the n... | If I follow what you're trying to do, I think this would work.
```
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* - [L,G]
```
If the resource doesn't exist (is not either a file or a directory) send the 410. |
10,704 | <p>I currently work at a pretty big website that has visitors from around the globe. My job is to help out on the SEO, and one thing we've been discussing lately is the use of international TLD's. The ones we use range between:</p>
<ul>
<li>(partly) translated websites like .es and .de that serve most of the content i... | [
{
"answer_id": 10701,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Create a page called <code>maintenance.html</code> (or whatever file extension necessary for your server sid... | 2011/03/15 | [
"https://webmasters.stackexchange.com/questions/10704",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3467/"
] | I currently work at a pretty big website that has visitors from around the globe. My job is to help out on the SEO, and one thing we've been discussing lately is the use of international TLD's. The ones we use range between:
* (partly) translated websites like .es and .de that serve most of the content in the country'... | If I follow what you're trying to do, I think this would work.
```
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* - [L,G]
```
If the resource doesn't exist (is not either a file or a directory) send the 410. |
10,707 | <p>Are there any filters that would make background image black and white?</p>
<p>I have an image set as the background image using CSS, but now I need to apply a filter so that an image is shown in black and white only. Ideally, I would also like to apply opacity to it.</p>
<p>The effect I really trying to achieve i... | [
{
"answer_id": 10708,
"author": "amelvin",
"author_id": 1583,
"author_profile": "https://webmasters.stackexchange.com/users/1583",
"pm_score": 0,
"selected": false,
"text": "<p>Have a look at <a href=\"http://www.pixastic.com/lib/\" rel=\"nofollow\">http://www.pixastic.com/lib/</a></p>\n... | 2011/03/15 | [
"https://webmasters.stackexchange.com/questions/10707",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6097/"
] | Are there any filters that would make background image black and white?
I have an image set as the background image using CSS, but now I need to apply a filter so that an image is shown in black and white only. Ideally, I would also like to apply opacity to it.
The effect I really trying to achieve is to have backgro... | This question is missing a more current answer.
The answer is yes, now this is possible and it is well supported amongst modern browsers (though ironically not IE10+ without JavaScript). You are looking at the [filter CSS property](http://css-tricks.com/almanac/properties/f/filter/) (which does a lot of other cool stu... |
10,780 | <p>We build a webapp that allows users to run the app under their own subdomain. So we run the app under search.domainX.com, search.domainY.com and so on. They each have their own Google Analytics to track individual stats. But we want to know what general traffic for all clients of our app. So we want to know stuf... | [
{
"answer_id": 10793,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 0,
"selected": false,
"text": "<p>I assume that you have access to the servers behind the search.*.com domains. In that case you could just c... | 2011/03/16 | [
"https://webmasters.stackexchange.com/questions/10780",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6134/"
] | We build a webapp that allows users to run the app under their own subdomain. So we run the app under search.domainX.com, search.domainY.com and so on. They each have their own Google Analytics to track individual stats. But we want to know what general traffic for all clients of our app. So we want to know stuff like ... | You can send tracking data to multiple Analytics accounts using the asynchronous tracking API to [send multiple commands](http://code.google.com/apis/analytics/docs/tracking/asyncUsageGuide.html#MultipleCommands). For example:
```
<script type="text/javascript">
var _gaq = _gaq || [];
//Send data to the client's... |
10,790 | <p>What is considered best practice (semantically) when using text with an image to link to an internal page or category?</p>
<h2>Option 1</h2>
<pre><code><nav>
<a href="/kittens">
<img src="kittens.png" />
<span>Kittens</span>
</a>
<a href="/puppies"... | [
{
"answer_id": 10792,
"author": "ajcw",
"author_id": 2739,
"author_profile": "https://webmasters.stackexchange.com/users/2739",
"pm_score": 2,
"selected": false,
"text": "<p>If you have text within the link and the image is merely supporting the link, semantically <strong>option two</str... | 2011/03/17 | [
"https://webmasters.stackexchange.com/questions/10790",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1689/"
] | What is considered best practice (semantically) when using text with an image to link to an internal page or category?
Option 1
--------
```
<nav>
<a href="/kittens">
<img src="kittens.png" />
<span>Kittens</span>
</a>
<a href="/puppies">
<img src="puppies.png" />
<span>Pup... | If you have text within the link and the image is merely supporting the link, semantically **option two** would be better.
If you did not have the text, option one - with an appropriate `alt` attribute on the images - would be semantically better.
\*edit\*
For improved accessibility (which is similar, but different ... |
10,802 | <p>A webpage about <strong>Tomato Soup</strong> has either of three following filenames:</p>
<blockquote>
<p><em><strong>Scenario 1</em></strong><br>
website.org/en/tomato-soup</p>
</blockquote>
<p>or </p>
<blockquote>
<p><em><strong>Scenario 2</em></strong><br>
website.org/en/tomato-soup-healthy-soups-recip... | [
{
"answer_id": 10804,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>1) Depends on the what the content is. That's how you determine what the title should be. , #3 is best assumi... | 2011/03/17 | [
"https://webmasters.stackexchange.com/questions/10802",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | A webpage about **Tomato Soup** has either of three following filenames:
>
> ***Scenario 1***
>
> website.org/en/tomato-soup
>
>
>
or
>
> ***Scenario 2***
>
> website.org/en/tomato-soup-healthy-soups-recipes
>
>
>
or
>
> ***Scenario 3***
>
> website.org/en/tomato-why-sandra-is-so-wild-about-h... | 1) Depends on the what the content is. That's how you determine what the title should be. , #3 is best assuming it is about Sandra's healthy tomato soup recipes, and not the recipes themselves. Those recipes should have titles like:
```
website.org/en/recipes/healthy-chicken-broth
website.org/en/recipes/tomato-soup
we... |
10,810 | <p>Yesterday I changed my DNS servers to point to a different server. This change has still not been displayed on my own computer, but it does from other computers around the world (checked using browsershots.org) I'm using OpenDNS for my DNS and there cache is pointing to the correct server.</p>
<p>What could be me... | [
{
"answer_id": 10804,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>1) Depends on the what the content is. That's how you determine what the title should be. , #3 is best assumi... | 2011/03/17 | [
"https://webmasters.stackexchange.com/questions/10810",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Yesterday I changed my DNS servers to point to a different server. This change has still not been displayed on my own computer, but it does from other computers around the world (checked using browsershots.org) I'm using OpenDNS for my DNS and there cache is pointing to the correct server.
What could be meaning my com... | 1) Depends on the what the content is. That's how you determine what the title should be. , #3 is best assuming it is about Sandra's healthy tomato soup recipes, and not the recipes themselves. Those recipes should have titles like:
```
website.org/en/recipes/healthy-chicken-broth
website.org/en/recipes/tomato-soup
we... |
10,915 | <p>From a SEO point of view, is it wise to use exactly the same page <code>title</code> value and <code>keyword</code>/<code>description</code> meta tag values not only as <em>meta information</em>, but also as <em>page content</em>?</p>
<p>An example illustrates what I mean. Thanks for any answer, best regards.</p>
... | [
{
"answer_id": 10916,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>Meta keywords tag is not used when ranking websites and has no SEO value at all. But you should still use th... | 2011/03/19 | [
"https://webmasters.stackexchange.com/questions/10915",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6186/"
] | From a SEO point of view, is it wise to use exactly the same page `title` value and `keyword`/`description` meta tag values not only as *meta information*, but also as *page content*?
An example illustrates what I mean. Thanks for any answer, best regards.
```
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
... | There are a couple of things to take into account:
1. There is no issue with using the
same phrase/sentence in your title
and H1 tags. It just doubles up the
SEO values you are trying to push.
You can sometimes do a better SEO
job by making them different but it
depends on the situation.
2. As for Meta Keywords and M... |
10,927 | <p>If I add multiple A-records for my domain, they are returned in a round robin order by DNS servers.</p>
<p><em>Example:</em></p>
<pre><code>192.0.2.1 A example.com
192.0.2.2 A example.com
192.0.2.3 A example.com
</code></pre>
<p>But how does web browsers react if the first host (<code>192.0.2.1</code>) is down (u... | [
{
"answer_id": 10928,
"author": "keatch",
"author_id": 5117,
"author_profile": "https://webmasters.stackexchange.com/users/5117",
"pm_score": 2,
"selected": false,
"text": "<p>This is basic DNS load balancing distribution technique: DNS Round Robin. \nThis has nothing to do with browser,... | 2011/03/19 | [
"https://webmasters.stackexchange.com/questions/10927",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/706/"
] | If I add multiple A-records for my domain, they are returned in a round robin order by DNS servers.
*Example:*
```
192.0.2.1 A example.com
192.0.2.2 A example.com
192.0.2.3 A example.com
```
But how does web browsers react if the first host (`192.0.2.1`) is down (unreachable)? Do they try the second host (`192.0.2.... | Yes, most browsers from the last 5-10 years will try the other A records if one fails to respond. This is sometimes called "browser retry" or "client retry" apparently. You'll pretty much only find stuff about it in the context of the various browser exploits which this feature enables against sites not using it (see [... |
10,960 | <p>Regarding the domain <a href="http://www.pravninasvet.com" rel="nofollow">http://www.pravninasvet.com</a>, there is a problem where it sometimes loads fast, sometimes very slow.</p>
<p>The domain is registered by godaddy, the server is in Germany. But when the page loads very slow, the is ping normal:</p>
<pre><co... | [
{
"answer_id": 10964,
"author": "Syntax Error",
"author_id": 6219,
"author_profile": "https://webmasters.stackexchange.com/users/6219",
"pm_score": 1,
"selected": false,
"text": "<p>I would bet on the problem being with your host. If you have more than one site on that server you can see... | 2011/03/20 | [
"https://webmasters.stackexchange.com/questions/10960",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6216/"
] | Regarding the domain <http://www.pravninasvet.com>, there is a problem where it sometimes loads fast, sometimes very slow.
The domain is registered by godaddy, the server is in Germany. But when the page loads very slow, the is ping normal:
```
Pinging pravninasvet.com [91.194.91.202] with 32 bytes of data:
Reply fr... | I can verify that you do indeed have performance issues.
Your server may very well be partly to blame, but you also have some significant on-page issues that you could also look to mitigate your slow-site problem:
<http://gtmetrix.com/reports/www.pravninasvet.com/Ilad9BMy> (45 seconds to load)
Additionally, you co... |
10,993 | <p>We've got our website running and HTTPS / SSL works just great.</p>
<p><strong>EXCEPT</strong>: when users enter <code>http://www.mydomain.com</code> and then enter the secure area and get directed to <code>https://www.mydomain.com</code> it works fine.</p>
<p>But when users enter just <code>http://mydomain.com</c... | [
{
"answer_id": 10994,
"author": "Sripathi Krishnan",
"author_id": 5954,
"author_profile": "https://webmasters.stackexchange.com/users/5954",
"pm_score": 1,
"selected": false,
"text": "<p>By default, it does not. You have to buy a wild-card ssl certificate to get that working. You can als... | 2011/03/21 | [
"https://webmasters.stackexchange.com/questions/10993",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6002/"
] | We've got our website running and HTTPS / SSL works just great.
**EXCEPT**: when users enter `http://www.mydomain.com` and then enter the secure area and get directed to `https://www.mydomain.com` it works fine.
But when users enter just `http://mydomain.com` and then enter the secure are and get directed to `https:/... | SSL, be default, covers one domain. In your case it's `www.domain.com`. Users who go to `https://domain.com` will see that error message as domain.com is not explicitly covered by that SSL certificate.
To over come this you can:
1) Get a wild card SSL certificate which covers subdomains in addition to the main domain... |
11,142 | <p>I need to gather articles from multiple categories into the single blog feed (the front page and main RSS feed).</p>
<p>For example, I need this structure ...</p>
<pre><code>Section 1
Category 1.1
Article 1.1.1 (20 apr 2011)
Article 1.1.2 (10 apr 2011)
Category 1.2
Article 1.2.1 (15 apr 2011)
Cat... | [
{
"answer_id": 11147,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>PageRank has nothing to do with relevancy. It only has to do with link popularity, So links from off topic p... | 2011/03/24 | [
"https://webmasters.stackexchange.com/questions/11142",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6312/"
] | I need to gather articles from multiple categories into the single blog feed (the front page and main RSS feed).
For example, I need this structure ...
```
Section 1
Category 1.1
Article 1.1.1 (20 apr 2011)
Article 1.1.2 (10 apr 2011)
Category 1.2
Article 1.2.1 (15 apr 2011)
Category 1.3
Article... | PageRank has nothing to do with relevancy. It only has to do with link popularity, So links from off topic pages are worth the same as an off topic page assuming they have the same PR. However, keep in mind that this probably won't help your rankings since those links will have little value towards your page's ranking ... |
11,210 | <p>I read this post:</p>
<p><a href="http://www.google.com/support/webmasters/bin/answer.py?answer=66353" rel="nofollow">http://www.google.com/support/webmasters/bin/answer.py?answer=66353</a></p>
<p>On my site currently, I have the following:</p>
<pre><code>// site.css
h1{
background: transparent url("/images/myl... | [
{
"answer_id": 11212,
"author": "JamesRyan",
"author_id": 3310,
"author_profile": "https://webmasters.stackexchange.com/users/3310",
"pm_score": 2,
"selected": false,
"text": "<p>You should really be using img and alt text to do this. css background images are more for pretification rat... | 2011/03/25 | [
"https://webmasters.stackexchange.com/questions/11210",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6108/"
] | I read this post:
<http://www.google.com/support/webmasters/bin/answer.py?answer=66353>
On my site currently, I have the following:
```
// site.css
h1{
background: transparent url("/images/mylogo.png") 0 0 no-repeat;
}
h1 span{
display:none;
}
<!-- index.html -->
<h1>
<span> Name of My website </span>
</h1>
... | I think you have the right idea, but have implemented it wrong.
I think display none shouldn't be used because of screen readers, at least that's what I've read.
I really like this method:
```
<h1>My Website/Page Title<span></span></h1>
h1 {position:relative;height:100px;width:100px;}
h1 span{background:url(link-... |
11,217 | <p>I am working on a project for 3 niche stores built on magento (using magento's multi-store function) that each get roughly 50k unique visitors a day. The sites don't currently have a blog or forum or any social networking aspects.</p>
<p>Would like to add a cms to each site that can be centrally run and would like ... | [
{
"answer_id": 11212,
"author": "JamesRyan",
"author_id": 3310,
"author_profile": "https://webmasters.stackexchange.com/users/3310",
"pm_score": 2,
"selected": false,
"text": "<p>You should really be using img and alt text to do this. css background images are more for pretification rat... | 2011/03/25 | [
"https://webmasters.stackexchange.com/questions/11217",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6341/"
] | I am working on a project for 3 niche stores built on magento (using magento's multi-store function) that each get roughly 50k unique visitors a day. The sites don't currently have a blog or forum or any social networking aspects.
Would like to add a cms to each site that can be centrally run and would like it to take... | I think you have the right idea, but have implemented it wrong.
I think display none shouldn't be used because of screen readers, at least that's what I've read.
I really like this method:
```
<h1>My Website/Page Title<span></span></h1>
h1 {position:relative;height:100px;width:100px;}
h1 span{background:url(link-... |
11,231 | <p>I am working on a project for 3 niche stores built on magento (using magento's multi-store function) that each get roughly 50k unique visitors a day. The sites don't currently have a blog or forum or any social networking aspects. </p>
<p>Would like to add a cms to each site that can be centrally run and would l... | [
{
"answer_id": 11212,
"author": "JamesRyan",
"author_id": 3310,
"author_profile": "https://webmasters.stackexchange.com/users/3310",
"pm_score": 2,
"selected": false,
"text": "<p>You should really be using img and alt text to do this. css background images are more for pretification rat... | 2011/03/24 | [
"https://webmasters.stackexchange.com/questions/11231",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6341/"
] | I am working on a project for 3 niche stores built on magento (using magento's multi-store function) that each get roughly 50k unique visitors a day. The sites don't currently have a blog or forum or any social networking aspects.
Would like to add a cms to each site that can be centrally run and would like it to tak... | I think you have the right idea, but have implemented it wrong.
I think display none shouldn't be used because of screen readers, at least that's what I've read.
I really like this method:
```
<h1>My Website/Page Title<span></span></h1>
h1 {position:relative;height:100px;width:100px;}
h1 span{background:url(link-... |
11,254 | <p>I'm drawing up some documentation for users with the intent on educating them on certificate revocation. I would like to include screen shots of browsers to demonstrate the user experience when encountering a revoked cert. The revocation can occur via either OCSP or CRL. </p>
<p>I've tried digging around CRLs, but ... | [
{
"answer_id": 11823,
"author": "Lekensteyn",
"author_id": 6597,
"author_profile": "https://webmasters.stackexchange.com/users/6597",
"pm_score": 2,
"selected": false,
"text": "<p>The revoked certificate of Mozilla Addons and its corresponding keyfiles are available in the wild. So you c... | 2011/03/27 | [
"https://webmasters.stackexchange.com/questions/11254",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6369/"
] | I'm drawing up some documentation for users with the intent on educating them on certificate revocation. I would like to include screen shots of browsers to demonstrate the user experience when encountering a revoked cert. The revocation can occur via either OCSP or CRL.
I've tried digging around CRLs, but they list ... | The revoked certificate of Mozilla Addons and its corresponding keyfiles are available in the wild. So you could test it yourself. For this experiment, you need to point the `addons.mozilla.org` domain to the IP address of your test server.
The private key file is 27 lines long and can be found at <http://erratasec.bl... |
11,259 | <p>I would like <code>.htaccess</code> to redirect:</p>
<pre><code>example.com/something_%26_else
</code></pre>
<p>to</p>
<pre><code>example.com/something_%2526_else
</code></pre>
<p>I'm importing a bunch of pages that have ampersands in the title from MediaWiki. These are encoded as <code>%26</code>. Drupal, for v... | [
{
"answer_id": 11261,
"author": "Christopher Manning",
"author_id": 6373,
"author_profile": "https://webmasters.stackexchange.com/users/6373",
"pm_score": 2,
"selected": true,
"text": "<p><a href=\"http://www.linode.com/\" rel=\"nofollow\">Linode</a> gives you full root access to your vi... | 2011/01/03 | [
"https://webmasters.stackexchange.com/questions/11259",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I would like `.htaccess` to redirect:
```
example.com/something_%26_else
```
to
```
example.com/something_%2526_else
```
I'm importing a bunch of pages that have ampersands in the title from MediaWiki. These are encoded as `%26`. Drupal, for various reasons, has decided double encode the URL to have it become `%2... | [Linode](http://www.linode.com/) gives you full root access to your virtual server and allows you to upgrade the RAM, storage, and transfer as you need. It does require a bit of technical knowledge since it starts of as a fresh install of the operating system, thought they have a lot of recipes that will help you with ... |
11,337 | <p>I have a website which was originally built using classic ASP. About a year ago it was rewritten in PHP. This caused file extensions to change and some pages were moved to new locations within the website. Naturally we made 301 redirects from the old URLs to the new URLs so their users and search engines could find ... | [
{
"answer_id": 11349,
"author": "Brian McCarthy",
"author_id": 5847,
"author_profile": "https://webmasters.stackexchange.com/users/5847",
"pm_score": -1,
"selected": false,
"text": "<p>I would reverse the redirect and leave it as it originally was. Redirect your NEW site to your OLD site... | 2011/03/29 | [
"https://webmasters.stackexchange.com/questions/11337",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/1253/"
] | I have a website which was originally built using classic ASP. About a year ago it was rewritten in PHP. This caused file extensions to change and some pages were moved to new locations within the website. Naturally we made 301 redirects from the old URLs to the new URLs so their users and search engines could find the... | Try converting your `mod_alias` redirects into `mod_rewrite` directives.
---
**Edit:** Example below assumes that you have replaced old ASP files with PHP files under the same path.
```
RewriteEngine on
# *.asp -> *.php
RewriteRule (.*)\.asp$ /$1.php [R=301,L]
# tracking script
RewriteCond %{REQUEST_FILENAME} !-f
... |
11,344 | <p>I'm trying to recreate list in HTML which has clauses and subclauses like this:</p>
<pre><code>1. Main Clause
(a) Sub clause
(b) Sub clause
2. Another main clause
(a) Sub clause
</code></pre>
<p>The problems I'm running into are:</p>
<ol>
<li><p>If I use the existing HTML elements (ol and li) there doesn't ... | [
{
"answer_id": 11345,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>Your second problem can be solved with CSS using <code>list-style-position: outside;</code></p>\n\n<pre><code... | 2011/03/29 | [
"https://webmasters.stackexchange.com/questions/11344",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6420/"
] | I'm trying to recreate list in HTML which has clauses and subclauses like this:
```
1. Main Clause
(a) Sub clause
(b) Sub clause
2. Another main clause
(a) Sub clause
```
The problems I'm running into are:
1. If I use the existing HTML elements (ol and li) there doesn't seem to be a list style for (a) - I can... | Your second problem can be solved with CSS using `list-style-position: outside;`
```
ul, ol
{
list-style-position: outside;
}
```
Result:
```
1. text that is long...and
wraps around
```
Your first problem cannot be solved with CSS or HTML as there is no official (a), (b), etc option for ordered lists. So i... |
11,482 | <p>It's best for SEO purposes that we use the main page keywords in our urls
For example stackoverflow uses this technique too.</p>
<pre><code>http://stackoverflow.com/questions/show-utf8-characters-in-console
</code></pre>
<p>I wonder if it's okay to use something like:</p>
<pre><code>http://www.mobadele.com/catego... | [
{
"answer_id": 11483,
"author": "Pleun",
"author_id": 9908,
"author_profile": "https://webmasters.stackexchange.com/users/9908",
"pm_score": 2,
"selected": false,
"text": "<p>No, it is not. Officially you have to URL-encode them.</p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/Percent-e... | 2011/04/01 | [
"https://webmasters.stackexchange.com/questions/11482",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | It's best for SEO purposes that we use the main page keywords in our urls
For example stackoverflow uses this technique too.
```
http://stackoverflow.com/questions/show-utf8-characters-in-console
```
I wonder if it's okay to use something like:
```
http://www.mobadele.com/categories/طلا-نفره
``` | No, it is not. Officially you have to URL-encode them.
<http://en.wikipedia.org/wiki/Percent-encoding>
I am not sure how far the implementation of IRI
<http://en.wikipedia.org/wiki/Internationalized_Resource_Identifier> is,
It may work in reality, but I have ran into all kind of trouble with Russian characters in U... |
11,512 | <p>Within my copyright meta data I have the following</p>
<pre><code><meta name="copyright" content="example.com &#169; Copyright 2011 by Me. All Rights Reserved." />
</code></pre>
<p>Is this correct, or should I simply have the following? </p>
<pre><code><meta name="copyright" content="example.com © Co... | [
{
"answer_id": 11514,
"author": "Nate",
"author_id": 4786,
"author_profile": "https://webmasters.stackexchange.com/users/4786",
"pm_score": -1,
"selected": false,
"text": "<p>If the symbol is found anywhere in your file, it will fail WC3 verification. Based on that I would think <code>&a... | 2011/04/01 | [
"https://webmasters.stackexchange.com/questions/11512",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Within my copyright meta data I have the following
```
<meta name="copyright" content="example.com © Copyright 2011 by Me. All Rights Reserved." />
```
Is this correct, or should I simply have the following?
```
<meta name="copyright" content="example.com © Copyright 2011 by Me. All Rights Reserved." />
``` | Why do you want to put the © symbol in a meta tag that already has the attribute name="copyright"? |
11,525 | <p>I am going to change the file extension from ".htm" to ".php", is there any disadvantage with this action?</p>
| [
{
"answer_id": 11529,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>Yes. If you change the file extension of a live site the following consequences will occur:</p>\n\n<ul>\n<li>... | 2011/04/02 | [
"https://webmasters.stackexchange.com/questions/11525",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6643/"
] | I am going to change the file extension from ".htm" to ".php", is there any disadvantage with this action? | Yes. If you change the file extension of a live site the following consequences will occur:
* You are essentially changing the URLs and making all of your pages look like new pages to the search engines.
* Any links you had to those pages will essentially be lost
* You will need to have the search engines re-index eve... |
11,560 | <p>After having read various articles on this site about WWW or Non-WWW website setup, <a href="https://webmasters.stackexchange.com/questions/6107/www-yoursite-com-or-http-yoursite-com-which-one-is-futureproof">here</a>, <a href="https://webmasters.stackexchange.com/questions/1734/removing-non-www-support">here</a> an... | [
{
"answer_id": 11562,
"author": "Gup3rSuR4c",
"author_id": 2228,
"author_profile": "https://webmasters.stackexchange.com/users/2228",
"pm_score": 1,
"selected": false,
"text": "<p>I'm not an expert, but this is what I've found to happen. If you had www links and you 'cleaned' up then you... | 2011/04/03 | [
"https://webmasters.stackexchange.com/questions/11560",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3590/"
] | After having read various articles on this site about WWW or Non-WWW website setup, [here](https://webmasters.stackexchange.com/questions/6107/www-yoursite-com-or-http-yoursite-com-which-one-is-futureproof), [here](https://webmasters.stackexchange.com/questions/1734/removing-non-www-support) and [here](https://webmaste... | *For SEO ranking purposes* there is no difference between www and non-www. The www is just a subdomain of the main domain and [Google considers subdomains and sub-directories equal](http://www.mattcutts.com/blog/subdomains-and-subdirectories/) (i.e. part of the same website, not special in any way).
You do need to pi... |
11,613 | <p>In the "<a href="http://scholar.google.com/intl/en/scholar/inclusion.html#indexing" rel="nofollow">Inclusion Guidelines for Webmasters</a>" for <a href="http://scholar.google.com" rel="nofollow">Google Scholar</a> is written under Indexing Guidelines:</p>
<blockquote>
<p>Google Scholar supports Highwire Press tag... | [
{
"answer_id": 13345,
"author": "Nick",
"author_id": 7198,
"author_profile": "https://webmasters.stackexchange.com/users/7198",
"pm_score": 4,
"selected": true,
"text": "<p>Eprints tags are used in the <a href=\"http://www.eprints.org/software/training/\" rel=\"nofollow\">EPrints academi... | 2011/04/04 | [
"https://webmasters.stackexchange.com/questions/11613",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/791/"
] | In the "[Inclusion Guidelines for Webmasters](http://scholar.google.com/intl/en/scholar/inclusion.html#indexing)" for [Google Scholar](http://scholar.google.com) is written under Indexing Guidelines:
>
> Google Scholar supports Highwire Press tags (e.g., citation\_title), Eprints tags (e.g., eprints.title), BE Press ... | Eprints tags are used in the [EPrints academic repository software.](http://www.eprints.org/software/training/) BE Press tags are used in The Berkley Electronic Press [SelectedWorks](http://works.bepress.com/) product. Neither offers documentation on their proprietary meta tags that I could find.
You can, however, vie... |
11,657 | <p>Our site's navigation links are currently in relative form:</p>
<pre><code><a href="/section">
</code></pre>
<p>The SEO company I mentioned in my <a href="https://webmasters.stackexchange.com/questions/11623/order-of-html-meta-tags">previous question</a> recommends we change them to absolute links:</p>
<pre... | [
{
"answer_id": 11659,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": false,
"text": "<p>If the URL works for you when it's relative then it will work for search engines. I don't see any benefit t... | 2011/04/05 | [
"https://webmasters.stackexchange.com/questions/11657",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6557/"
] | Our site's navigation links are currently in relative form:
```
<a href="/section">
```
The SEO company I mentioned in my [previous question](https://webmasters.stackexchange.com/questions/11623/order-of-html-meta-tags) recommends we change them to absolute links:
```
<a href="http://www.ourpage.com/section">
```
... | There's pros and cons to both implementations:
**Absolute:** Deters scrapers (since they will have to replace all base `href` values). Allows for better testing in production sites - not relying on missing folder heirachy etc. Less overhead for URL retrieval (debated).
**Relative:** Easier for development (on a stagi... |
11,663 | <p>first of all i m sorry if i post this thread on wrong website. Now my question is:</p>
<pre><code> is there any method/trick to find the programming (scripting) language of
a website on which that website is developed.
</code></pre>
<p>for eg: i want to know the development language of <strong>https://mydeco.com... | [
{
"answer_id": 11666,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 0,
"selected": false,
"text": "<p>With some sites you can look at the extensions of the filenames, but they hide them quite well. One clue is... | 2011/04/05 | [
"https://webmasters.stackexchange.com/questions/11663",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3700/"
] | first of all i m sorry if i post this thread on wrong website. Now my question is:
```
is there any method/trick to find the programming (scripting) language of
a website on which that website is developed.
```
for eg: i want to know the development language of **https://mydeco.com/**
is above website is develop... | There's no way to be 100% sure unless they tell you (and this site doesn't seem to do so). So send them an email and see what they say. |
11,681 | <p>I'm actually trying GateIn for my firm and I don't manage to integrate OpenAM and GateIn.</p>
<p>I follow all the steps in the GateInReference Guide but I've a problem.</p>
<p>The scenario of the problem is : </p>
<ol>
<li><p>Go to <code>localhost:8080/portal</code></p></li>
<li><p>Click Administrator</p></li>
<... | [
{
"answer_id": 11692,
"author": "Maçois",
"author_id": 6596,
"author_profile": "https://webmasters.stackexchange.com/users/6596",
"pm_score": 0,
"selected": false,
"text": "<p>The guide is wrong on one point :</p>\n\n<p>=> The modification on the jaas.conf file :</p>\n\n<p>The guide says... | 2011/04/05 | [
"https://webmasters.stackexchange.com/questions/11681",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6596/"
] | I'm actually trying GateIn for my firm and I don't manage to integrate OpenAM and GateIn.
I follow all the steps in the GateInReference Guide but I've a problem.
The scenario of the problem is :
1. Go to `localhost:8080/portal`
2. Click Administrator
3. I'm redirected to : `openam.vauban.com:2080/openam_s952/UI/Log... | Thanks for helping me during this aventure,
So, I did some tests :
On ubuntu (@Home || @Work on a VM) :
```
OpenAM (default configuration) + GateIn Tomcat : OK
OpenAM (default configuration) + GateIn JBoss : OK
OpenAM (default configuration) + ExoPlatform : OK
OpenAM (manual configuration) + GateIn Tomcat : OK
OpenA... |
11,700 | <p>So, on all of our sites that are not search facing we've applied a robots.txt file (per <a href="https://webmasters.stackexchange.com/questions/8144/how-to-exclude-a-website-from-real-time-google-search-results">How to exclude a website from real-time Google search results?</a>, or any other similar question).</p>
... | [
{
"answer_id": 11701,
"author": "Joe",
"author_id": 6467,
"author_profile": "https://webmasters.stackexchange.com/users/6467",
"pm_score": 2,
"selected": false,
"text": "<p>I think Matt Cutts talked about this. If my memory is correct it had to do with linking. \nHere is more: <a href=\"... | 2011/04/05 | [
"https://webmasters.stackexchange.com/questions/11700",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2766/"
] | So, on all of our sites that are not search facing we've applied a robots.txt file (per [How to exclude a website from real-time Google search results?](https://webmasters.stackexchange.com/questions/8144/how-to-exclude-a-website-from-real-time-google-search-results), or any other similar question).
However, if search... | I'll have to go looking for the source of this information but apparently robots.txt will not necessarily prevent a page from being indexed. But the HTTP x-robots-tag header does apparently work.
If you're using Apache you can block pages in bulk using this line in an .htaccess file:
```
Header set x-robots-tag: noin... |
11,712 | <h3>Question</h3>
<p>Will I get penalised as <strong>"<a href="http://www.google.com/support/webmasters/bin/answer.py?answer=66355" rel="nofollow noreferrer">sneaky Javascript redirects</a>"</strong> by Google if I have the following Hijax setup (which requires a JavaScript redirect on the page indexed by google).</p>... | [
{
"answer_id": 11722,
"author": "Joe",
"author_id": 6467,
"author_profile": "https://webmasters.stackexchange.com/users/6467",
"pm_score": 1,
"selected": false,
"text": "<p>I have had clients site drop out of the index because Google thought the JavaScript was suspicious. This normally h... | 2011/04/06 | [
"https://webmasters.stackexchange.com/questions/11712",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6612/"
] | ### Question
Will I get penalised as **"[sneaky Javascript redirects](http://www.google.com/support/webmasters/bin/answer.py?answer=66355)"** by Google if I have the following Hijax setup (which requires a JavaScript redirect on the page indexed by google).
### Goal
I want to implement Hijax to enable AJAX content t... | >
> Hijax == sneaky Javascript redirects?
>
>
>
only if they are intended as sneaky.
>
> Will I get banned from Google?
>
>
>
if they are not sneaky, most probably not.
a "penalty" is an editorial or semi-editorial (a mini algo targeted at a small subsample of sites) action from googles side to .. well .. p... |
11,728 | <p>I have optimized a website and have included toggled content. By toggled content I mean content that becomes visible after clicking a link (Expand and Collaps). The code is as followings:</p>
<pre><code><li id="article-1">
<h3><a href="" onClick="$('#article-1 p').not(':first').toggle(); return fals... | [
{
"answer_id": 11719,
"author": "tomsv",
"author_id": 35451,
"author_profile": "https://webmasters.stackexchange.com/users/35451",
"pm_score": 2,
"selected": false,
"text": "<p>Google Analytics only works for visitors running javascript, that also wait for your javascript to load and com... | 2011/04/06 | [
"https://webmasters.stackexchange.com/questions/11728",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3659/"
] | I have optimized a website and have included toggled content. By toggled content I mean content that becomes visible after clicking a link (Expand and Collaps). The code is as followings:
```
<li id="article-1">
<h3><a href="" onClick="$('#article-1 p').not(':first').toggle(); return false;">Article title</a></h3>
<... | Google Analytics only works for visitors running javascript, that also wait for your javascript to load and communicate with Google.
This would exclude most bots and people who did not want to wait for your page to load.
Webmaster tools on the other hand also shows information about how a site performs in the search ... |
11,729 | <p>I was toying with the idea of switching to html5. It seems there are 2 major scripts for dealing with supporting html5 on older browsers.</p>
<p>Modernizr and Html5Shiv</p>
<p>I was wondering if they do the same thing. Which one to choose and why?</p>
<p>Any ideas?</p>
| [
{
"answer_id": 11740,
"author": "feeela",
"author_id": 1803,
"author_profile": "https://webmasters.stackexchange.com/users/1803",
"pm_score": 4,
"selected": true,
"text": "<p>Modernizr is used to check the availability of HTML5 features in different rendering engines. It includes a scrip... | 2011/04/06 | [
"https://webmasters.stackexchange.com/questions/11729",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4033/"
] | I was toying with the idea of switching to html5. It seems there are 2 major scripts for dealing with supporting html5 on older browsers.
Modernizr and Html5Shiv
I was wondering if they do the same thing. Which one to choose and why?
Any ideas? | Modernizr is used to check the availability of HTML5 features in different rendering engines. It includes a script like Html5Shiv, which (only) enables HTML5 tags on Microsoft Internet Explorer (prior to version 9, which knew HTML5). See also ["How to get HTML5 working in IE and Firefox 2"](http://html5doctor.com/how-t... |
11,751 | <p>I have facecook like button plugin on my vanilla forum.
Although I added </p>
<pre><code><script src="http://connect.facebook.net/tr_TR/all.js#xfbml=1">
</code></pre>
<p>into my button code, it does not show the button in Turkish.</p>
<p>here is an example topic that you can see facebook button on my forum ... | [
{
"answer_id": 11901,
"author": "Melanie Shebel",
"author_id": 5013,
"author_profile": "https://webmasters.stackexchange.com/users/5013",
"pm_score": 0,
"selected": false,
"text": "<p>Did you edit the script to account for Turkish from this:</p>\n\n<pre><code><script src=\"http://conn... | 2011/04/06 | [
"https://webmasters.stackexchange.com/questions/11751",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6630/"
] | I have facecook like button plugin on my vanilla forum.
Although I added
```
<script src="http://connect.facebook.net/tr_TR/all.js#xfbml=1">
```
into my button code, it does not show the button in Turkish.
here is an example topic that you can see facebook button on my forum : <http://www.herkesuzman.com/discussio... | I solved the problem in the end by adding following code into my default.master.php file ;
```
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
<META http-equiv=content-type content=text/html;charset=windows-1254>
<META http-equiv=content-type content=text/html;charset=x-mac-turkish>
``` |
11,810 | <p>I have a client that want a website with a single domain name with many different extensions like:</p>
<pre><code>example.com
example.org
example.net
example.mobi
example.tv
...
</code></pre>
<p>Just to be sure the saturate the name and that nobody "hijacks" the name.</p>
<p>The client is a searcher in "numeric c... | [
{
"answer_id": 11843,
"author": "paulmorriss",
"author_id": 1643,
"author_profile": "https://webmasters.stackexchange.com/users/1643",
"pm_score": 2,
"selected": false,
"text": "<p>I agree it's overkill. If this domain were to really take off and become popular, so that other people migh... | 2011/04/07 | [
"https://webmasters.stackexchange.com/questions/11810",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6661/"
] | I have a client that want a website with a single domain name with many different extensions like:
```
example.com
example.org
example.net
example.mobi
example.tv
...
```
Just to be sure the saturate the name and that nobody "hijacks" the name.
The client is a searcher in "numeric content" and has a PhD in that fie... | Buy the `.com`, `.net`, `.org` and perhaps a country specific tld such as `.co.uk` if he is UK based. There's really no need for any more.
I don't have any academic research to show you why you don't really need the others, but a good question to ask is when have you ever visited a domain, or typed in a domain into yo... |
11,826 | <p>I have been arguing a point and would like a second opinion. The basic point of contention is as follows:</p>
<p>We have a site X with a sitemap index file located at: </p>
<p><em>http://www.x.co.uk/sitemap.xml</em> </p>
<p>This file lists a number of site maps and the structure for the location of the site maps ... | [
{
"answer_id": 11827,
"author": "Mike Hudson",
"author_id": 4461,
"author_profile": "https://webmasters.stackexchange.com/users/4461",
"pm_score": 3,
"selected": true,
"text": "<p>Having just done the same thing (placing the referenced sitemap files in a different sub-folder) I can confi... | 2011/04/07 | [
"https://webmasters.stackexchange.com/questions/11826",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5464/"
] | I have been arguing a point and would like a second opinion. The basic point of contention is as follows:
We have a site X with a sitemap index file located at:
*http://www.x.co.uk/sitemap.xml*
This file lists a number of site maps and the structure for the location of the site maps is:
```
<?xml version="1.0" e... | Having just done the same thing (placing the referenced sitemap files in a different sub-folder) I can confirm this works fine with no issues.
* The XML Sitemap index file *doesn't* have to be in the root of the site, but it is preferable (for convention)
* The Sitemaps referenced by the index file *don't* have to be ... |
11,858 | <p>I'm trying to make <code>http://$SOMETHING.app.example.com/</code> transparently rewrite to <code>http://www.example.com/app/$SOMETHING</code>.</p>
<p>The config below is giving me a 404 and I'm not sure why.</p>
<pre><code>ServerName www.example.com
ServerAlias *.app.example.com
RewriteEngine On
RewriteCond %{HT... | [
{
"answer_id": 11859,
"author": "Bart De Vos",
"author_id": 13306,
"author_profile": "https://webmasters.stackexchange.com/users/13306",
"pm_score": 2,
"selected": false,
"text": "<p>You need to set a DNS-record for <code>*.app.example.com.</code> to redirect to the IP of the server. I t... | 2011/04/08 | [
"https://webmasters.stackexchange.com/questions/11858",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7255/"
] | I'm trying to make `http://$SOMETHING.app.example.com/` transparently rewrite to `http://www.example.com/app/$SOMETHING`.
The config below is giving me a 404 and I'm not sure why.
```
ServerName www.example.com
ServerAlias *.app.example.com
RewriteEngine On
RewriteCond %{HTTP_HOST} (.*).app.example.com
RewriteRule ^... | You need to set a DNS-record for `*.app.example.com.` to redirect to the IP of the server. I think in your case that will be the same as the one `app.example.com.`is pointing to.
**Edit**:
I think one of these should do the trick (normally both):
```
RewriteCond %{HTTP_HOST} !^app\.example\.com
RewriteCond %{HTTP_HOS... |
11,925 | <p>I'm getting ready to deploy my Rails app. Currently whether you browse to it using www.domain.com or just domain.com you get the same site.</p>
<p>I'm pretty new at this, so I'm looking for some wisdom from experienced web app developers:</p>
<p>Is it worth forcing requests to either WWW or non-WWW? It seems there... | [
{
"answer_id": 11926,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<ol>\n<li>I don't currently have an active one, but if I had, I would allow both, but redirect from <code>www</code>... | 2011/04/09 | [
"https://webmasters.stackexchange.com/questions/11925",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6720/"
] | I'm getting ready to deploy my Rails app. Currently whether you browse to it using www.domain.com or just domain.com you get the same site.
I'm pretty new at this, so I'm looking for some wisdom from experienced web app developers:
Is it worth forcing requests to either WWW or non-WWW? It seems there are apps that go... | Use www as the default one and force redirect to www with this htaccess script:
```
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.WEBSITE.com$
RewriteRule ^(.*)$ http://www.WEBSITE.com/$1 [R=301]
```
This way you avoid duplicate content on Google. |
11,929 | <p>I have auto translated articles in portugues and I need to hire people to check the grammars etc.</p>
<p>Considering I need portugues (that can speak english a little to make agreements) where should I look for?</p>
<p>Thanks</p>
| [
{
"answer_id": 11926,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<ol>\n<li>I don't currently have an active one, but if I had, I would allow both, but redirect from <code>www</code>... | 2011/04/09 | [
"https://webmasters.stackexchange.com/questions/11929",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4744/"
] | I have auto translated articles in portugues and I need to hire people to check the grammars etc.
Considering I need portugues (that can speak english a little to make agreements) where should I look for?
Thanks | Use www as the default one and force redirect to www with this htaccess script:
```
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.WEBSITE.com$
RewriteRule ^(.*)$ http://www.WEBSITE.com/$1 [R=301]
```
This way you avoid duplicate content on Google. |
11,934 | <p>I have recently signed up for a knownhost VPS package. My account has been set up on their end. They want me to create <code>ns1.outsourcingnepal.com</code> and <code>ns2.outsourcingnepal.com</code> in my registrar and point to their given IP address.</p>
<p>I checked my registar site... I can change the DNS info a... | [
{
"answer_id": 11941,
"author": "Sparky",
"author_id": 5362,
"author_profile": "https://webmasters.stackexchange.com/users/5362",
"pm_score": 0,
"selected": false,
"text": "<p>First off, the wording of your question very unclear, but I'll take a stab at it anyway...</p>\n\n<p>I don't bel... | 2011/04/10 | [
"https://webmasters.stackexchange.com/questions/11934",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/2044/"
] | I have recently signed up for a knownhost VPS package. My account has been set up on their end. They want me to create `ns1.outsourcingnepal.com` and `ns2.outsourcingnepal.com` in my registrar and point to their given IP address.
I checked my registar site... I can change the DNS info and other too, but where do I cre... | There are several steps to this process:
1. **Find your server IP's**
I'm assuming you have WHM here? Open `http://IP/whm` (or the path to your server control panel installation) then go to IP Functions >> show IP address usage & check your primary and secondary IP Address. Make a note of these two IP's
2. **Register... |
11,976 | <p>I've generated an SSL certificate with keytool:</p>
<pre><code>keytool -keystore keystore -alias mySite -genkey -keyalg RSA -keysize 2048
</code></pre>
<p>I got this configured and working fine, but obviously it wasn't signed by a trusted CA, so I generated a CSR:</p>
<pre><code>keytool -certreq -alias mySite -ke... | [
{
"answer_id": 11964,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<p>Sahir,</p>\n\n<p>It would be really helpful if you can figure out that either your domain on google apps is point... | 2011/04/11 | [
"https://webmasters.stackexchange.com/questions/11976",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6734/"
] | I've generated an SSL certificate with keytool:
```
keytool -keystore keystore -alias mySite -genkey -keyalg RSA -keysize 2048
```
I got this configured and working fine, but obviously it wasn't signed by a trusted CA, so I generated a CSR:
```
keytool -certreq -alias mySite -keystore keystore -file mySite.csr
```... | Once you change the nameservers you don't have to delete any other records because they are not being used.
Verify that the nameservers have been changed by doing a whois look up on the domain (I use <http://who.is>). If it has changed then the problem is on Go Daddy's side.
Their support should be able to help you... |
11,987 | <p>IE9 renders my web site as IE7. How to make not to make assumptions?</p>
| [
{
"answer_id": 11989,
"author": "The Disintegrator",
"author_id": 161,
"author_profile": "https://webmasters.stackexchange.com/users/161",
"pm_score": 1,
"selected": false,
"text": "<p>Probably you are using and incorrect/malformed doctype tag. This is the usual trigger for this behavior... | 2011/04/11 | [
"https://webmasters.stackexchange.com/questions/11987",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/23/"
] | IE9 renders my web site as IE7. How to make not to make assumptions? | This meta tag should do it:
```
<meta http-equiv="X-UA-Compatible" value="IE=9">
```
You can also send it out as an HTTP header |
12,005 | <p>There are a few domains pointing towards the same server, and of course I need them all redirect to only one of them.</p>
<p>Redirects work, but only for certain URLs.</p>
<p>What works: <code>http://www.domain.com, http://domain.com, domain.com/index.html, domain.com/index.php, domain.com/nonExistentDirectory</co... | [
{
"answer_id": 12012,
"author": "Sodved",
"author_id": 6679,
"author_profile": "https://webmasters.stackexchange.com/users/6679",
"pm_score": 2,
"selected": false,
"text": "<p>I think you need to move the domain name rewrites to before the <code># BEGIN Wordpress</code> section. This sho... | 2011/04/11 | [
"https://webmasters.stackexchange.com/questions/12005",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | There are a few domains pointing towards the same server, and of course I need them all redirect to only one of them.
Redirects work, but only for certain URLs.
What works: `http://www.domain.com, http://domain.com, domain.com/index.html, domain.com/index.php, domain.com/nonExistentDirectory`, and if I click in the m... | I think you need to move the domain name rewrites to before the `# BEGIN Wordpress` section. This should do the trick as it means all the domain name checks are done before it even cares about the pathnames.
I can only assume the index.php RewriteRule is firing, and then the [L] flag means its the end of the rewrite s... |
12,044 | <p>Is there any precedent or testing of using a breadcrumb list of separate links (and current page text) within an h1 and search engine algorithms?</p>
<p>I'm using nested navigation on a travel site. So imagine a breadcrumb might be:</p>
<pre><code><a>Great Britain</a><a>London</a><a>L... | [
{
"answer_id": 12076,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>If you want to optimize your breadcrumbs for SEO use <a href=\"http://www.quora.com/Which-is-the-best-way-to-... | 2011/04/11 | [
"https://webmasters.stackexchange.com/questions/12044",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3610/"
] | Is there any precedent or testing of using a breadcrumb list of separate links (and current page text) within an h1 and search engine algorithms?
I'm using nested navigation on a travel site. So imagine a breadcrumb might be:
```
<a>Great Britain</a><a>London</a><a>Leicester Square</a><b>Photo Gallery</b>
```
In th... | If you want to optimize your breadcrumbs for SEO use [semantic markup](http://www.quora.com/Which-is-the-best-way-to-markup-semantically-breadcrumbs-in-HTML) or [microformats](http://www.google.com/support/webmasters/bin/answer.py?&answer=185417) |
12,129 | <p>I've been optimizing my website for search engines, and for some reason I have a crawl error on a page that has not been found at 'www.peach-designs.com/a' which is not a page, is not a link, or is not anything on my site. I've checked my code and I'm only left to assume that this is a link to a page (a href, etc.)... | [
{
"answer_id": 12130,
"author": "Zimbabao",
"author_id": 5525,
"author_profile": "https://webmasters.stackexchange.com/users/5525",
"pm_score": 1,
"selected": false,
"text": "<p>Such crawl errors come when some one else is linking you with wrong urls may be a forum or may when you are ge... | 2011/02/24 | [
"https://webmasters.stackexchange.com/questions/12129",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I've been optimizing my website for search engines, and for some reason I have a crawl error on a page that has not been found at 'www.peach-designs.com/a' which is not a page, is not a link, or is not anything on my site. I've checked my code and I'm only left to assume that this is a link to a page (a href, etc.).
I... | Such crawl errors come when some one else is linking you with wrong urls may be a forum or may when you are generating wrong links by mistake.
Generally I confirm is my mistake or wrongly linked by doing following
```
1. Just try to search for these link if you can find them in any other sites (That should cover most... |
12,193 | <p>While trying to solve a problem on my website, a recommendation about my .htaccess file I got was</p>
<blockquote>
<p>First of all, please check on the
server for all the different modules
if they are enabled, and once they
are, remove the </p>
</blockquote>
<pre><code><IfModule
...></IfModule>... | [
{
"answer_id": 12206,
"author": "dough",
"author_id": 6816,
"author_profile": "https://webmasters.stackexchange.com/users/6816",
"pm_score": 2,
"selected": false,
"text": "<p>Assuming you mean apache modules you can run the below to list which modules you have loaded:</p>\n\n<pre><code>a... | 2011/04/14 | [
"https://webmasters.stackexchange.com/questions/12193",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6746/"
] | While trying to solve a problem on my website, a recommendation about my .htaccess file I got was
>
> First of all, please check on the
> server for all the different modules
> if they are enabled, and once they
> are, remove the
>
>
>
```
<IfModule
...></IfModule>
```
>
> blocks. They are
> putting an u... | If PHP is run as apache module, you can use the `phpinfo()` function. Search for the Apache section (usually `apache2handler`) and look for the row with "Loaded Modules":
 |
12,225 | <p>Say for example we got an eshop, with a category "car spare parts" that includes a category called "tires" which has our product in there.
We have created a menu on the left where the visitor clicks on "car spare parts" then clicks on sub-category "tires" and then he visits the tires product listing.</p>
<p>The act... | [
{
"answer_id": 12237,
"author": "Nate",
"author_id": 4786,
"author_profile": "https://webmasters.stackexchange.com/users/4786",
"pm_score": 2,
"selected": false,
"text": "<p>A more discript Uri is probably better, provided its not unnecessairly long.</p>\n\n<p>Something to take into acco... | 2011/04/14 | [
"https://webmasters.stackexchange.com/questions/12225",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | Say for example we got an eshop, with a category "car spare parts" that includes a category called "tires" which has our product in there.
We have created a menu on the left where the visitor clicks on "car spare parts" then clicks on sub-category "tires" and then he visits the tires product listing.
The actual path o... | A more discript Uri is probably better, provided its not unnecessairly long.
Something to take into account, in the example you provide you have `tires` within spare parts, what about new tires where do they go? What if in the future you start selling bike tires?
I would probably do something like this to maximize da... |
12,252 | <p>I have a blog on this page:</p>
<pre><code>domain.com/Blog/5/some-title
</code></pre>
<p>Below the blog entry it says, "click for comments".</p>
<p>You click the link, and it goes to:</p>
<pre><code>domain.com/Blog/5/some-title/Comments
</code></pre>
<p>For user experience, the blog content is displayed, with t... | [
{
"answer_id": 12256,
"author": "Dan Blows",
"author_id": 6858,
"author_profile": "https://webmasters.stackexchange.com/users/6858",
"pm_score": 1,
"selected": false,
"text": "<p>Load the whole page, including comments - this is your canonical URL. Then handle pagination of the comments ... | 2011/04/14 | [
"https://webmasters.stackexchange.com/questions/12252",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/5727/"
] | I have a blog on this page:
```
domain.com/Blog/5/some-title
```
Below the blog entry it says, "click for comments".
You click the link, and it goes to:
```
domain.com/Blog/5/some-title/Comments
```
For user experience, the blog content is displayed, with the comments displayed below it. It goes on multiple page... | Search engine spiders typically do not deal in cookies or Javascript.
If you are generating the comments page with a script on every request (not likely if you're getting thousands of comments) you can display the blog entry content when the visitor has a cookie of some variety set.
If you are serving up a static HTM... |
12,305 | <p>Just looking at logs of a not-so-busy site on one of our Apache servers and notice tons of these in the log:</p>
<pre><code>::1 - - [15/Apr/2011:12:11:40 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Apr/2011:12:11:41 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Apr/2011:12:11:44 -0700] "OPTIONS * HTTP/1.0" 200 -
... | [
{
"answer_id": 12306,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": false,
"text": "<p>From <a href=\"http://forums.cpanel.net/f5/apache-load-99241.html\" rel=\"nofollow\">here</a></p>\n\n<blockq... | 2011/04/15 | [
"https://webmasters.stackexchange.com/questions/12305",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6889/"
] | Just looking at logs of a not-so-busy site on one of our Apache servers and notice tons of these in the log:
```
::1 - - [15/Apr/2011:12:11:40 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Apr/2011:12:11:41 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Apr/2011:12:11:44 -0700] "OPTIONS * HTTP/1.0" 200 -
```
They see... | From [here](http://forums.cpanel.net/f5/apache-load-99241.html)
>
> It's Apache polling its child
> processes to verify they're responding
> correctly.
>
>
> 31-2 - 0/0/44 . 0.00 41 0 0.0 0.00
> 0.92 ::1 mxx1.xx.com OPTIONS \* HTTP/1.0
>
>
> The second field, " - ", shows that
> this isn't an active connectio... |
12,392 | <p>I've been doing web development for years, and I've always done a web structure similar to this:</p>
<pre><code>public_html/login.php
public_html/css/login.css
public_html/js/login.js
public_html/img/logo.png
</code></pre>
<p>I've seen other people use:</p>
<pre><code>styles/login.css
images/logo.png
</code></pre... | [
{
"answer_id": 12396,
"author": "ajcw",
"author_id": 2739,
"author_profile": "https://webmasters.stackexchange.com/users/2739",
"pm_score": 1,
"selected": false,
"text": "<p>Using folders for css and js as opposed to individual files depends entirely on the scope of your project.</p>\n\n... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12392",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6932/"
] | I've been doing web development for years, and I've always done a web structure similar to this:
```
public_html/login.php
public_html/css/login.css
public_html/js/login.js
public_html/img/logo.png
```
I've seen other people use:
```
styles/login.css
images/logo.png
```
And then recently I found out that my co-wo... | I'd stick with your current system, although I may be biased as I use just about the same names myself.
I find that keeping a three letter folder name is **verbose enough to have meaning, but concise enough to keep my URLs tidy**.
Trimming each folder down to a single letter is overkill, and as mc10 points out, is wi... |
12,395 | <p>How can I remove the article title from the readmore link in Joomla?<br>
I don't have sh404SEF. </p>
<pre><code><?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
... | [
{
"answer_id": 12396,
"author": "ajcw",
"author_id": 2739,
"author_profile": "https://webmasters.stackexchange.com/users/2739",
"pm_score": 1,
"selected": false,
"text": "<p>Using folders for css and js as opposed to individual files depends entirely on the scope of your project.</p>\n\n... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12395",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3790/"
] | How can I remove the article title from the readmore link in Joomla?
I don't have sh404SEF.
```
<?php if ($this->item->readmore_register) :
echo JText::_('Register to read more...');
elseif ($readmore = $this->item->params->get('readmore')) :
echo $readmore;
else :
echo JText::sprin... | I'd stick with your current system, although I may be biased as I use just about the same names myself.
I find that keeping a three letter folder name is **verbose enough to have meaning, but concise enough to keep my URLs tidy**.
Trimming each folder down to a single letter is overkill, and as mc10 points out, is wi... |
12,423 | <p>I just moved from a dedicated server to a shared server to save money, but now my htaccess file doesn't work. I think its 1and1, but I'm not 100% sure. What the heck is wrong? Any ideas?</p>
<p>The single pages work:</p>
<pre><code>RewriteRule ^internships/?$ internships.php [L]
</code></pre>
<p>but pages underneath... | [
{
"answer_id": 12429,
"author": "Satanicpuppy",
"author_id": 6943,
"author_profile": "https://webmasters.stackexchange.com/users/6943",
"pm_score": 0,
"selected": false,
"text": "<p>Have you checked the file ownership and read/write permissions? Usually it's either that, or you're not al... | 2011/04/18 | [
"https://webmasters.stackexchange.com/questions/12423",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I just moved from a dedicated server to a shared server to save money, but now my htaccess file doesn't work. I think its 1and1, but I'm not 100% sure. What the heck is wrong? Any ideas?
The single pages work:
```
RewriteRule ^internships/?$ internships.php [L]
```
but pages underneath them don't:
```
RewriteRule ... | Strange - I used to host on 1&1, and never had a problem with rewrites... but it doesn't sound like their support are being particular helpful.
First off - get them to confirm that mod\_rewrite is enabled (the reason `/internships` may be working is because they enable mod\_negotiation which looks for a best match if ... |