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 |
|---|---|---|---|---|---|---|
58,695 | <p>We have a website with good SEO results. For design reasons I have to update the design and I have to change file names from <code>.html</code> to <code>.php</code>. But I keep my domain name!</p>
<p>What should I do in order to keep my good SEO results?</p>
| [
{
"answer_id": 58697,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 3,
"selected": false,
"text": "<p>Just redirect by 301 HTTP status all your old URLs to the new ones. If you only change file extension, you ... | 2014/02/25 | [
"https://webmasters.stackexchange.com/questions/58695",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36428/"
] | We have a website with good SEO results. For design reasons I have to update the design and I have to change file names from `.html` to `.php`. But I keep my domain name!
What should I do in order to keep my good SEO results? | Just redirect by 301 HTTP status all your old URLs to the new ones. If you only change file extension, you can do it easily with an *.htaccess* file (if you use Apache as a web server).
Put these lines in your *.htaccess* file:
```
RedirectMatch 301 (.*)\.html$ http://www.example.com$1.php
```
Of course, change `www... |
58,743 | <p>I have been studying this subject for several days and have found many conflicting suggestions with regards to search indexing. I am working on a project which has a lot of different pages ranging from simple product descriptions to in-depth user documentation.</p>
<p>I have broken this question down into sections ... | [
{
"answer_id": 58746,
"author": "PatomaS",
"author_id": 19116,
"author_profile": "https://webmasters.stackexchange.com/users/19116",
"pm_score": 0,
"selected": false,
"text": "<p>There is not one right answer, there are different options.</p>\n\n<p>Below are a few options, but all of the... | 2014/02/26 | [
"https://webmasters.stackexchange.com/questions/58743",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/8022/"
] | I have been studying this subject for several days and have found many conflicting suggestions with regards to search indexing. I am working on a project which has a lot of different pages ranging from simple product descriptions to in-depth user documentation.
I have broken this question down into sections since I fe... | During my extensive web searches I have found a quote which I find useful and suspect that future readers of this question will also.
>
> Use `<h1>` for top-level heading
> --------------------------------
>
>
> `<h1>` is the HTML element for the first-level heading of a document:
>
>
> * If the document is basic... |
58,753 | <p>I am developing a website which is fully dynamic. If I load metas and other information of the website from database, will it affect my website's SEO?</p>
| [
{
"answer_id": 58746,
"author": "PatomaS",
"author_id": 19116,
"author_profile": "https://webmasters.stackexchange.com/users/19116",
"pm_score": 0,
"selected": false,
"text": "<p>There is not one right answer, there are different options.</p>\n\n<p>Below are a few options, but all of the... | 2014/02/26 | [
"https://webmasters.stackexchange.com/questions/58753",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36398/"
] | I am developing a website which is fully dynamic. If I load metas and other information of the website from database, will it affect my website's SEO? | During my extensive web searches I have found a quote which I find useful and suspect that future readers of this question will also.
>
> Use `<h1>` for top-level heading
> --------------------------------
>
>
> `<h1>` is the HTML element for the first-level heading of a document:
>
>
> * If the document is basic... |
58,761 | <p>I have a <strong>somedomainname.in</strong> domain with hosting from some ABC provider. The site is up and running.</p>
<p>I recently bought its .com i.e <strong>somedomainname.com</strong> from a seller on GoDaddy, I want to use the same hosting that is already present for my .in.</p>
<p>I do not want to host a s... | [
{
"answer_id": 58762,
"author": "Digital Chris",
"author_id": 34959,
"author_profile": "https://webmasters.stackexchange.com/users/34959",
"pm_score": 1,
"selected": false,
"text": "<p>You want to update your DNS settings for the .com domain. The domain registrar usually has tools to mak... | 2014/02/26 | [
"https://webmasters.stackexchange.com/questions/58761",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18142/"
] | I have a **somedomainname.in** domain with hosting from some ABC provider. The site is up and running.
I recently bought its .com i.e **somedomainname.com** from a seller on GoDaddy, I want to use the same hosting that is already present for my .in.
I do not want to host a seperate site using this hosting, I want to ... | You want to update your DNS settings for the .com domain. The domain registrar usually has tools to make this easier. You can set a [CNAME record](http://en.wikipedia.org/wiki/CNAME_record) (alias) like this:
```
somedomain.com. CNAME somedomain.in.
```
This will cause somedomain.com to resolve to the same IP addres... |
58,819 | <p>I have three sites running under the main domain <code>example.com/en/</code> <code>example.com/ar/</code> <code>example.com/ur/</code>
<br>
And there is a main HTML landing page <code>example.com</code> which have some introduction in three languages and links to three sites. <br>
Now i want this landing page to ha... | [
{
"answer_id": 58846,
"author": "Dumbo sapiens",
"author_id": 36491,
"author_profile": "https://webmasters.stackexchange.com/users/36491",
"pm_score": 0,
"selected": false,
"text": "<p>Use the <code>rel=\"alternate\" hreflang=\"x\"</code> annotation in your HTML <code><head></code>... | 2014/02/27 | [
"https://webmasters.stackexchange.com/questions/58819",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34113/"
] | I have three sites running under the main domain `example.com/en/` `example.com/ar/` `example.com/ur/`
And there is a main HTML landing page `example.com` which have some introduction in three languages and links to three sites.
Now i want this landing page to have a good SEO. and i want this page to appear in sea... | Of course you can create a single landing page for all languages …
```
<!DOCTYPE html>
<head>
<title>Example.com</title>
</head>
<body>
<article lang="en">
<h1><!-- English site title --></h1>
<p>…</p>
<a href="/en/" hreflang="en">Visit the English site</a>
</article>
<article lang="ar">
<h1... |
58,833 | <p>I'm creating a feed that will show different subjects with <a href="http://masonry.desandro.com/" rel="nofollow">Masonry</a>. These "boxes" will be clickable and link to external websites. Now some of the "boxes" in Masonry will eventually be ads.<br /><br/>
I read somewhere that if you're showing ads on your websit... | [
{
"answer_id": 58837,
"author": "PatomaS",
"author_id": 19116,
"author_profile": "https://webmasters.stackexchange.com/users/19116",
"pm_score": 0,
"selected": false,
"text": "<p>May be in some countries you have to tell the user that something is advertisement, although, as far as I kno... | 2014/02/27 | [
"https://webmasters.stackexchange.com/questions/58833",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36391/"
] | I'm creating a feed that will show different subjects with [Masonry](http://masonry.desandro.com/). These "boxes" will be clickable and link to external websites. Now some of the "boxes" in Masonry will eventually be ads.
I read somewhere that if you're showing ads on your website, you MUST display something like
`... | There is no legal requirement. However, it might be considered good ediquette if you do indicate `Advertisement` or `Sponsored by` to let your users know that this is leading to an external site and is not part of your site's content.
Depending on how you present the ads in relationship to your content, some users ma... |
58,847 | <p>I have a dynamic English language site. If a user views the site in the US (with a US IP address) some of the site's language is altered so that it make more sense to a US audience. Anywhere else, Australia, United Kingdom, etc. the site displays its default language.</p>
<p>When I Google Search my site from the UK... | [
{
"answer_id": 58848,
"author": "Dumbo sapiens",
"author_id": 36491,
"author_profile": "https://webmasters.stackexchange.com/users/36491",
"pm_score": 0,
"selected": false,
"text": "<p>Yes you can point Google to the correct version with the <code>rel=\"alternate\" hreflang=\"x\"</code> ... | 2014/02/27 | [
"https://webmasters.stackexchange.com/questions/58847",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a dynamic English language site. If a user views the site in the US (with a US IP address) some of the site's language is altered so that it make more sense to a US audience. Anywhere else, Australia, United Kingdom, etc. the site displays its default language.
When I Google Search my site from the UK the langu... | If you're using a server-side language like PHP to alter the content of the same URL served to users and bots based their IP address (i.e., geotargeting via [IP delivery](http://en.wikipedia.org/wiki/Geotargeting#IP_delivery_in_SEO)), search engines will index the content that is displayed to them based on where their ... |
58,851 | <p>I have a website for more than one year (it's a blog with .com domain).</p>
<p>I track my visitors using Google Analytics and I mention that I have an average of 7000 unique visitors/day. The whole year since my blog is online I had over 2.000.000 unique visitors but my Alexa.com Rank is 25.000.000</p>
<p>How is i... | [
{
"answer_id": 58848,
"author": "Dumbo sapiens",
"author_id": 36491,
"author_profile": "https://webmasters.stackexchange.com/users/36491",
"pm_score": 0,
"selected": false,
"text": "<p>Yes you can point Google to the correct version with the <code>rel=\"alternate\" hreflang=\"x\"</code> ... | 2014/02/21 | [
"https://webmasters.stackexchange.com/questions/58851",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a website for more than one year (it's a blog with .com domain).
I track my visitors using Google Analytics and I mention that I have an average of 7000 unique visitors/day. The whole year since my blog is online I had over 2.000.000 unique visitors but my Alexa.com Rank is 25.000.000
How is it possible?
Not... | If you're using a server-side language like PHP to alter the content of the same URL served to users and bots based their IP address (i.e., geotargeting via [IP delivery](http://en.wikipedia.org/wiki/Geotargeting#IP_delivery_in_SEO)), search engines will index the content that is displayed to them based on where their ... |
58,862 | <p>I'll often see a URL that looks something like this:</p>
<pre><code>site.com/articles/may/05/02/2011/article-name.php
</code></pre>
<p>Surely all of those subdirectories don't actually exist? It seems like it would be a huge redundancy, even if it was only an identical index file in every directory. To change anyt... | [
{
"answer_id": 58863,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>Actually these are often blog sites and often with static rather than dynamic content, though not always. T... | 2014/02/27 | [
"https://webmasters.stackexchange.com/questions/58862",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36533/"
] | I'll often see a URL that looks something like this:
```
site.com/articles/may/05/02/2011/article-name.php
```
Surely all of those subdirectories don't actually exist? It seems like it would be a huge redundancy, even if it was only an identical index file in every directory. To change anything you'd have to change ... | The subject you need to look into is called a `Rewrite engine`.
Basically, a dynamically generated page (eg a CMS page) needs to get parameters sent to it via the URL so that it knows what content to display. For example, if a site only needs to know the article id in order to get that article's content from the datab... |
58,871 | <p>I have recently launched a client’s site and for the last few days and with increasing frequency I am seeing strange entries into the access log.</p>
<pre><code>[28/Feb/2014:06:26:53 +0800] "GET //RS=^ADAA6U_G38x_VuWqDIVQJpBbDUsUW0- HTTP/1.1" 302 630 "http://www.domain.com.au/" "Mozilla/5.0 (Windows NT 6.0) AppleWe... | [
{
"answer_id": 58874,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 4,
"selected": true,
"text": "<p>I couldn't find anything related to that request so if it is anything malicious it hasn't come to light yet. ... | 2014/02/28 | [
"https://webmasters.stackexchange.com/questions/58871",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36538/"
] | I have recently launched a client’s site and for the last few days and with increasing frequency I am seeing strange entries into the access log.
```
[28/Feb/2014:06:26:53 +0800] "GET //RS=^ADAA6U_G38x_VuWqDIVQJpBbDUsUW0- HTTP/1.1" 302 630 "http://www.domain.com.au/" "Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (K... | I couldn't find anything related to that request so if it is anything malicious it hasn't come to light yet. I also don't see how it could be used to harm your site.
Having said that, the bad guys seem to be one step ahead of us so if this request doesn't serve any useful purpose on your site I would try to block it. ... |
58,926 | <p>Should the Schema.org <code>SiteNavigationElement</code> be structured like this</p>
<pre class="lang-html prettyprint-override"><code><div itemscope itemtype="http://www.schema.org/SiteNavigationElement">
<ul>
<li itemprop="url"><a href="#" itemprop="name">Link 1</a>
&... | [
{
"answer_id": 58935,
"author": "PatomaS",
"author_id": 19116,
"author_profile": "https://webmasters.stackexchange.com/users/19116",
"pm_score": 1,
"selected": false,
"text": "<p>SiteNavigationElement has a problem for me, and for some other people as well, like we can see in the questio... | 2014/03/02 | [
"https://webmasters.stackexchange.com/questions/58926",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34835/"
] | Should the Schema.org `SiteNavigationElement` be structured like this
```html
<div itemscope itemtype="http://www.schema.org/SiteNavigationElement">
<ul>
<li itemprop="url"><a href="#" itemprop="name">Link 1</a>
</ul>
</div>
```
or like this?
```html
<div itemscope itemtype="http://www.schema.org/Si... | Your questions seem to be:
* Can I specify `itemprop="url"` on `li`?
* Can I specify `itemprop="name"` on `a`?
The answer to both of these questions is: No, you should not do that. [Microdata defines special parsing rules for elements like `a`.](https://webmasters.stackexchange.com/a/63189/17633)
Schema.org’s [`url... |
58,940 | <p>My company is running a few internal websites that we do not want indexed by search engines such as Google, Bing etc.</p>
<p>However, the websites still need to be accessible for our customers, and therefore, I do not wish to use <a href="http://httpd.apache.org/docs/2.2/howto/auth.html" rel="nofollow">HTTP passwor... | [
{
"answer_id": 58941,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<p>Use <code>Header set X-Robots-Tag \"noindex\"</code>. This prevents pages from being in a search engine's in... | 2014/03/02 | [
"https://webmasters.stackexchange.com/questions/58940",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36592/"
] | My company is running a few internal websites that we do not want indexed by search engines such as Google, Bing etc.
However, the websites still need to be accessible for our customers, and therefore, I do not wish to use [HTTP password protection](http://httpd.apache.org/docs/2.2/howto/auth.html).
Obviously, I alre... | Any method that relies on the crawler's good behaviour, may fail, so the best option is to use the strongest force/authority available, in this case, the web server itself. If you have access to the main web server configuration or at least to the [.htaccess](http://www.htaccess-guide.com/) file, you should use a metho... |
59,042 | <p>After I read <a href="https://webmasters.stackexchange.com/questions/6556/does-the-order-of-keywords-matter-in-a-page-title/">this question and answer</a> about SEO and title, I want to ask if it is necessary to put the company name or the domain name into the title.</p>
<p>On the start page I think it is necessary... | [
{
"answer_id": 59044,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": false,
"text": "<p>Only regard to branding. Otherwise, it does not matter. For example, if you are trying to brand the website... | 2014/03/04 | [
"https://webmasters.stackexchange.com/questions/59042",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35905/"
] | After I read [this question and answer](https://webmasters.stackexchange.com/questions/6556/does-the-order-of-keywords-matter-in-a-page-title/) about SEO and title, I want to ask if it is necessary to put the company name or the domain name into the title.
On the start page I think it is necessary, like Stack Exchange... | Only regard to branding. Otherwise, it does not matter. For example, if you are trying to brand the website, meaning you want the domain name to be recognizable as a brand, then yes. Put it in. Otherwise there is no real value that I can see.
Branding a website is to connect the website name to perceived value. For ex... |
59,134 | <p>I'm using HTML5.</p>
<p>I just a bit confused that some people said "html validator does not like <code><tag attrs /></code> tags style". It is obvious that if I need to place some content between opening and closing tag I should use <code><tag></code>content<code></tag></code> tag style. But if n... | [
{
"answer_id": 59133,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<blockquote>\n<p>a) just increase the number of categories as soon as google got almost everything crawled?</p>\... | 2014/03/06 | [
"https://webmasters.stackexchange.com/questions/59134",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35141/"
] | I'm using HTML5.
I just a bit confused that some people said "html validator does not like `<tag attrs />` tags style". It is obvious that if I need to place some content between opening and closing tag I should use `<tag>`content`</tag>` tag style. But if not, which one is right?
```
<tag attrs />
<tag attrs>
```
... | >
> a) just increase the number of categories as soon as google got almost everything crawled?
>
>
> b) just take out categories that do not work and put in others that work better? So that Google Bot is focused on our top 50 categories (with approx 250.000 Products)
>
>
>
Not placing pages in your sitemap doesn... |
59,157 | <p>I would like to have local (intranet) HTTP traffic go to the <code>/var/www/html</code> folder while any public traffic goes to the subfolder, <code>/var/www/html/public</code></p>
<p>I've tried this configuration, with some variation, in httpd.conf</p>
<pre><code><VirtualHost PRIVATE-IP>
DocumentRoot /v... | [
{
"answer_id": 59194,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 1,
"selected": false,
"text": "<p>I am not aware of the solution you are using but it does look solid from here. Clearly I have something new... | 2014/03/07 | [
"https://webmasters.stackexchange.com/questions/59157",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36747/"
] | I would like to have local (intranet) HTTP traffic go to the `/var/www/html` folder while any public traffic goes to the subfolder, `/var/www/html/public`
I've tried this configuration, with some variation, in httpd.conf
```
<VirtualHost PRIVATE-IP>
DocumentRoot /var/www/html
ServerName ecn
ErrorLog /var/... | I am not aware of the solution you are using but it does look solid from here. Clearly I have something new to learn.
I do redirects depending upon IP addresses in .htaccess. I thought I would provide an example if it helps.
```
RewriteCond %{REMOTE_ADDR} "!^120.0.0.([0-255])$"
RewriteRule mydomain.com/public [R,L]
... |
59,171 | <p>When creating web page titles, is there any difference between using the word 'and' in the title compared to using an ampersand?</p>
| [
{
"answer_id": 59172,
"author": "zigojacko",
"author_id": 12183,
"author_profile": "https://webmasters.stackexchange.com/users/12183",
"pm_score": 2,
"selected": false,
"text": "<p>& (ampersand) and the word 'and' are treated similar but can yield different search results (although o... | 2014/03/07 | [
"https://webmasters.stackexchange.com/questions/59171",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36756/"
] | When creating web page titles, is there any difference between using the word 'and' in the title compared to using an ampersand? | & (ampersand) and the word 'and' are treated similar but can yield different search results (although often, very similar). The two might result in the same verbal sound 'and' but they do represent different contexts.
If I were to use the following page title:-
```
We have the best socks on the planet and they're col... |
59,197 | <p>I'm planning to buy an adspace on a specific website through Google Adsense, to link to a Google+ Business Page from it.
I've seen ads with a "+1 button" in it, is a link to Google+ Page possible too?</p>
<p>The html link would look like this:</p>
<pre><code><a href="https://plus.google.com/1234567890" rel="pub... | [
{
"answer_id": 59240,
"author": "user3398650",
"author_id": 36806,
"author_profile": "https://webmasters.stackexchange.com/users/36806",
"pm_score": -1,
"selected": false,
"text": "<p>yes you can link to G+ from google adsense, I don't see any issue with it.</p>\n"
},
{
"answer_i... | 2014/03/07 | [
"https://webmasters.stackexchange.com/questions/59197",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36775/"
] | I'm planning to buy an adspace on a specific website through Google Adsense, to link to a Google+ Business Page from it.
I've seen ads with a "+1 button" in it, is a link to Google+ Page possible too?
The html link would look like this:
```
<a href="https://plus.google.com/1234567890" rel="publisher">Follow Company</... | You can connect your Google+ Page to your AdWords campaigns, so, when you buy an adspace your ads will show the link to your page and your followers in your Google+ page.
You can read about "Show ads with your Google+ page endorsements" here: <https://support.google.com/adwords/answer/1722132?hl=en-GB> |
59,226 | <p>Is there a Cloudflare setting that corresponds to the creation of the <code>__cfduid</code> session cookie?</p>
<p>I'm currently trying out CF; mostly for the neat DNS management and the implicit CDN. But the basic WAF is possibly just as nice an addition atop Apaches mod_security/CRS. However I'm not sure what sai... | [
{
"answer_id": 59225,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 2,
"selected": false,
"text": "<blockquote>\n <p>Are these bots that index my site(s) or are they malicious by nature and should be banned us... | 2014/03/08 | [
"https://webmasters.stackexchange.com/questions/59226",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/6217/"
] | Is there a Cloudflare setting that corresponds to the creation of the `__cfduid` session cookie?
I'm currently trying out CF; mostly for the neat DNS management and the implicit CDN. But the basic WAF is possibly just as nice an addition atop Apaches mod\_security/CRS. However I'm not sure what said cookies purpose is... | >
> Are these bots that index my site(s) or are they malicious by nature and should be banned using an IP deny filter?
>
>
>
You tell us. If they're interacting with your site as any normal user would there is no need to block them. If they're using the site more than visitors from other regions then your site may... |
59,234 | <p>I have a website (site1.com) that has another site being built within it (site1.com/newsite).</p>
<p>My client wants to create a new domain name and have it point to the directory that houses the new site.</p>
<p>As a front end dev I am very confused as to how to go about this. Is this something that can be in hta... | [
{
"answer_id": 59235,
"author": "Tero Kilkanen",
"author_id": 36798,
"author_profile": "https://webmasters.stackexchange.com/users/36798",
"pm_score": 0,
"selected": false,
"text": "<p>If you have access to your current hosting setup, you can configure a new <strong>virtual host</strong>... | 2014/03/09 | [
"https://webmasters.stackexchange.com/questions/59234",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/21289/"
] | I have a website (site1.com) that has another site being built within it (site1.com/newsite).
My client wants to create a new domain name and have it point to the directory that houses the new site.
As a front end dev I am very confused as to how to go about this. Is this something that can be in htaccess? What would... | Let's assume that
* your client's new domain is client.com
* your server's ip address (where you have site1.com/newsite) is 192.168.1.1
* the path to newsite on your server is /srv/www/newsite
* your webserver is Apache
First, you need to create a virtual host in Apache, containing at least:
```
<VirtualHost *:80>
... |
59,249 | <p>The story is incredibly long. Long story short, someone is using amazonaws IPs for a bot that's clicking on my Adsense ads. I'm trying to ban all amazonaws IPs, but it doesn't work. The bigger problem is that I can't ban any ip. </p>
<p>I tried this:</p>
<pre>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REF... | [
{
"answer_id": 59251,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/... | 2014/03/09 | [
"https://webmasters.stackexchange.com/questions/59249",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/27157/"
] | The story is incredibly long. Long story short, someone is using amazonaws IPs for a bot that's clicking on my Adsense ads. I'm trying to ban all amazonaws IPs, but it doesn't work. The bigger problem is that I can't ban any ip.
I tried this:
```
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_REFERER} ^http://.*... | Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/sites-available/mydomain.com.conf for the presence of AllowOverride All.
Next try it this way:
```
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*amazonaws\.com$ [NC,OR]
RewriteCond %{REMOTE_HOST} ^.*compute-... |
59,250 | <p>In the newest version of Google Analytics (2014), where do I find the conversion tracking code? The following resource doesn't tell me and I can't figure it out.</p>
<p><a href="https://support.google.com/analytics/answer/1033158?hl=en" rel="nofollow">https://support.google.com/analytics/answer/1033158?hl=en</a></p... | [
{
"answer_id": 59251,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/... | 2014/03/09 | [
"https://webmasters.stackexchange.com/questions/59250",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36809/"
] | In the newest version of Google Analytics (2014), where do I find the conversion tracking code? The following resource doesn't tell me and I can't figure it out.
<https://support.google.com/analytics/answer/1033158?hl=en> | Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/sites-available/mydomain.com.conf for the presence of AllowOverride All.
Next try it this way:
```
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*amazonaws\.com$ [NC,OR]
RewriteCond %{REMOTE_HOST} ^.*compute-... |
59,252 | <p>So today I discovered that the pages from my website are listed with an unexpected date value. I specify the <a href="http://schema.org/CreativeWork" rel="nofollow">schema.org</a> properties <code>dateCreated</code> and <code>dateModified</code> for most of my content pages. I'd expect that search results show me wh... | [
{
"answer_id": 59251,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/... | 2014/03/09 | [
"https://webmasters.stackexchange.com/questions/59252",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/13951/"
] | So today I discovered that the pages from my website are listed with an unexpected date value. I specify the [schema.org](http://schema.org/CreativeWork) properties `dateCreated` and `dateModified` for most of my content pages. I'd expect that search results show me when a page was last updated, to get a sense of the c... | Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/sites-available/mydomain.com.conf for the presence of AllowOverride All.
Next try it this way:
```
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*amazonaws\.com$ [NC,OR]
RewriteCond %{REMOTE_HOST} ^.*compute-... |
59,272 | <p>Internet Explorer has a <a href="http://msdn.microsoft.com/en-us/library/ms537343%28v=VS.85%29.aspx" rel="nofollow">non-standard P3P privacy policy implementation</a> (what a surprise). This prevents cookies from being loaded in <code>iframes</code>.</p>
<p>Google Tag Manager <a href="https://developers.google.com/... | [
{
"answer_id": 59251,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/... | 2014/03/10 | [
"https://webmasters.stackexchange.com/questions/59272",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/16906/"
] | Internet Explorer has a [non-standard P3P privacy policy implementation](http://msdn.microsoft.com/en-us/library/ms537343%28v=VS.85%29.aspx) (what a surprise). This prevents cookies from being loaded in `iframes`.
Google Tag Manager [uses an iframe](https://developers.google.com/tag-manager/devguide#renaming).
Does ... | Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/sites-available/mydomain.com.conf for the presence of AllowOverride All.
Next try it this way:
```
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*amazonaws\.com$ [NC,OR]
RewriteCond %{REMOTE_HOST} ^.*compute-... |
59,286 | <p>I have an element in my website that shows the last updates of my website.</p>
<p>My current structure of the website is this:</p>
<pre><code><body itemscope itemtype="http://schema.org/webpage"
<div itemscope itemtype="http://schema.org/WPSideBar>
<div>...some text...</div>
... | [
{
"answer_id": 59251,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/... | 2014/03/10 | [
"https://webmasters.stackexchange.com/questions/59286",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36462/"
] | I have an element in my website that shows the last updates of my website.
My current structure of the website is this:
```
<body itemscope itemtype="http://schema.org/webpage"
<div itemscope itemtype="http://schema.org/WPSideBar>
<div>...some text...</div>
<div>last update: 23/1/2014</div> //last u... | Check your /etc/apache2/apache2.conf or /etc/apache2/httpd.conf, or if you have multi-hosting, /etc/apache2/sites-available/mydomain.com.conf for the presence of AllowOverride All.
Next try it this way:
```
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^.*amazonaws\.com$ [NC,OR]
RewriteCond %{REMOTE_HOST} ^.*compute-... |
59,300 | <p>According to '<a href="http://schema.org/docs/full.html" rel="nofollow">http://schema.org/docs/full.html</a>' </p>
<p><code>Article</code>, <code>WebPage</code>, <code>WebPageElement</code> are in the same level.</p>
<p><code>WPSideBar</code> is child of <code>WebPageElement</code>.</p>
<p>Now, should I add child... | [
{
"answer_id": 59291,
"author": "zigojacko",
"author_id": 12183,
"author_profile": "https://webmasters.stackexchange.com/users/12183",
"pm_score": 0,
"selected": false,
"text": "<p>Minimal SEO value as it is a sitewide link but if you've built a great website which credits you in its foo... | 2014/03/10 | [
"https://webmasters.stackexchange.com/questions/59300",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36462/"
] | According to '<http://schema.org/docs/full.html>'
`Article`, `WebPage`, `WebPageElement` are in the same level.
`WPSideBar` is child of `WebPageElement`.
Now, should I add child under parent or is this code is correct?
```
<div itemscope itemtype="http://schema.org/WPSideBar">
<div itemscope itemtype="http://... | Actually, Google is looking at site-wide or template backlinks negatively these days. I do not happen to agree with this fully. It is traditional to give credit to those who have helped you with a link in the footer. But because of the excessive footer links used in template designers in the past few years, Google, and... |
59,305 | <p>I'm not sure exactly what these "filler pages" are called, so I couldn't do a proper search.</p>
<p>If I have a business, say a plumbing/heating company in NYC, and I created these HTML pages:</p>
<pre><code>New-York-City-plumbing-company.html
Manhattan-plumbing-company.html
Brooklyn-plumbing-company.html
New-Yor... | [
{
"answer_id": 59309,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 2,
"selected": false,
"text": "<p>Nowadays, it sounds like a terrible idea. Please be aware of:</p>\n\n<ol>\n<li>Using keywords in URL is old... | 2014/03/10 | [
"https://webmasters.stackexchange.com/questions/59305",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35876/"
] | I'm not sure exactly what these "filler pages" are called, so I couldn't do a proper search.
If I have a business, say a plumbing/heating company in NYC, and I created these HTML pages:
```
New-York-City-plumbing-company.html
Manhattan-plumbing-company.html
Brooklyn-plumbing-company.html
New-York-City-heating-servic... | Google has a specific guideline against creating filler pages. They call it "[doorway pages](https://support.google.com/webmasters/answer/2721311?hl=en)".
>
> Doorway pages are typically large sets of poor-quality pages where each page is optimized for a specific keyword or phrase. In many cases, doorway pages are wr... |
59,340 | <p>I have a basic question about SEO and HTML design. Most homepage of websites use the code below:</p>
<pre><code><html>
<head>
<title>Website name</title>
</head>
<body>
<h1>Website name</h1>
...some Slidebar That shows items list an... | [
{
"answer_id": 59341,
"author": "Jukka K. Korpela",
"author_id": 13609,
"author_profile": "https://webmasters.stackexchange.com/users/13609",
"pm_score": 2,
"selected": false,
"text": "<p>All HTML specifications define the <code>title</code> element as specifying a title for the <em>page... | 2014/03/11 | [
"https://webmasters.stackexchange.com/questions/59340",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36462/"
] | I have a basic question about SEO and HTML design. Most homepage of websites use the code below:
```
<html>
<head>
<title>Website name</title>
</head>
<body>
<h1>Website name</h1>
...some Slidebar That shows items list and artciles list...
</body>
</html>
```
But for an intern... | For all internal pages of your site, you need to use a specific `<title>` tag to describe the content of the page. If you use the same `<title>` for more than one page, this is a SEO issue. The `<h1>` tag can also represent the title of the page, especially for an article (even if this is not really the case anymore wi... |
59,439 | <p>Only my main page shows up on a Google search on site:domain.com and I start to wonder why this happens. I also use Google Webmaster Tools which confirms this.</p>
<p>On my main page, I have these types of links</p>
<pre><code><a href="1234/some-nice-seo-text" onclick="loadPageWithAjax(1234); return false;">... | [
{
"answer_id": 59408,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": true,
"text": "<p>No, you can't do this. This is the <em>very definition of black hat SEO</em>. This is <strong>exactly</strong... | 2014/03/13 | [
"https://webmasters.stackexchange.com/questions/59439",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36938/"
] | Only my main page shows up on a Google search on site:domain.com and I start to wonder why this happens. I also use Google Webmaster Tools which confirms this.
On my main page, I have these types of links
```
<a href="1234/some-nice-seo-text" onclick="loadPageWithAjax(1234); return false;">
```
The 1234 is the id o... | No, you can't do this. This is the *very definition of black hat SEO*. This is **exactly** what the search engines don't want websites to do. If you do this you will get penalized up to and including having your site banned from Google. **This is a very bad idea.** |
59,467 | <p>I have noticed large amount of traffic coming to my site from different IP's with user agent. </p>
<pre><code>Mozilla/5.0 (compatible; SiteExplorer/1.0b; +http://siteexplorer.info/)
</code></pre>
<p>I don't have much experience with Apache servers and hope someone can explain to me how to actually block this from ... | [
{
"answer_id": 59482,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>It is more than okay to block any agent when the agent is very specific. In this case, you should be safe.<... | 2014/03/14 | [
"https://webmasters.stackexchange.com/questions/59467",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/12871/"
] | I have noticed large amount of traffic coming to my site from different IP's with user agent.
```
Mozilla/5.0 (compatible; SiteExplorer/1.0b; +http://siteexplorer.info/)
```
I don't have much experience with Apache servers and hope someone can explain to me how to actually block this from accessing my site with *.h... | Your regular expression specifies that the string must not have anything before or after the name of the crawler. That is what the `^` and `$` do. I'm also not sure why you would have a `?` in there, which makes the "r" at the end optional.
Try this instead:
```
SetEnvIfNoCase User-Agent "siteexplorer" bad_user
Deny ... |
59,543 | <p>All <code>.php</code> files are rewritted before doing the below rewriting:</p>
<pre><code>test.php => test
foo.php => foo
</code></pre>
<p>I want to rewrite this URL <code>http://www.testdomain.com/test?name=john&id=2&nick=doe</code> to <code>http://www.testdomain.com/test/john/2/doe</code>.</p>
<p... | [
{
"answer_id": 59558,
"author": "user550",
"author_id": 37042,
"author_profile": "https://webmasters.stackexchange.com/users/37042",
"pm_score": 0,
"selected": false,
"text": "<p>You should just redirect everything to your script then process in there like so:</p>\n\n<pre><code>RewriteE... | 2014/03/17 | [
"https://webmasters.stackexchange.com/questions/59543",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34969/"
] | All `.php` files are rewritted before doing the below rewriting:
```
test.php => test
foo.php => foo
```
I want to rewrite this URL `http://www.testdomain.com/test?name=john&id=2&nick=doe` to `http://www.testdomain.com/test/john/2/doe`.
`test` is the index file.
I tried these methods to rewrite:
1. Method 1:
```... | You mentioned that two options are valid for you, so I'm using the second one, `http://www.testdomain.com/john/2/doe`, and assuming a clean .htaccess
```
RewriteEngine On
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{QUERY_STRING} ^name=([\w]+)\&id=([\d]{1,3})\&nick=([\w]+)$... |
59,553 | <p>Do Google sitemap URLs need to be double <code>urlencoded</code>?</p>
<p>I am submitting my sitemaps to Google and Google is having difficulty navigating to URLs that contain <code>urlencoded</code> characters. An example of a problematic URL is one that contains <code>here&there</code> (which has been <code>u... | [
{
"answer_id": 59567,
"author": "zigojacko",
"author_id": 12183,
"author_profile": "https://webmasters.stackexchange.com/users/12183",
"pm_score": 1,
"selected": false,
"text": "<p>Or you could just use <code>preg_replace</code> with <code>urldecode</code> in the URL construction to reta... | 2014/03/17 | [
"https://webmasters.stackexchange.com/questions/59553",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36971/"
] | Do Google sitemap URLs need to be double `urlencoded`?
I am submitting my sitemaps to Google and Google is having difficulty navigating to URLs that contain `urlencoded` characters. An example of a problematic URL is one that contains `here&there` (which has been `urlencoded` to `here%26there`). In my sitemap, this UR... | I when ahead and submitted my site maps to Google with Double urlencoding. In other words, if a URL contained a urlencoded character, such as %26, this became %2526
My 404 errors are now down from 14,000 to 10,000 and are still dropping. |
59,584 | <p>When adding a html sitemap to a site, for SEO purposes should the links it contains be locally referenced or is it better to use the full URL?</p>
<p>Eg:</p>
<pre><code><ul>
<li><a href="/company/about-us.html">About Us</a></li>
<li><a href="/company/environmental-policy.... | [
{
"answer_id": 59585,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Sitemap URLs must be absolute.</p>\n\n<p>From: <code>https://support.google.com/webmasters/answer/183668</co... | 2014/03/18 | [
"https://webmasters.stackexchange.com/questions/59584",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/23890/"
] | When adding a html sitemap to a site, for SEO purposes should the links it contains be locally referenced or is it better to use the full URL?
Eg:
```
<ul>
<li><a href="/company/about-us.html">About Us</a></li>
<li><a href="/company/environmental-policy.html">Environmental Policy</a></li>
<li><a href="/company/... | Sitemap URLs must be absolute.
From: `https://support.google.com/webmasters/answer/183668`
You must fully specify URLs, as Google attempts to crawl them exactly as provided.
As a side note, sitemaps do not effect SEO. |
59,609 | <p>I have Magento site and there are so many 301 redirected pages.</p>
<p>For example, <code>www.example.com/catalog/product/view/id/910/category/3</code> is redirected to <code>www.example.com/engine-parts/2000-2004-vw-sharan-starter-motor</code>. After this type of all pages redirect for <code>www.example.com/2000-2... | [
{
"answer_id": 59610,
"author": "MilesWeb",
"author_id": 36947,
"author_profile": "https://webmasters.stackexchange.com/users/36947",
"pm_score": 0,
"selected": false,
"text": "<p>Please browse through <a href=\"https://magento.stackexchange.com/questions/4169/remove-unnesessary-url-rewr... | 2014/03/19 | [
"https://webmasters.stackexchange.com/questions/59609",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37077/"
] | I have Magento site and there are so many 301 redirected pages.
For example, `www.example.com/catalog/product/view/id/910/category/3` is redirected to `www.example.com/engine-parts/2000-2004-vw-sharan-starter-motor`. After this type of all pages redirect for `www.example.com/2000-2004-vw-sharan-starter-motor`.
My web... | If you are looking at the auto-generated rewrites in Magento's 'URL Rewrite Management' page then all of those URL re-writes are actually necessary in order for Magento to serve your products/categories at search engine friendly URL's.
For example:-
```
www.example.com/2000-2004-vw-sharan-starter-motor
```
Instead... |
59,619 | <p>I have a big problem with GeoIP. My website has the following structure</p>
<ul>
<li>www.domain.com</li>
<li>it.domain.com</li>
<li>de.domain.com</li>
</ul>
<p>I use the MaxMind GeoIP module in Apache to redirect users to the appropriate site base on their country.</p>
<p>My problem is when a user from Italy visi... | [
{
"answer_id": 59834,
"author": "ek9",
"author_id": 37015,
"author_profile": "https://webmasters.stackexchange.com/users/37015",
"pm_score": 0,
"selected": false,
"text": "<p>I would use cookie for this on <code>*.domain.com</code>. Special cookie value (let's say <code>lang</code>) shou... | 2014/03/19 | [
"https://webmasters.stackexchange.com/questions/59619",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34640/"
] | I have a big problem with GeoIP. My website has the following structure
* www.domain.com
* it.domain.com
* de.domain.com
I use the MaxMind GeoIP module in Apache to redirect users to the appropriate site base on their country.
My problem is when a user from Italy visits it.domain.com: if ge wants to change language ... | Forget geolocation - it's fundamentally flawed as you have noted. Browsers send an Accept-Language header, check that on your www. site and flip the user, once, to the language they say they prefer. On the subdomains, provide change-language links but do not do any checks.
I develop multi-lingual sites from Japan (rea... |
59,624 | <p>I have a web page on a Linux server I administer, running Apache 2.2. This server is visible to the outside world for some other services. </p>
<p>I would like to configure Apache so that a given virtual host is only visible from inside the local network, so I can deploy a web application to get feedback from other... | [
{
"answer_id": 59644,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": -1,
"selected": false,
"text": "<p>I do not know how you have your network setup, however, I am assuming somethings to try and make a better ... | 2014/03/19 | [
"https://webmasters.stackexchange.com/questions/59624",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37060/"
] | I have a web page on a Linux server I administer, running Apache 2.2. This server is visible to the outside world for some other services.
I would like to configure Apache so that a given virtual host is only visible from inside the local network, so I can deploy a web application to get feedback from other people in... | Easy. Just set something like this within your main configuration or your virtual configuration:
```
<Directory /var/www/path/to/your/web/documents>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 ::1
Allow from localhost
Allow from 192.168
Allow from 10
Satisfy Any
</Directory>
```
The `<Directo... |
59,626 | <p>I am using Google Site Search on our site and am looking for a way to get our parts number to show on the results page when searched. </p>
<p>For example, if a user searches <em>E23-457-123</em> or <em>E45-65-322</em> or <em>E11-23-567</em> I want the page specifically about our <em>E</em> part. </p>
<p>I was co... | [
{
"answer_id": 59630,
"author": "JCL1178",
"author_id": 5757,
"author_profile": "https://webmasters.stackexchange.com/users/5757",
"pm_score": 1,
"selected": false,
"text": "<p>Hiding your text is a signal to Google to not index it. It's worth remembering that Google wants your web site ... | 2014/03/19 | [
"https://webmasters.stackexchange.com/questions/59626",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37092/"
] | I am using Google Site Search on our site and am looking for a way to get our parts number to show on the results page when searched.
For example, if a user searches *E23-457-123* or *E45-65-322* or *E11-23-567* I want the page specifically about our *E* part.
I was considering using CSS and hiding a `<div>` but I ... | Hiding your text is a signal to Google to not index it. It's worth remembering that Google wants your web site to be a good user experience and part of that is having relevant text readable by humans. Hiding text looks like spammy behavior to Google and it will hurt your rankings. Don't do it.
That being said, this i... |
59,681 | <p>Issue:
Strange and seemingly random entries on the CPanel Latest Visitors console, showing IPs accessing image files without any referring URL and not identified as Bots.</p>
<p>Background:
I have never had any website or IT training or instruction.
I created several websites about transportation hobby subjects, wh... | [
{
"answer_id": 59924,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>These are not Googlebot IP addresses. It is not uncommon for a bad bot operator to use Googlebot as an agen... | 2014/03/20 | [
"https://webmasters.stackexchange.com/questions/59681",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37128/"
] | Issue:
Strange and seemingly random entries on the CPanel Latest Visitors console, showing IPs accessing image files without any referring URL and not identified as Bots.
Background:
I have never had any website or IT training or instruction.
I created several websites about transportation hobby subjects, which should... | There is a way to directly block the viewing of the images using .htaccess
```
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?localhost.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
```
This is going to return a 403 Forbidden error if you access ... |
59,697 | <p>I am currently in the process of redesigning a job advert site and am trying to put a lot more effort into my SEO.</p>
<p>My question is how should I deal with the URLs that point to job adverts when the advert expires. The options I have thought of so far are:</p>
<ol>
<li>Return a 404 error and redirect to a 404... | [
{
"answer_id": 59703,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>People forget that SEO is about more than just search engines. It is about conversion too. In a proper worl... | 2014/03/21 | [
"https://webmasters.stackexchange.com/questions/59697",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37142/"
] | I am currently in the process of redesigning a job advert site and am trying to put a lot more effort into my SEO.
My question is how should I deal with the URLs that point to job adverts when the advert expires. The options I have thought of so far are:
1. Return a 404 error and redirect to a 404 page. Will it have ... | If you know before time when this page (job advert) will expire then consider including an `unavailable_after` META tag (or `X-Robots-Tag` HTTP response header) to inform search engines (ie. Google) before time:
```
<meta name="googlebot" content="unavailable_after: 30-Mar-2014 18:00:00 GMT">
```
Reference: [Robots ... |
59,723 | <p>I recently switched a domain's email service to Google. The only records I changed in the name server was the MX records, pointing to Google. To my surprise, emails sent to and from Google Apps work just fine. So is there a point in changing the A, CNAME, and other records in the name server for a domain if the only... | [
{
"answer_id": 59724,
"author": "clement",
"author_id": 36836,
"author_profile": "https://webmasters.stackexchange.com/users/36836",
"pm_score": 2,
"selected": false,
"text": "<p>When you are sending a mail to <code>aaa@example.com</code>,The mail server of <code>example.com</code> is de... | 2014/03/22 | [
"https://webmasters.stackexchange.com/questions/59723",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37167/"
] | I recently switched a domain's email service to Google. The only records I changed in the name server was the MX records, pointing to Google. To my surprise, emails sent to and from Google Apps work just fine. So is there a point in changing the A, CNAME, and other records in the name server for a domain if the only us... | When you are sending a mail to `aaa@example.com`,The mail server of `example.com` is determined using `MX` records. Assume the following records for example.
```
example.com MX mail.example.com
mail.example.com A 1.2.3.4
```
If an `MX` record is found, `MTA` will do a forward lookup for the name returned (here `mai... |
59,726 | <p>Does it have sense to include sitemap URL into sitemap? </p>
<p>It is pointing to itself and in SEO perspective it's no use because if crawler is on our sitemap he already knows it, no need to inform it, right?</p>
<pre><code><?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/s... | [
{
"answer_id": 59729,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 3,
"selected": true,
"text": "<p>Sitemaps are for telling search engines where to find your content, not your sitemaps. So you should not incl... | 2014/03/22 | [
"https://webmasters.stackexchange.com/questions/59726",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37169/"
] | Does it have sense to include sitemap URL into sitemap?
It is pointing to itself and in SEO perspective it's no use because if crawler is on our sitemap he already knows it, no need to inform it, right?
```
<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url... | Sitemaps are for telling search engines where to find your content, not your sitemaps. So you should not include your sitemap URL in your sitemap. (It would be redundant anyway). |
59,753 | <p>I need to redirect <code>www.example.com:81/site/</code> to <code>www.example.com</code>. I have used mod_rewrite a few times, is it possible to solve this in a similar way?</p>
| [
{
"answer_id": 59754,
"author": "ek9",
"author_id": 37015,
"author_profile": "https://webmasters.stackexchange.com/users/37015",
"pm_score": 1,
"selected": false,
"text": "<p>On <code>example.com:81</code> create <em>.htaccess</em> file (where <code>site/</code> is):</p>\n\n<pre><code>Re... | 2014/03/23 | [
"https://webmasters.stackexchange.com/questions/59753",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37192/"
] | I need to redirect `www.example.com:81/site/` to `www.example.com`. I have used mod\_rewrite a few times, is it possible to solve this in a similar way? | On `example.com:81` create *.htaccess* file (where `site/` is):
```
RewriteEngine on
RewriteRule (.*) http://example.com:80/$1 [P,L]
```
With this when you go to `example.com:81` the site will proxy to `example.com`. |
59,764 | <p>I just purchased a domain on Dreamhost, let's say <code>foo.com</code>. I already have hosting, let's say at <code>123.4.56.789</code>, and have setup a directory <code>foo.com</code> which is accessible at <code>123.4.56.789/foo.com/</code>. I can set the DNS to point <code>foo.com</code> to that IP, but how do I r... | [
{
"answer_id": 59767,
"author": "MattDiamant",
"author_id": 37202,
"author_profile": "https://webmasters.stackexchange.com/users/37202",
"pm_score": 0,
"selected": false,
"text": "<p>Thanks to closetnoc for leading me on the right path by mentioning <code>sites-available</code>.</p>\n\n<... | 2014/03/23 | [
"https://webmasters.stackexchange.com/questions/59764",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37202/"
] | I just purchased a domain on Dreamhost, let's say `foo.com`. I already have hosting, let's say at `123.4.56.789`, and have setup a directory `foo.com` which is accessible at `123.4.56.789/foo.com/`. I can set the DNS to point `foo.com` to that IP, but how do I route it to that folder once it's there? My hosting has a r... | It has been a while since I have had to do this so I am a bit rusty. Please excuse any errors.
Here are some Apache documentation links:
<http://httpd.apache.org/docs/current/sections.html>
<http://httpd.apache.org/docs/current/vhosts/>
Here are some other reousrces that seem to be good:
<http://code.tutsplus.com/... |
59,794 | <p>Can the http referrer URL from Google be decoded so that I can see the specific keywords?</p>
<pre><code>http://www.google.sk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=11&sqi=2&ved=0CFgQFjAK&url=http://www.peciatky.sk/238-plombovacie-klieste.html&ei=WastU8_WMI-O7QautoCYBg&usg=AF... | [
{
"answer_id": 60350,
"author": "DisgruntledGoat",
"author_id": 233,
"author_profile": "https://webmasters.stackexchange.com/users/233",
"pm_score": 5,
"selected": true,
"text": "<p>Unfortunately, you can't. Google search now exclusively uses HTTPS and all search result clicks go through... | 2014/03/24 | [
"https://webmasters.stackexchange.com/questions/59794",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35439/"
] | Can the http referrer URL from Google be decoded so that I can see the specific keywords?
```
http://www.google.sk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=11&sqi=2&ved=0CFgQFjAK&url=http://www.peciatky.sk/238-plombovacie-klieste.html&ei=WastU8_WMI-O7QautoCYBg&usg=AFQjCNHAZhWGZeIoJGtAOoSgSG25l4Hyqw
``` | Unfortunately, you can't. Google search now exclusively uses HTTPS and all search result clicks go through an intermediate URL that removes the keywords. The URL you posted above appears to be that intermediate URL, and that's all you get as the referrer.
The reasoning behind this is that each user of Google often get... |
59,797 | <p>Other than esthetics, are there any valid reasons to choose pipes vs colons in an HTML <code><title></code> tag, or vice-versa? Usability? SEO?</p>
<p>Example:</p>
<pre class="lang-html prettyprint-override"><code><title>Example.com | Top 10 list of stuff</title>
</code></pre>
<p>or</p>
<pre cl... | [
{
"answer_id": 59799,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": false,
"text": "<p>I would think neither would make a difference except for preference. Search engines are looking at word bo... | 2014/03/24 | [
"https://webmasters.stackexchange.com/questions/59797",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/67/"
] | Other than esthetics, are there any valid reasons to choose pipes vs colons in an HTML `<title>` tag, or vice-versa? Usability? SEO?
Example:
```html
<title>Example.com | Top 10 list of stuff</title>
```
or
```html
<title>Example.com: Top 10 list of stuff</title>
``` | If it’s only colon vs. pipe: **Use the pipe.**
### 1. The colon might (more) often be part of the page title.
It might be confusing to have two colons. Example for an article called "Top 10: Songs":
>
> Example.com: Top 10: Songs
>
>
>
It seems as if "Top 10" would be some kind of second-level category here.
#... |
59,800 | <p>I created a website and I would like when I put any link pointing to my website, the "www" to be removed.</p>
<p>For example when someone enters <code>http://www.mydomain.com/users</code> into the browser address, this to be changed into <code>http://mydomain.com/users</code> when the page loads up.</p>
<p>I have ... | [
{
"answer_id": 59801,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<p>This is something that has to be configured in your host.</p>\n\n<p>If you are using Apache for example you could... | 2014/03/24 | [
"https://webmasters.stackexchange.com/questions/59800",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37254/"
] | I created a website and I would like when I put any link pointing to my website, the "www" to be removed.
For example when someone enters `http://www.mydomain.com/users` into the browser address, this to be changed into `http://mydomain.com/users` when the page loads up.
I have seen this happening with twitter. if yo... | You can use a simple HTTP redirect to remove the "www". Twitter for example uses a `HTTP 302 (Moved temporarily)` redirect to point `http://www.twitter.com` to `http://twitter.com` (and then a `HTTP 301 (Moved permanently)` to redirect to `https://twitter.com`).
Depending on your web server, there should be configurat... |
59,813 | <p>The company I work for sends a marketing email at least one time per week using Mailchimp's email service. All of our subscribers are opt-in active customers and our emails are not spammy. There is an above average text to image ratio, and copy does not contain 'spammy' words.</p>
<p>However, we've recently start... | [
{
"answer_id": 59868,
"author": "megasteve4",
"author_id": 3583,
"author_profile": "https://webmasters.stackexchange.com/users/3583",
"pm_score": 3,
"selected": true,
"text": "<p>To be honest with you I would <em>like</em> to think that Mail Chimp will have spf records and domain keys et... | 2014/03/24 | [
"https://webmasters.stackexchange.com/questions/59813",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34835/"
] | The company I work for sends a marketing email at least one time per week using Mailchimp's email service. All of our subscribers are opt-in active customers and our emails are not spammy. There is an above average text to image ratio, and copy does not contain 'spammy' words.
However, we've recently started noticing ... | To be honest with you I would *like* to think that Mail Chimp will have spf records and domain keys etc all sorted out and generally keeping the reputation of their infrastructure clean.
Hence I would imagine this will be issues with your content and interactions from your recipients.
A couple of things I have notice... |
59,848 | <p>I have a WordPress site which is more content centric. Today, I found that certain URLs are getting indexed in Google Search results. They look like:</p>
<pre><code>http://example.com/page/42/?referer=www.wwwdnal.com
</code></pre>
<p>The URL is not returning a 404 error but is displaying same content as in:</p>
<... | [
{
"answer_id": 59850,
"author": "John Conde",
"author_id": 1253,
"author_profile": "https://webmasters.stackexchange.com/users/1253",
"pm_score": 1,
"selected": false,
"text": "<p>Use canonical URLs for your content pages. Then whenever Google crawls or find a link to one with the referr... | 2014/03/25 | [
"https://webmasters.stackexchange.com/questions/59848",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37255/"
] | I have a WordPress site which is more content centric. Today, I found that certain URLs are getting indexed in Google Search results. They look like:
```
http://example.com/page/42/?referer=www.wwwdnal.com
```
The URL is not returning a 404 error but is displaying same content as in:
```
http://example.com/page/42/... | Use canonical URLs for your content pages. Then whenever Google crawls or find a link to one with the referrer in the query string it will automatically associate it with the canonical URL. The canonical URL will be the URL Google shows in the search results. It also prevents your site from appearing to have duplicate ... |
59,872 | <p>An external person from my client company registered a domain and redirected to my client URL.</p>
<p>For instance, if you type <code>unwanteddomain.com</code> it redirects to <code>myclientdomain.com</code>.</p>
<p>Is there any way to block or redirect (for second time) to nowhere the <code>unwanteddomain.com</co... | [
{
"answer_id": 59899,
"author": "ek9",
"author_id": 37015,
"author_profile": "https://webmasters.stackexchange.com/users/37015",
"pm_score": 2,
"selected": false,
"text": "<p>The way I would do this is block all requests which are coming from <code>unwantedcomain.com</code> by checking f... | 2014/03/25 | [
"https://webmasters.stackexchange.com/questions/59872",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37266/"
] | An external person from my client company registered a domain and redirected to my client URL.
For instance, if you type `unwanteddomain.com` it redirects to `myclientdomain.com`.
Is there any way to block or redirect (for second time) to nowhere the `unwanteddomain.com` via cPanel or any rewrite rules on *.htaccess*... | Finally resolved using these rewrite rules:
```
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.unwanteddomain.com$ [NC]
RewriteRule .* http://whateverPlaceYouWantToSend.com [R,L]
```
`HTTP_REFERER` did not work so I used `HTTP_HOST`. |
59,929 | <p>I've always used Apache for all my web development work and I'm struggling to get my head around IIS. I've got an API that re-routes all requests to one particular file: 'api.php', how would I do the following in IIS:</p>
<pre><code>RewriteEngine on
RewriteRule ^/.* /api.php
</code></pre>
<p>My server only allows ... | [
{
"answer_id": 74230,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 2,
"selected": false,
"text": "<p>The design pattern you are using is called the \"<a href=\"https://en.wikipedia.org/wiki/Front_Co... | 2014/03/26 | [
"https://webmasters.stackexchange.com/questions/59929",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37301/"
] | I've always used Apache for all my web development work and I'm struggling to get my head around IIS. I've got an API that re-routes all requests to one particular file: 'api.php', how would I do the following in IIS:
```
RewriteEngine on
RewriteRule ^/.* /api.php
```
My server only allows web.config files to achiev... | The design pattern you are using is called the "[front controller](https://en.wikipedia.org/wiki/Front_Controller_pattern)" -- a central entry point for handling requests.
Here is [a website that shows how to implement that pattern with various webservers](http://silex.sensiolabs.org/doc/web_servers.html). Here is th... |
59,957 | <p>I have a multi-lingual site, which contains languages in this manner:</p>
<pre><code>http://www.example.com/en/
http://www.example.com/de/
http://www.example.com/fr/
</code></pre>
<p>To avoid duplicate links, is it ok <strong>not to</strong> have the root (<code>/</code>) page?</p>
<p>I.e., the root 301 redirects... | [
{
"answer_id": 59960,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 4,
"selected": true,
"text": "<p>If the root (<code>/</code>) 301 redirect to <code>/en/</code>, Google will most probably consider your home... | 2014/03/27 | [
"https://webmasters.stackexchange.com/questions/59957",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37323/"
] | I have a multi-lingual site, which contains languages in this manner:
```
http://www.example.com/en/
http://www.example.com/de/
http://www.example.com/fr/
```
To avoid duplicate links, is it ok **not to** have the root (`/`) page?
I.e., the root 301 redirects to `/en/`:
```
$ curl -I http://www.example.com/
HTTP/1... | If the root (`/`) 301 redirect to `/en/`, Google will most probably consider your homepage is `http://www.example.com/en/` and there is no problem not to have a root (`/`) page.
Regarding [Google guidelines for multilingual sites](https://support.google.com/webmasters/answer/182192?hl=en#2), you can use this method to... |
59,961 | <p>Let's say I use different fonts on my page, let's say I use 3 different fonts in 10-20 different CSS rules and in each of them I must use the following and similar:</p>
<pre><code>font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
</code></pre>
<p>There must be some shortcut way to have these font fam... | [
{
"answer_id": 59964,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 4,
"selected": true,
"text": "<p>With CSS you can manage two classes and attached them to your HTML element like the following:</p>\n\n<pre><... | 2014/03/27 | [
"https://webmasters.stackexchange.com/questions/59961",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/33887/"
] | Let's say I use different fonts on my page, let's say I use 3 different fonts in 10-20 different CSS rules and in each of them I must use the following and similar:
```
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
```
There must be some shortcut way to have these font families listed in CSS once a... | With CSS you can manage two classes and attached them to your HTML element like the following:
```
.my-font {
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.otherClass {
background-color: white;
}
<div class="my-font otherClass">An HTML element</div>
```
Otherwise, you can take a look t... |
59,967 | <p>My domain name expired and although I was working with my Network Solutions to update my information somehow they let my name go and it was picked up by NVS Corp. At this point I can not get any information from anyone as to how I can purchase it back. My question is I spent thousands of dollars on the actual web si... | [
{
"answer_id": 59964,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 4,
"selected": true,
"text": "<p>With CSS you can manage two classes and attached them to your HTML element like the following:</p>\n\n<pre><... | 2014/03/27 | [
"https://webmasters.stackexchange.com/questions/59967",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37327/"
] | My domain name expired and although I was working with my Network Solutions to update my information somehow they let my name go and it was picked up by NVS Corp. At this point I can not get any information from anyone as to how I can purchase it back. My question is I spent thousands of dollars on the actual web site.... | With CSS you can manage two classes and attached them to your HTML element like the following:
```
.my-font {
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.otherClass {
background-color: white;
}
<div class="my-font otherClass">An HTML element</div>
```
Otherwise, you can take a look t... |
59,989 | <p>What is the best way to get rid of this error in Google Webmasters? Do I really need to add "- Page 2" at the end of the descripton?</p>
<p><strong>Page Description</strong></p>
<pre><code>Kansas basketball tournaments posted by organizations and teams for youth, AAU, and NCAA certified e
</code></pre>
<p><stron... | [
{
"answer_id": 60000,
"author": "Alexis Wilke",
"author_id": 9808,
"author_profile": "https://webmasters.stackexchange.com/users/9808",
"pm_score": 2,
"selected": false,
"text": "<p>Actually in that situation, where you have one long document spread through multiple pages, you want to li... | 2014/03/27 | [
"https://webmasters.stackexchange.com/questions/59989",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/30087/"
] | What is the best way to get rid of this error in Google Webmasters? Do I really need to add "- Page 2" at the end of the descripton?
**Page Description**
```
Kansas basketball tournaments posted by organizations and teams for youth, AAU, and NCAA certified e
```
**Pages**
```
/youth-basketball-tournaments/kansas
/... | Actually in that situation, where you have one long document spread through multiple pages, you want to link the pages together using the next and previous links in your `<head>` tag.
For example, for page 3 you could have something like this:
```
<link rel="prev" type="text/html" title="Page 2" href="/youth-basketba... |
59,992 | <p>Not exactly sure why the main page of my website which shows the latest post is being shown first when searching for post I made. The main page of my website shows up with the seo description showing the title of the post that I am searching for. Obviously this looks stupid, because the post title only shows up in t... | [
{
"answer_id": 60000,
"author": "Alexis Wilke",
"author_id": 9808,
"author_profile": "https://webmasters.stackexchange.com/users/9808",
"pm_score": 2,
"selected": false,
"text": "<p>Actually in that situation, where you have one long document spread through multiple pages, you want to li... | 2014/03/27 | [
"https://webmasters.stackexchange.com/questions/59992",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37351/"
] | Not exactly sure why the main page of my website which shows the latest post is being shown first when searching for post I made. The main page of my website shows up with the seo description showing the title of the post that I am searching for. Obviously this looks stupid, because the post title only shows up in the ... | Actually in that situation, where you have one long document spread through multiple pages, you want to link the pages together using the next and previous links in your `<head>` tag.
For example, for page 3 you could have something like this:
```
<link rel="prev" type="text/html" title="Page 2" href="/youth-basketba... |
60,003 | <p>We have a site <code>www.site.example</code> using IP address <code>192.0.2.89</code> and we have a newly designed website running from a test run subdomain <code>testrun.site.example</code> using IP address <code>192.0.2.21</code>.</p>
<p>Now the newly designed website is done. It has the same directory structure,... | [
{
"answer_id": 60007,
"author": "Alexis Wilke",
"author_id": 9808,
"author_profile": "https://webmasters.stackexchange.com/users/9808",
"pm_score": 1,
"selected": true,
"text": "<p>If that is on the exact same server, the IP should not matter. What will matter is the Apache setup. You pr... | 2014/03/28 | [
"https://webmasters.stackexchange.com/questions/60003",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36986/"
] | We have a site `www.site.example` using IP address `192.0.2.89` and we have a newly designed website running from a test run subdomain `testrun.site.example` using IP address `192.0.2.21`.
Now the newly designed website is done. It has the same directory structure, we keep the URL intact, same location of images , but... | If that is on the exact same server, the IP should not matter. What will matter is the Apache setup. You probably only have to change the DocumentRoot directive of the `www.example.com` entry to use the same directory as the new website.
```
DocumentRoot /var/www/look-here-now
``` |
60,031 | <p>Does it matter whether my microdata breadcrumb trail starts and ends with <code><div></code>, <code><span></code> or <code><li></code>? Consider <code><div></code> tag first:</p>
<pre><code><div><span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http:... | [
{
"answer_id": 60033,
"author": "riseagainst",
"author_id": 18576,
"author_profile": "https://webmasters.stackexchange.com/users/18576",
"pm_score": 2,
"selected": false,
"text": "<p>If the code is validated, no.</p>\n\n<p>The following is:</p>\n\n<pre><code><div itemscope itemtype=\"... | 2014/03/28 | [
"https://webmasters.stackexchange.com/questions/60031",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/20983/"
] | Does it matter whether my microdata breadcrumb trail starts and ends with `<div>`, `<span>` or `<li>`? Consider `<div>` tag first:
```
<div><span itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/dresses" itemprop="url">
<span itemprop="title">Dresses</span>
</a></span... | If the code is validated, no.
The following is:
```
<div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<a href="http://www.example.com/" itemprop="url">
<span itemprop="title">Dresses</span>
</a>
</div>
```
Gets validated with any of those tags (`<span>`, `<li>`, `<div>`) and many mor... |
60,066 | <p>I have a friend who would like to start a 'blog'. </p>
<p>The problem is that she would like it to be private so that only people invited can read it. So I told her to use a private WordPress. But she said she would like it to be so private that you cannot even see that the blog exists if you don't know about it. <... | [
{
"answer_id": 60067,
"author": "Anon",
"author_id": 14842,
"author_profile": "https://webmasters.stackexchange.com/users/14842",
"pm_score": 3,
"selected": false,
"text": "<p><strong>1. Serverside - block Search Engines</strong></p>\n\n<p>Create a robots.txt file in your root directory ... | 2014/03/30 | [
"https://webmasters.stackexchange.com/questions/60066",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37398/"
] | I have a friend who would like to start a 'blog'.
The problem is that she would like it to be private so that only people invited can read it. So I told her to use a private WordPress. But she said she would like it to be so private that you cannot even see that the blog exists if you don't know about it.
So maybe ... | **1. Serverside - block Search Engines**
Create a robots.txt file in your root directory and add this text to it:
```
User-agent: *
Disallow: /
```
Theoretically, This should block all search engines (the ones that honour robots.txt).
**2. Know how Search Engines are crawling your site and control your site's vis... |
60,099 | <p>What is better in terms of SEO ?</p>
<pre><code><div class="box1" >
<p> A bunch of text right here</p>
</div>
</code></pre>
<p>or</p>
<pre><code><div class"box1" >
A bunch of text right here
</div>
</code></pre>
<p>box1 div has a lot of css applied, so in order to make t... | [
{
"answer_id": 60100,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 5,
"selected": true,
"text": "<p>Between two options, there is no difference for SEO. By the way, your question is not about SEO but it's abo... | 2014/03/31 | [
"https://webmasters.stackexchange.com/questions/60099",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37417/"
] | What is better in terms of SEO ?
```
<div class="box1" >
<p> A bunch of text right here</p>
</div>
```
or
```
<div class"box1" >
A bunch of text right here
</div>
```
box1 div has a lot of css applied, so in order to make the text look like/where i want i will wrap it in that div . this div in particular on... | Between two options, there is no difference for SEO. By the way, your question is not about SEO but it's about HTML semantic.
To respect the HTML semantic and unlike you think, [the `<p>` tag exists for displaying paragraphs of text](http://www.w3.org/TR/html5/grouping-content.html#the-p-element), not text. But in gen... |
60,106 | <p>I have a couple of doubts / questions / ideas related to <em>robots.txt</em>:</p>
<ol>
<li><p>Can we deny website for all bots except for chosen ones in order to
tell other bots not to crawl site:</p>
<pre><code>User-agent: *
Disallow: /
User-Agent: Googlebot
User-Agent: bingbot
User-Agent: Slurp
Allow: /person/
... | [
{
"answer_id": 60108,
"author": "kasperd",
"author_id": 37424,
"author_profile": "https://webmasters.stackexchange.com/users/37424",
"pm_score": 3,
"selected": false,
"text": "<p>The <em>robots.txt</em> spec says prefix matching is used. This means if you don't want the excluded URLs to ... | 2014/03/31 | [
"https://webmasters.stackexchange.com/questions/60106",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37477/"
] | I have a couple of doubts / questions / ideas related to *robots.txt*:
1. Can we deny website for all bots except for chosen ones in order to
tell other bots not to crawl site:
```
User-agent: *
Disallow: /
User-Agent: Googlebot
User-Agent: bingbot
User-Agent: Slurp
Allow: /person/
Allow: /products/
```
2. Can we d... | The *robots.txt* spec says prefix matching is used. This means if you don't want the excluded URLs to be visible in *robots.txt*, you can simply abbreviate them just enough to not match any allowed URLs.
For example, if you want to disallow `/very/secret`, you could simply use:
```
Disallow: /ve
```
In your *robots... |
60,148 | <p>I have a web hosting account at HostGator (for a domain registered with Namecheap), where I would like to only use email, and completely turn off the website/webserver (for that domain), such that it actually gives the following error like any other domain which isn't pointing to anything, so in Firefox it would be:... | [
{
"answer_id": 60152,
"author": "MilesWeb",
"author_id": 36947,
"author_profile": "https://webmasters.stackexchange.com/users/36947",
"pm_score": 1,
"selected": false,
"text": "<p>If you want the website's email to be functional & website when browsed to show a Not Found page, simply... | 2014/04/02 | [
"https://webmasters.stackexchange.com/questions/60148",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I have a web hosting account at HostGator (for a domain registered with Namecheap), where I would like to only use email, and completely turn off the website/webserver (for that domain), such that it actually gives the following error like any other domain which isn't pointing to anything, so in Firefox it would be:
!... | The most robust method to make `yourdomain.com` or `www.yourdomain.com` return the 'host not found' error like the screenshots given, (and this works with HostGator), is the following process:
1. Set the CNAME record for `www.yourdomain.com` to something that definitely is a domain that doesn't have a webserver attach... |
60,195 | <p>I'm posting some extremely long audio transcripts from 50 minute long radio recordings. I'm afraid that any search engine crawler will read these really long documents and treat it negatively because of keyword frequency or length.</p>
<p>I've researched and found that for a dialogue a <code><dl> <dt>&l... | [
{
"answer_id": 60183,
"author": "Zistoloen",
"author_id": 20122,
"author_profile": "https://webmasters.stackexchange.com/users/20122",
"pm_score": 1,
"selected": false,
"text": "<p>Using the jQuery hosted library by Google permits to your page to be loaded faster.\nIndeed, the library is... | 2014/04/02 | [
"https://webmasters.stackexchange.com/questions/60195",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37482/"
] | I'm posting some extremely long audio transcripts from 50 minute long radio recordings. I'm afraid that any search engine crawler will read these really long documents and treat it negatively because of keyword frequency or length.
I've researched and found that for a dialogue a `<dl> <dt></dt> <dd></dd> </dl>` is rec... | There are two major benefits to using an external CDN such as Google to host jQuery:
1. **It's faster.** It will be certainly be faster than your site, and probably faster than any CDN you set up yourself.
2. It may **already be cached**. Lots of sites reference jQuery on Google's CDN as well, so if they visited anoth... |
60,249 | <p>I've found here similar topics but not exactly similar and without satisfying references - </p>
<p>I'm going to launch a new domain, I understood it's better to have one pattern - whether www or non-www, so I'll go with WWW, using this .htaccess command:</p>
<pre><code>RewriteEngine on
RewriteCond %{HTTP_HOST} ^(?... | [
{
"answer_id": 60250,
"author": "Emily Shepherd",
"author_id": 37483,
"author_profile": "https://webmasters.stackexchange.com/users/37483",
"pm_score": 1,
"selected": false,
"text": "<p>As you're doing a permanent redirect, Google will treat any non-www links it finds the same as the www... | 2014/04/03 | [
"https://webmasters.stackexchange.com/questions/60249",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36601/"
] | I've found here similar topics but not exactly similar and without satisfying references -
I'm going to launch a new domain, I understood it's better to have one pattern - whether www or non-www, so I'll go with WWW, using this .htaccess command:
```
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(?!www\.)(.+) [NC]
Rewr... | Even if you have redirects and/or canonical tags set up to your preferred domain, you should still set your preferred domain in Google Webmaster Tools (GWT for short)
To do this click the gear icon in the top right of GWT, and click 'site settings', then tick your preferred domain.
Most of the time this option will ... |
60,254 | <p>I've been searching for a great looking wordpress theme to use on a small magazine website idea that I had and I've just found one that would be ideal, with lots of blank spaces specifically designed for adverts - But then when I came to download it there was a notice:</p>
<pre><code>License: GPLv2 or later. Type: ... | [
{
"answer_id": 60259,
"author": "Brent Friar",
"author_id": 2613,
"author_profile": "https://webmasters.stackexchange.com/users/2613",
"pm_score": 1,
"selected": false,
"text": "<p>This is confusing because there are 2 pieces of information here that are not intuitive.</p>\n\n<p>First is... | 2014/04/03 | [
"https://webmasters.stackexchange.com/questions/60254",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35647/"
] | I've been searching for a great looking wordpress theme to use on a small magazine website idea that I had and I've just found one that would be ideal, with lots of blank spaces specifically designed for adverts - But then when I came to download it there was a notice:
```
License: GPLv2 or later. Type: Non-Commercial... | This is confusing because there are 2 pieces of information here that are not intuitive.
First is the license that this theme is distributed under, GLPv2. Short answers is that GPLv2 allows you to modify and distribute as you see fit. You can ready about the specifics here - <http://www.gnu.org/licenses/gpl-2.0.html>
... |
60,255 | <p>I have developed an Admin Panel that you can use to change conents on the website.</p>
<p>It works basically like this:</p>
<p>You use functions to generate HTML like menus, footers, side modules, etc.
I use classes to load the content from MySQL
The back end is just some administrative pages that shows you an WY... | [
{
"answer_id": 60258,
"author": "Brent Friar",
"author_id": 2613,
"author_profile": "https://webmasters.stackexchange.com/users/2613",
"pm_score": 1,
"selected": false,
"text": "<p>Google doesn't index or not index a site based on how the site is generated. There is nothing wrong with th... | 2014/04/03 | [
"https://webmasters.stackexchange.com/questions/60255",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37519/"
] | I have developed an Admin Panel that you can use to change conents on the website.
It works basically like this:
You use functions to generate HTML like menus, footers, side modules, etc.
I use classes to load the content from MySQL
The back end is just some administrative pages that shows you an WYSIWYG editor and ... | >
> You can see an example Here `http://chicagos.co` This website has all the keywords and stuff like that, but it does not appear on google even if you type the domain, check the source code.
>
>
>
`chicagos.co` doesn't appear in the SERPs because you are redirecting it to another domain!?
* `chicagos.co` does a... |
60,280 | <p>I've recently just finished building a small website and created friendly URLs using IIS7.5' rewrite module.</p>
<p>The site has now been passed to the client's SEO guy and he says the friendly URL format I've used is extremely "catastrophically" bad for Google.</p>
<p>Currently, the URLs look like this:</p>
<pre... | [
{
"answer_id": 60283,
"author": "PenguinOfwar",
"author_id": 37539,
"author_profile": "https://webmasters.stackexchange.com/users/37539",
"pm_score": 3,
"selected": true,
"text": "<p>Is the SEO specialist right? Yes and no (or more appropriately, debateable).</p>\n\n<p>That said, the clo... | 2014/04/04 | [
"https://webmasters.stackexchange.com/questions/60280",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/19407/"
] | I've recently just finished building a small website and created friendly URLs using IIS7.5' rewrite module.
The site has now been passed to the client's SEO guy and he says the friendly URL format I've used is extremely "catastrophically" bad for Google.
Currently, the URLs look like this:
```
www.example.com/produ... | Is the SEO specialist right? Yes and no (or more appropriately, debateable).
That said, the closer you are to the root domain (in your example `example.com`) the better.
The lower down in the path you are, the less prominence Google will give to your page.
So in your example:
```
www.example.com/products/page_name/... |
60,340 | <p>am sorry for my bad english. i have a site for download free website templates. i create a simple html file in my site and put my histats & google analitic code on that. then put a hidden iframe to this page in the free templates like this :(To increase the number of visitors to my site)</p>
<pre><code><IFRA... | [
{
"answer_id": 60326,
"author": "Silver Dragon",
"author_id": 7554,
"author_profile": "https://webmasters.stackexchange.com/users/7554",
"pm_score": 2,
"selected": false,
"text": "<p>I'd start out by first checking if they have a \"canonical\" tag on their site pointing to yours; if they... | 2014/04/06 | [
"https://webmasters.stackexchange.com/questions/60340",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37577/"
] | am sorry for my bad english. i have a site for download free website templates. i create a simple html file in my site and put my histats & google analitic code on that. then put a hidden iframe to this page in the free templates like this :(To increase the number of visitors to my site)
```
<IFRAME style="display:non... | Gather as much evidence as you can and file a complaint with the DMCA. Here is the Wikipedia link: <http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act>
Google and Bing will take action based upon these complaints.
In the U.S. you can hire an attorney to write a cease and desist letter and send this to any ... |
60,391 | <p>Recently, my sites score completely dropped in site optimization/speed in the Google Adsense rating system. When using <strong>Google PageSpeed Insights</strong> it tells me quite a few things. One being to leverage browser caching. I went into my .htaccess file and added this bit of code.</p>
<pre><code>## EXPIRES... | [
{
"answer_id": 60395,
"author": "Tim Fountain",
"author_id": 1426,
"author_profile": "https://webmasters.stackexchange.com/users/1426",
"pm_score": 1,
"selected": false,
"text": "<p>The Wordpress plugin can't compress your javascript files as these aren't served by Wordpress, your Web se... | 2014/04/07 | [
"https://webmasters.stackexchange.com/questions/60391",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37351/"
] | Recently, my sites score completely dropped in site optimization/speed in the Google Adsense rating system. When using **Google PageSpeed Insights** it tells me quite a few things. One being to leverage browser caching. I went into my .htaccess file and added this bit of code.
```
## EXPIRES CACHING ##
<IfModule mod_e... | From what I am reading, and the way you are describing it... you are already doing everything you can to improve performance.
I see no issues at all loading your website. Yes, Google is going to complain about some issues, and the bloat of WordPress also. Does it actually really matte that Google is complaining a lit... |
60,419 | <p>I have been tasked to update a site to make it responsive and appear correctly on smart phones. Unfortunately, the site in its current form isn't very easy to work with - I can't just change the CSS.</p>
<p>Is it considered bad to detect the browser size and make the CSS changes with jQuery?</p>
<p>E.g.:</p>
<pre... | [
{
"answer_id": 60420,
"author": "Will",
"author_id": 37633,
"author_profile": "https://webmasters.stackexchange.com/users/37633",
"pm_score": 5,
"selected": true,
"text": "<p>Sure. Obviously, it would be better to use CSS alone but if you can't, use what you have. Do as much as you can w... | 2014/04/08 | [
"https://webmasters.stackexchange.com/questions/60419",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/21289/"
] | I have been tasked to update a site to make it responsive and appear correctly on smart phones. Unfortunately, the site in its current form isn't very easy to work with - I can't just change the CSS.
Is it considered bad to detect the browser size and make the CSS changes with jQuery?
E.g.:
```
if ($(window).width()... | Sure. Obviously, it would be better to use CSS alone but if you can't, use what you have. Do as much as you can with CSS and use JS as needed. Not sure why you can't change the existing CSS but you can add a style sheet with JS.
```
(function() {
//create a new element
var newStyle = document.createElement("link"... |
60,450 | <p>When ever you click on an image in my site it displays www.sitename.com/wp-content/uploads/date/image.jpg. How do I change this to something like www.sitename.com/image.jpg or www.sitename.com/post/image.jpg?</p>
| [
{
"answer_id": 60451,
"author": "Anon",
"author_id": 14842,
"author_profile": "https://webmasters.stackexchange.com/users/14842",
"pm_score": 0,
"selected": false,
"text": "<p>Wordpress by default will not allow you to do that. If you wish to change the url of uploads folder, you will ha... | 2014/04/09 | [
"https://webmasters.stackexchange.com/questions/60450",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37351/"
] | When ever you click on an image in my site it displays www.sitename.com/wp-content/uploads/date/image.jpg. How do I change this to something like www.sitename.com/image.jpg or www.sitename.com/post/image.jpg? | Wordpress, by defalt, *WILL* allow you to do this. Open your `wp-config.php` file and add the following line:
```
define( 'UPLOADS', '/media/' );
```
Change `/media/` to whatever directory you want to use.
**A word of caution:** If you already have media uploaded, the path to that media is stored in the database. ... |
60,456 | <p>For the last month, 80% of my total traffic was coming from just one Town in the USA. Here are the attributes:</p>
<ol>
<li>It is one of the richest towns in California in USA which defies logic since I run a website for coupons.</li>
<li>The bounce rate is not 100%. It is around 80%. I read on this forum and it ta... | [
{
"answer_id": 60451,
"author": "Anon",
"author_id": 14842,
"author_profile": "https://webmasters.stackexchange.com/users/14842",
"pm_score": 0,
"selected": false,
"text": "<p>Wordpress by default will not allow you to do that. If you wish to change the url of uploads folder, you will ha... | 2014/04/09 | [
"https://webmasters.stackexchange.com/questions/60456",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37677/"
] | For the last month, 80% of my total traffic was coming from just one Town in the USA. Here are the attributes:
1. It is one of the richest towns in California in USA which defies logic since I run a website for coupons.
2. The bounce rate is not 100%. It is around 80%. I read on this forum and it talked about how the ... | Wordpress, by defalt, *WILL* allow you to do this. Open your `wp-config.php` file and add the following line:
```
define( 'UPLOADS', '/media/' );
```
Change `/media/` to whatever directory you want to use.
**A word of caution:** If you already have media uploaded, the path to that media is stored in the database. ... |
60,465 | <p>Is there any benefit in making the paths of content images match that of the page?</p>
<p>E.g. if the path of my page is</p>
<pre><code>www.example.com/something/my-latest-article
</code></pre>
<p>is it better to have content images with the URL such as</p>
<pre><code>www.example.com/something/my-latest-article/... | [
{
"answer_id": 60466,
"author": "Liam Sorsby",
"author_id": 35057,
"author_profile": "https://webmasters.stackexchange.com/users/35057",
"pm_score": 1,
"selected": false,
"text": "<p>I personally don't think this is very important at all. This seems like more of a architectural issue or ... | 2014/04/09 | [
"https://webmasters.stackexchange.com/questions/60465",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/7634/"
] | Is there any benefit in making the paths of content images match that of the page?
E.g. if the path of my page is
```
www.example.com/something/my-latest-article
```
is it better to have content images with the URL such as
```
www.example.com/something/my-latest-article/content-image-1.jpg
```
or
```
www.examp... | There is no advantage whatsoever.
Well, there may be a very small advantage regarding loading time if you page has many images, since you would be saving some KB on text. Although, there would be a slight more work to do on the server/browser side.
Each relative link has to be converted to a full canonical link that ... |
60,499 | <p>Occasionally, my website that's hosted with GoDaddy is crashing due to physical memory overload. My host told me that PHP processes are overloading the server, and to try to find out which WordPress plugin is responsible for this, but when I run <code>top</code>, I only get this:</p>
<pre><code>PID USER PR NI... | [
{
"answer_id": 60508,
"author": "MilesWeb",
"author_id": 36947,
"author_profile": "https://webmasters.stackexchange.com/users/36947",
"pm_score": 1,
"selected": false,
"text": "<p>Unfortunately, with WordPress you will not be able to know which plugin is consuming resources. You will hav... | 2014/04/10 | [
"https://webmasters.stackexchange.com/questions/60499",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36691/"
] | Occasionally, my website that's hosted with GoDaddy is crashing due to physical memory overload. My host told me that PHP processes are overloading the server, and to try to find out which WordPress plugin is responsible for this, but when I run `top`, I only get this:
```
PID USER PR NI VIRT RES SHR S %CPU %... | Actually, there is a way to tell which plugins may be the problem. The [P3 plugin](https://wordpress.org/plugins/p3-profiler/) (ironically, written by GoDaddy) can be used to generate a report of what each plugin is doing in terms of runtime. Longer run times will usually correlate with more resources consumed and give... |
60,504 | <p>I have seen many suggestions on various redirects, but none were simple and many had no accepted answer.</p>
<p>I have a site I wish to completely remove from google and have only my homepage available</p>
<p>In that homepage I have image css and js files so they of course should not be redirected</p>
<p>My plan ... | [
{
"answer_id": 60515,
"author": "Tero Kilkanen",
"author_id": 36798,
"author_profile": "https://webmasters.stackexchange.com/users/36798",
"pm_score": 0,
"selected": false,
"text": "<p>How about:</p>\n\n<pre><code>RewriteRule (html|php)$ http://www.example.com [R=301,L]\n</code></pre>\n\... | 2014/04/10 | [
"https://webmasters.stackexchange.com/questions/60504",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/4951/"
] | I have seen many suggestions on various redirects, but none were simple and many had no accepted answer.
I have a site I wish to completely remove from google and have only my homepage available
In that homepage I have image css and js files so they of course should not be redirected
My plan was to redirect all .htm... | Following on from comments... since you are wanting to completely remove these pages from Google's index then simply redirecting (301) them (as requested in your original question) is not necessarily the correct thing to do. Redirection is saying that the page has *moved*. Yes, Google is likely to drop the original pag... |
60,513 | <p>I've tried transferring SSL issued by GoDaddy to Linux based server. The website was originally hosted in Windows. After the installation is completed, I got a message like this in cPanel:</p>
<pre><code>Certificate ID: ***********
Domains: xxxxsomethingxxxxx.com
Issuer: GoDaddy.com, Inc.
Key Size: 2,048 bits
Exp... | [
{
"answer_id": 60529,
"author": "drlouie - louierd",
"author_id": 14009,
"author_profile": "https://webmasters.stackexchange.com/users/14009",
"pm_score": 0,
"selected": false,
"text": "<p>How to test it? Just go to <code>https://yoursite.com/</code>, if it pulls up, it works!</p>\n"
}... | 2014/04/10 | [
"https://webmasters.stackexchange.com/questions/60513",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37741/"
] | I've tried transferring SSL issued by GoDaddy to Linux based server. The website was originally hosted in Windows. After the installation is completed, I got a message like this in cPanel:
```
Certificate ID: ***********
Domains: xxxxsomethingxxxxx.com
Issuer: GoDaddy.com, Inc.
Key Size: 2,048 bits
Expiration: Feb 1... | SSL certificates do not need to be transfered in the same way that domain names do. You can use the same certificate on multiple machines at the same time.
The only reason to remove the certificate from your old Windows server would be to prevent it from falling into the wrong hands.
You can test that your setup is... |
60,536 | <p>I am developing a website that uses the html cache manifest (AppCache). I often see the following line in Chrome's console:</p>
<pre><code>Application Cache Error event: Manifest fetch failed (6) https://192.168.0.102/static/index.appcache
</code></pre>
<p>Apparently the error code in parentheses is meant to be th... | [
{
"answer_id": 71675,
"author": "siguy85",
"author_id": 46032,
"author_profile": "https://webmasters.stackexchange.com/users/46032",
"pm_score": 2,
"selected": false,
"text": "<p>I had exactly the same issue when using Application Cache on Chrome v38.0.2125.111 m.\nTried several differen... | 2014/04/11 | [
"https://webmasters.stackexchange.com/questions/60536",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | I am developing a website that uses the html cache manifest (AppCache). I often see the following line in Chrome's console:
```
Application Cache Error event: Manifest fetch failed (6) https://192.168.0.102/static/index.appcache
```
Apparently the error code in parentheses is meant to be the HTTP status code, or `-1... | Looking into Chrome source code, those numbers 6, 9 or similar are order numbers of enum. In case of 6, this is `NETWORK_ERROR`, in case of 9 it is `SECURITY_ERROR`.
[Here is source](https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/appcache/appcache_update_job.cc&sq=package:chromium&type=cs&l... |
60,554 | <p>My product URL is <code>example.com/categorykeyword2/product</code>.</p>
<p>The actual path (breadcrumb) is <code>example.com/categorykeyword1/categorykeyword2/product</code>.</p>
<p>Would it be better in terms of SEO if the URL was the same as the breadcrumb?</p>
| [
{
"answer_id": 60556,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>Breadcrumbs do not effect SEO. Sorry. They are only mark-up that can appear in the search engine response p... | 2014/04/11 | [
"https://webmasters.stackexchange.com/questions/60554",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35439/"
] | My product URL is `example.com/categorykeyword2/product`.
The actual path (breadcrumb) is `example.com/categorykeyword1/categorykeyword2/product`.
Would it be better in terms of SEO if the URL was the same as the breadcrumb? | I have seen no evidence that matching URL and breadcrumb help SEO.
If anything, I would say that shorter URLs are better for SEO. URLs are much clearer and users actually have a chance of remembering or typing them when they are short.
```
example.com/blue-widgets
```
vs
```
example.com/shopping/kitchen/cookware/... |
60,559 | <p>I'm considering using <a href="http://i18next.com/" rel="nofollow">i18next</a> for translating text. But then it suddenly struck me; If labels / text is retrieved through javascript, won't that affect SEO?</p>
<p>And what about screen readers for visual impaired users?</p>
| [
{
"answer_id": 60565,
"author": "Dejan Toteff",
"author_id": 37764,
"author_profile": "https://webmasters.stackexchange.com/users/37764",
"pm_score": 3,
"selected": true,
"text": "<p>To my knowledge Googlebot reads javascript.\nUse the appropriate tags in every language version as descri... | 2014/04/11 | [
"https://webmasters.stackexchange.com/questions/60559",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/3720/"
] | I'm considering using [i18next](http://i18next.com/) for translating text. But then it suddenly struck me; If labels / text is retrieved through javascript, won't that affect SEO?
And what about screen readers for visual impaired users? | To my knowledge Googlebot reads javascript.
Use the appropriate tags in every language version as described in <https://support.google.com/webmasters/answer/189077?hl=en>
```
<link rel="alternate" href="http://example.com/de" hreflang="de" />
```
`<link rel="alternate" href="http://example.com/bg" hreflang="bg" />`
... |
60,570 | <p>I had this case where I wanted to move articles from Blogger website to hosted Wordpress. As I can't make 301 redirects, I simply deleted the selected articles and scheduled to be published after 1 month.
My question is does Google will really forget about those articles, so when they are published once again, they ... | [
{
"answer_id": 60571,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 1,
"selected": false,
"text": "<p>I would not worry too much. Often people are concerned that Google will penalize them for stuff that they s... | 2014/04/12 | [
"https://webmasters.stackexchange.com/questions/60570",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37764/"
] | I had this case where I wanted to move articles from Blogger website to hosted Wordpress. As I can't make 301 redirects, I simply deleted the selected articles and scheduled to be published after 1 month.
My question is does Google will really forget about those articles, so when they are published once again, they are... | You said you can't create redirects. But can you edit the `<head>` part of your content? If so, send Google to the newly hosted documents with:
```
<link rel="canonical" href="http://example.com/" />
```
Rank kept, Google told quickly... It's a win-win. |
60,585 | <p>local install of wp site brought down from host - home page is ok but other pages redirect to wamp config page.</p>
<p>I got all local files from host to www dir under local wamp. I got database from host and loaded to new local db and used <a href="https://interconnectit.com/products/search-and-replace-for-wordpre... | [
{
"answer_id": 60571,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 1,
"selected": false,
"text": "<p>I would not worry too much. Often people are concerned that Google will penalize them for stuff that they s... | 2014/04/12 | [
"https://webmasters.stackexchange.com/questions/60585",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37774/"
] | local install of wp site brought down from host - home page is ok but other pages redirect to wamp config page.
I got all local files from host to www dir under local wamp. I got database from host and loaded to new local db and used [this tool](https://interconnectit.com/products/search-and-replace-for-wordpress-data... | You said you can't create redirects. But can you edit the `<head>` part of your content? If so, send Google to the newly hosted documents with:
```
<link rel="canonical" href="http://example.com/" />
```
Rank kept, Google told quickly... It's a win-win. |
60,589 | <p>I was trying to place a bid on domain trough sedo.com and got such response:</p>
<blockquote>
<p>We regret to inform you that the seller of the domain has failed to
respond to your bid in spite of our repeated reminders.</p>
<p>If the seller does not respond within 14 days, this bid thread will be
consid... | [
{
"answer_id": 60591,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 2,
"selected": true,
"text": "<p>If you want it, try again with a higher bid. Otherwise, I would forget it.</p>\n\n<p>You have not told use w... | 2014/04/13 | [
"https://webmasters.stackexchange.com/questions/60589",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34964/"
] | I was trying to place a bid on domain trough sedo.com and got such response:
>
> We regret to inform you that the seller of the domain has failed to
> respond to your bid in spite of our repeated reminders.
>
>
> If the seller does not respond within 14 days, this bid thread will be
> considered inactive and no a... | If you want it, try again with a higher bid. Otherwise, I would forget it.
You have not told use why you want the domain name. If it is important, that is something *you* have to decide. I do not play this bidding game ever. I find domain names that are available and register them. I have never had an issue with this.... |
60,595 | <p>I ran into the following issue:</p>
<p>On a website I want to prevent "unauthorized" access to a set of .xml files - the user has to authenticate first. Now it would be possible for an authenticated user to type the URL of the file I don't want them to see. To prevent this, I created a simple php script that checks... | [
{
"answer_id": 60596,
"author": "danaketh",
"author_id": 20639,
"author_profile": "https://webmasters.stackexchange.com/users/20639",
"pm_score": 3,
"selected": true,
"text": "<p>PHP doesn't work with the file over HTTP but directly on the filesystem, unless you access the file over HTTP... | 2014/04/13 | [
"https://webmasters.stackexchange.com/questions/60595",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37780/"
] | I ran into the following issue:
On a website I want to prevent "unauthorized" access to a set of .xml files - the user has to authenticate first. Now it would be possible for an authenticated user to type the URL of the file I don't want them to see. To prevent this, I created a simple php script that checks user auth... | PHP doesn't work with the file over HTTP but directly on the filesystem, unless you access the file over HTTP using `cUrl` or `file_get_contents('http://.../file.xml')`.
If you want to prevent the files from being accessed without the user being authenticated first, place the files outside the public directory and ser... |
60,676 | <p>I am trying to update some plugins on a WordPress site.
To do this directly through WordPress you need to provide:</p>
<ul>
<li>Hostname</li>
<li>Username</li>
<li>Password</li>
<li>Connection yype</li>
</ul>
<p>I am definitely using the correct details however they are being refused.</p>
<p>An error is displayed... | [
{
"answer_id": 60693,
"author": "Abu Nooh",
"author_id": 37824,
"author_profile": "https://webmasters.stackexchange.com/users/37824",
"pm_score": 0,
"selected": false,
"text": "<p>Check your file and folder permissions and set them to the correct ones. Have a look here. \n<a href=\"http:... | 2014/04/15 | [
"https://webmasters.stackexchange.com/questions/60676",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/23890/"
] | I am trying to update some plugins on a WordPress site.
To do this directly through WordPress you need to provide:
* Hostname
* Username
* Password
* Connection yype
I am definitely using the correct details however they are being refused.
An error is displayed:
>
> ERROR: There was an error connecting to the ser... | If it were a folder permission error you would connect but get an error about permissions.
First enable WP\_DEBUG in `wp-config`
If you have root access, check your php error log, and syslog in `/var/log`
From a shell, try FTPing to localhost does it work? Can you read and write to your `plugins` folder? Now also tr... |
60,701 | <p>I've always been under the assumption that the browser email-validation-regex is more robust than some regex pattern in JS/PHP.</p>
<p>My employer just showed me that both strings are considered correct (at last in FF28):</p>
<pre><code>test@test.com // Expected to be true, is true
test@test // Expected to be ... | [
{
"answer_id": 60703,
"author": "Matteo",
"author_id": 10181,
"author_profile": "https://webmasters.stackexchange.com/users/10181",
"pm_score": 5,
"selected": true,
"text": "<p>It is valid because <code>test</code> could be a top-level domain and <code>localpart@top-level-domain</code> i... | 2014/04/16 | [
"https://webmasters.stackexchange.com/questions/60701",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37448/"
] | I've always been under the assumption that the browser email-validation-regex is more robust than some regex pattern in JS/PHP.
My employer just showed me that both strings are considered correct (at last in FF28):
```
test@test.com // Expected to be true, is true
test@test // Expected to be false, is true
```
... | It is valid because `test` could be a top-level domain and `localpart@top-level-domain` is a valid email address.
See for example [Email address, domain part](http://en.wikipedia.org/wiki/Email_address#Domain_part) |
60,764 | <p>I've got a table. And as you can see below I've got a lot of duplicate alt attributes going on.</p>
<p>What is the best way to prevent this but still have valid HTML5 code?</p>
<pre><code><table id="benefits">
<thead>
<tr>
<th></th>
<th>Unregi... | [
{
"answer_id": 60765,
"author": "Martijn",
"author_id": 37448,
"author_profile": "https://webmasters.stackexchange.com/users/37448",
"pm_score": 3,
"selected": false,
"text": "<p>You can remove the image from the <code>td</code> and just add it to the <code>td</code> instead. In your exa... | 2014/04/17 | [
"https://webmasters.stackexchange.com/questions/60764",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37905/"
] | I've got a table. And as you can see below I've got a lot of duplicate alt attributes going on.
What is the best way to prevent this but still have valid HTML5 code?
```
<table id="benefits">
<thead>
<tr>
<th></th>
<th>Unregistered</th>
<th><b>Basic</b></th>
... | It is [perfectly valid](http://www.w3.org/TR/html401/struct/objects.html#adef-alt) for the alt attribute to be blank, if the images are purely decorational.
Otherwise, if you are outputting the *same* image over and over then it makes sense that the alt attribute be the same for all of them. There is no negative SEO b... |
60,793 | <p>I want to write client request to a file with two things/information</p>
<ul>
<li>headers</li>
<li>ip address </li>
</ul>
<p>The code I'm testing on free hosting service.Code is</p>
<pre><code><?
$headers= apache_request_headers();
foreach ($headers as $header => value)
{
echo "4header: $ value </br >... | [
{
"answer_id": 60812,
"author": "JMC",
"author_id": 6033,
"author_profile": "https://webmasters.stackexchange.com/users/6033",
"pm_score": 1,
"selected": false,
"text": "<p>I've worked on sites like this before where large sites were moved without redirects by people not understanding ho... | 2014/04/18 | [
"https://webmasters.stackexchange.com/questions/60793",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/18735/"
] | I want to write client request to a file with two things/information
* headers
* ip address
The code I'm testing on free hosting service.Code is
```
<?
$headers= apache_request_headers();
foreach ($headers as $header => value)
{
echo "4header: $ value </br >\n";
}
?>
```
Above, work for headers; but I'm confused w... | I've worked on sites like this before where large sites were moved without redirects by people not understanding how redirects work. I had to use context clues found in the sites linking to the old version of the website to redirect the old URLs to the current ones. In one case the URLs weren't even friendly and that b... |
60,807 | <p>at "webmasters.stackexchange.com" I already found a similar topic:
<a href="https://webmasters.stackexchange.com/questions/21402/stop-directory-listing-using-htaccess-and-redirect-to-good-error-page">Stop directory listing using .htaccess and redirect to good error page</a></p>
<pre><code>Options -Indexes
ErrorDoc... | [
{
"answer_id": 60816,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>As one who has/had a rather large CSS file, I know that any style sheet can be reduced significantly. I am ... | 2014/04/18 | [
"https://webmasters.stackexchange.com/questions/60807",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/-1/"
] | at "webmasters.stackexchange.com" I already found a similar topic:
[Stop directory listing using .htaccess and redirect to good error page](https://webmasters.stackexchange.com/questions/21402/stop-directory-listing-using-htaccess-and-redirect-to-good-error-page)
```
Options -Indexes
ErrorDocument 403 /path/to/403.ht... | Yes and no. Yes: smaller files of course == faster download. But no: Unless your CSS is just completely out of control, it is likely smaller than the average image on your site. Plus, it will be cached after the first page load.
If you're looking for a speed uptick, there are better ways to spend your time optimizing... |
60,813 | <p>I've got a web site which for historical reasons has two or three pages that appear closely in serps for any given search term. </p>
<p>The site is a spanish language site with two different but related domains, <code>capital-federal.enbuenosaires.com.ar</code> and <code>www.enbuenosaires.com</code>.</p>
<p>An exa... | [
{
"answer_id": 60814,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 3,
"selected": true,
"text": "<p>If you remove pages you generally don't want to redirect them to a central location. When you do ... | 2014/04/18 | [
"https://webmasters.stackexchange.com/questions/60813",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/37937/"
] | I've got a web site which for historical reasons has two or three pages that appear closely in serps for any given search term.
The site is a spanish language site with two different but related domains, `capital-federal.enbuenosaires.com.ar` and `www.enbuenosaires.com`.
An example would be the search term: "propied... | If you remove pages you generally don't want to redirect them to a central location. When you do this, Google considers them "soft 404" and tries to treat them the same way as if you had just removed them and let them be 404 pages. I wouldn't redirect any pages to a sitemap or home page.
The other possibility would be... |
60,833 | <p>My urls is something like </p>
<p><a href="http://escene.ir/component/products/%D8%AA%D9%84%D9%81%D9%86-%D9%87%D8%A7%DB%8C-%D8%AA%D8%AD%D8%AA-%D8%B4%D8%A8%DA%A9%D9%87-%D9%85%D8%AF%DB%8C%D8%B1%DB%8C%D8%AA%DB%8C/Escene-ES620-PEN-IP-Phone?task=view.12" rel="nofollow noreferrer">escene.ir/component/products/تلفن-های-تح... | [
{
"answer_id": 60836,
"author": "Bala",
"author_id": 31093,
"author_profile": "https://webmasters.stackexchange.com/users/31093",
"pm_score": 0,
"selected": false,
"text": "<p>I'm sure Google not changed your url, because when I visited your <a href=\"http://escene.ir/component/products?... | 2014/04/19 | [
"https://webmasters.stackexchange.com/questions/60833",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34739/"
] | My urls is something like
[escene.ir/component/products/تلفن-های-تحت-شبکه-مدیریتی/Escene-ES620-PEN-IP-Phone?task=view.12](http://escene.ir/component/products/%D8%AA%D9%84%D9%81%D9%86-%D9%87%D8%A7%DB%8C-%D8%AA%D8%AD%D8%AA-%D8%B4%D8%A8%DA%A9%D9%87-%D9%85%D8%AF%DB%8C%D8%B1%DB%8C%D8%AA%DB%8C/Escene-ES620-PEN-IP-Phone?tas... | In your header you have a canonical link (on line 11, just under `<title>`).
It looks like this on your page:
```
<link href="http://escene.ir/component/products/?task=view.12" rel="canonical" />
```
This element tells Google your **preferred** URL for a page which has several urls to choose from. This is to preve... |
60,844 | <p>My site is indexed with my another domains, all of the domain are hosted in same hosting. </p>
<p>When I search with <code>site:me.example.com</code> it indexed the another domain like this <code>me.example.com/site1.example.com</code>. How do I handle this situation?</p>
<p>Note: I have 5 websites in same hostin... | [
{
"answer_id": 60836,
"author": "Bala",
"author_id": 31093,
"author_profile": "https://webmasters.stackexchange.com/users/31093",
"pm_score": 0,
"selected": false,
"text": "<p>I'm sure Google not changed your url, because when I visited your <a href=\"http://escene.ir/component/products?... | 2014/04/19 | [
"https://webmasters.stackexchange.com/questions/60844",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/31093/"
] | My site is indexed with my another domains, all of the domain are hosted in same hosting.
When I search with `site:me.example.com` it indexed the another domain like this `me.example.com/site1.example.com`. How do I handle this situation?
Note: I have 5 websites in same hosting, when I search with `site:me.example.c... | In your header you have a canonical link (on line 11, just under `<title>`).
It looks like this on your page:
```
<link href="http://escene.ir/component/products/?task=view.12" rel="canonical" />
```
This element tells Google your **preferred** URL for a page which has several urls to choose from. This is to preve... |
60,845 | <p>I've started collecting G+ reviews for my company. As reviews help build trust and increase conversion rate I would like to include them on my webpage.</p>
<p>Does Google provide a way on how to embed the G+ reviews on my site?</p>
<p>I need to embed the number of stars, name, date and text.</p>
| [
{
"answer_id": 60836,
"author": "Bala",
"author_id": 31093,
"author_profile": "https://webmasters.stackexchange.com/users/31093",
"pm_score": 0,
"selected": false,
"text": "<p>I'm sure Google not changed your url, because when I visited your <a href=\"http://escene.ir/component/products?... | 2014/04/19 | [
"https://webmasters.stackexchange.com/questions/60845",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/35439/"
] | I've started collecting G+ reviews for my company. As reviews help build trust and increase conversion rate I would like to include them on my webpage.
Does Google provide a way on how to embed the G+ reviews on my site?
I need to embed the number of stars, name, date and text. | In your header you have a canonical link (on line 11, just under `<title>`).
It looks like this on your page:
```
<link href="http://escene.ir/component/products/?task=view.12" rel="canonical" />
```
This element tells Google your **preferred** URL for a page which has several urls to choose from. This is to preve... |
60,849 | <p>Google webmasters <code>Search Query Tool</code> shows that my website is ranked for a particular keyword with an average position in Google, but when I type the same keyword in Google, I cant see my website ranked in that position. Why is that? </p>
<p>Example: Webmasters says that my webpage is ranked for the kw ... | [
{
"answer_id": 60836,
"author": "Bala",
"author_id": 31093,
"author_profile": "https://webmasters.stackexchange.com/users/31093",
"pm_score": 0,
"selected": false,
"text": "<p>I'm sure Google not changed your url, because when I visited your <a href=\"http://escene.ir/component/products?... | 2014/04/19 | [
"https://webmasters.stackexchange.com/questions/60849",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/24473/"
] | Google webmasters `Search Query Tool` shows that my website is ranked for a particular keyword with an average position in Google, but when I type the same keyword in Google, I cant see my website ranked in that position. Why is that?
Example: Webmasters says that my webpage is ranked for the kw `best hard drive bran... | In your header you have a canonical link (on line 11, just under `<title>`).
It looks like this on your page:
```
<link href="http://escene.ir/component/products/?task=view.12" rel="canonical" />
```
This element tells Google your **preferred** URL for a page which has several urls to choose from. This is to preve... |
60,951 | <p>Google Webmasters Tools show that one of pages of my site isn't indexed (it was added to the sitemap about 2 weeks ago).<br>
How can I find out what page it is?</p>
| [
{
"answer_id": 60987,
"author": "Community",
"author_id": -1,
"author_profile": "https://webmasters.stackexchange.com/users/-1",
"pm_score": 1,
"selected": true,
"text": "<p>The best method to finding out what pages are index by Google is by doing:</p>\n\n<pre><code>site:mydomain.com\n</... | 2014/04/22 | [
"https://webmasters.stackexchange.com/questions/60951",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/34446/"
] | Google Webmasters Tools show that one of pages of my site isn't indexed (it was added to the sitemap about 2 weeks ago).
How can I find out what page it is? | The best method to finding out what pages are index by Google is by doing:
```
site:mydomain.com
```
In a Google search. That will bring up the indexed results of your website. |
60,965 | <p>I am currently investigating moving some records to a new set of nameservers, and in doing the research to be prepared for it have come up against a confusing mismatch. A bit of background on the situation -</p>
<ul>
<li>it's a <code>.com.au</code> domain, if that is of note (don't think it is).</li>
<li>There are s... | [
{
"answer_id": 61003,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 3,
"selected": true,
"text": "<p>Your situation is an odd one and your question more than intriguing. I imagine that this question can be hel... | 2014/04/23 | [
"https://webmasters.stackexchange.com/questions/60965",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/38057/"
] | I am currently investigating moving some records to a new set of nameservers, and in doing the research to be prepared for it have come up against a confusing mismatch. A bit of background on the situation -
* it's a `.com.au` domain, if that is of note (don't think it is).
* There are several parties involved here - ... | Your situation is an odd one and your question more than intriguing. I imagine that this question can be helpful because this would be a really confusing situation to anyone. I do this everyday and it eluded me even though there were hints right in the question that were easy to overlook.
When you use `nslookup` or `w... |
60,984 | <p>I have a webpage with Index activated.
I have this:
<img src="https://i.stack.imgur.com/F60wy.png" alt="enter image description here"></p>
<p>Is there any way for change language of this, using <code>.htaccess</code>?</p>
<p>I've already tried this <code>Directives</code>:</p>
<pre><code>AddLanguage pt .pt
Defaul... | [
{
"answer_id": 60991,
"author": "fiskolin",
"author_id": 30961,
"author_profile": "https://webmasters.stackexchange.com/users/30961",
"pm_score": 2,
"selected": true,
"text": "<p>Foud a way using <strong>jQuery</strong> <code>.replace</code>:</p>\n\n<pre><code>$(document).ready(function(... | 2014/04/23 | [
"https://webmasters.stackexchange.com/questions/60984",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/30961/"
] | I have a webpage with Index activated.
I have this:

Is there any way for change language of this, using `.htaccess`?
I've already tried this `Directives`:
```
AddLanguage pt .pt
DefaultLanguage pt-PT
RewriteEngine On
RewriteBase /
RewriteCond %{HTT... | Foud a way using **jQuery** `.replace`:
```
$(document).ready(function(){
$('body table tbody tr th a').each(function(i){ // THE OBJECT WHERE IS THE REPLACEING TEXT
$(this).html($(this).html().replace('Name','LOREN IPSUN'));
$(this).html($(this).html().replace('Last modified','LOREN IPSUN'));
... |
61,009 | <p>I'm trying to enable use of <em>htaccess</em> file in Ubuntu 14.04 (Apache 2.4.7).
I know that this question has many possible duplicates, but none of them helped me yet.</p>
<h2>.htaccess</h2>
<pre><code>ErrorDocument 404 /404.html
</code></pre>
<h2>000-default.conf</h2>
<pre><code><VirtualHost *:80>
Acce... | [
{
"answer_id": 61015,
"author": "Huseyin",
"author_id": 38085,
"author_profile": "https://webmasters.stackexchange.com/users/38085",
"pm_score": 1,
"selected": false,
"text": "<ol>\n<li>In <em>/etc/apache2/apache2.conf</em> remove comment sign (<code>#</code>) from <code>AccessFileName ... | 2014/04/23 | [
"https://webmasters.stackexchange.com/questions/61009",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/38081/"
] | I'm trying to enable use of *htaccess* file in Ubuntu 14.04 (Apache 2.4.7).
I know that this question has many possible duplicates, but none of them helped me yet.
.htaccess
---------
```
ErrorDocument 404 /404.html
```
000-default.conf
----------------
```
<VirtualHost *:80>
AccessFileName .htaccess
ServerAdmin ... | First Step
----------
Open file as
```
sudo vim /etc/apache2/apache2.conf
```
Second Step
-----------
remove comment sign (#) if you find it before this line ( line number 187 approx.)
`AccessFileName .htaccess`
Third Step
----------
Then find the line where there is
```
<Directory /var/www/>
Options Inde... |
61,044 | <p>This is the first website i am making with HTML and CSS. Truly i am learning as I go but I need some questions answered before I write to much incorrect code.</p>
<p>First a a little intro about the design i planned for the site so we are on the same page. This is a content heavy website ment for ALOT of reading an... | [
{
"answer_id": 61041,
"author": "JackAllenh",
"author_id": 38109,
"author_profile": "https://webmasters.stackexchange.com/users/38109",
"pm_score": 0,
"selected": false,
"text": "<p>One of the major ranking factors for search engines in China is that the server itself is hosted in China.... | 2014/04/24 | [
"https://webmasters.stackexchange.com/questions/61044",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/36530/"
] | This is the first website i am making with HTML and CSS. Truly i am learning as I go but I need some questions answered before I write to much incorrect code.
First a a little intro about the design i planned for the site so we are on the same page. This is a content heavy website ment for ALOT of reading and will con... | Check out [How to submit sitemap to Baidu?](https://webmasters.stackexchange.com/questions/59851/how-to-submit-sitemap-to-baidu/). It discusses how to submit a sitemap to Baidu. That may help some. But the up-shot of it all is that while it is easy to have Baidu spider your site, it is difficult to get Baidu to accept ... |
61,053 | <p>In 2014 has any SEO value rewriting urls?</p>
<p>If my site consistently links product page, and that product page shows a consistent canonical url, is there a real SEO doing this</p>
<pre><code>http://example.com/products/woman-tracksuit-in-hemp
</code></pre>
<p>instead of this</p>
<pre><code>http://example.com... | [
{
"answer_id": 61041,
"author": "JackAllenh",
"author_id": 38109,
"author_profile": "https://webmasters.stackexchange.com/users/38109",
"pm_score": 0,
"selected": false,
"text": "<p>One of the major ranking factors for search engines in China is that the server itself is hosted in China.... | 2014/04/24 | [
"https://webmasters.stackexchange.com/questions/61053",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/38115/"
] | In 2014 has any SEO value rewriting urls?
If my site consistently links product page, and that product page shows a consistent canonical url, is there a real SEO doing this
```
http://example.com/products/woman-tracksuit-in-hemp
```
instead of this
```
http://example.com/product.php?id=6588
```
I know that a hum... | Check out [How to submit sitemap to Baidu?](https://webmasters.stackexchange.com/questions/59851/how-to-submit-sitemap-to-baidu/). It discusses how to submit a sitemap to Baidu. That may help some. But the up-shot of it all is that while it is easy to have Baidu spider your site, it is difficult to get Baidu to accept ... |
61,055 | <p>Besides routing traffic, why do servers need to be configured with the server name?<br>
It seems like a waste in all cases except for routing or hosting for a TLD.</p>
<p>Nginx example:</p>
<pre><code>server {
listen 80;
server_name myexample.com
...
}
</code></pre>
<p>Apache also gives a warning <cod... | [
{
"answer_id": 61059,
"author": "closetnoc",
"author_id": 36029,
"author_profile": "https://webmasters.stackexchange.com/users/36029",
"pm_score": 0,
"selected": false,
"text": "<p>Sorry. But <em>y'all</em> have missed the point. It occurred to me that I may have been insulting with the ... | 2014/04/24 | [
"https://webmasters.stackexchange.com/questions/61055",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/10321/"
] | Besides routing traffic, why do servers need to be configured with the server name?
It seems like a waste in all cases except for routing or hosting for a TLD.
Nginx example:
```
server {
listen 80;
server_name myexample.com
...
}
```
Apache also gives a warning `Could not reliably determine the serv... | The main reason is: HTTP requests include the domain name. You could have stackoverflow.com and askubuntu.com all served off the same front end machine. When the server gets a request it needs to know what content it has to send. That's the main reason server configuration speaks about host name at all.
Why do you hav... |
61,089 | <p>We have a global brand website project for which we are only working the LATAM portion. There is a website installation process here that allows to have one website installation with several ccTLDs, in order to reduce costs.</p>
<p>Because of this the robots.txt in <code>www.domain.com/robots.txt</code> is the sam... | [
{
"answer_id": 61091,
"author": "Stephen Ostermiller",
"author_id": 14543,
"author_profile": "https://webmasters.stackexchange.com/users/14543",
"pm_score": 4,
"selected": true,
"text": "<p>I wouldn't count on all spiders being able to follow a redirect to get to a <code>robots.txt</code... | 2014/04/25 | [
"https://webmasters.stackexchange.com/questions/61089",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/27699/"
] | We have a global brand website project for which we are only working the LATAM portion. There is a website installation process here that allows to have one website installation with several ccTLDs, in order to reduce costs.
Because of this the robots.txt in `www.domain.com/robots.txt` is the same file in `www.domain.... | I wouldn't count on all spiders being able to follow a redirect to get to a `robots.txt` file. See: [Does Google respect a redirect header for robots.txt to a different file name?](https://webmasters.stackexchange.com/questions/51434/does-google-respect-a-redirect-header-for-robots-txt-to-a-different-file-name)
Assumi... |
61,131 | <p>I read in <a href="https://serverfault.com/questions/471242/nginx-user-group-config/471268#471268">a post at Server Fault</a> that PHP-FPM needs <strong>execute</strong> permissions. However, the answer in <a href="https://webmasters.stackexchange.com/questions/13658/when-creating-a-website-what-permissions-and-dire... | [
{
"answer_id": 61137,
"author": "ek9",
"author_id": 37015,
"author_profile": "https://webmasters.stackexchange.com/users/37015",
"pm_score": 3,
"selected": true,
"text": "<p>No, <code>php-fpm</code> user does NOT need <code>execute</code> permissions on PHP files. It only needs read perm... | 2014/04/28 | [
"https://webmasters.stackexchange.com/questions/61131",
"https://webmasters.stackexchange.com",
"https://webmasters.stackexchange.com/users/38179/"
] | I read in [a post at Server Fault](https://serverfault.com/questions/471242/nginx-user-group-config/471268#471268) that PHP-FPM needs **execute** permissions. However, the answer in [When creating a website, what permissions and directory structure?](https://webmasters.stackexchange.com/questions/13658/when-creating-a-... | No, `php-fpm` user does NOT need `execute` permissions on PHP files. It only needs read permission, as PHP files are **parsed** by PHP preprocessor and **not executed** directly. |