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
61,199
<p>I have made a custom <code>404</code> error page called <em>error_404.html</em></p> <p>In my <code>.htaccess</code> I inserted:</p> <pre><code>ErrorDocument 404 /error_404.html </code></pre> <p>In order to control/correct <code>404</code> errors in my website, I would like to know which URL requests return this p...
[ { "answer_id": 61203, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 2, "selected": false, "text": "<p>I do not believe so. Not using ErrorDocument the way you have specified.</p>\n\n<p>Here is a resource site ...
2014/04/29
[ "https://webmasters.stackexchange.com/questions/61199", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34622/" ]
I have made a custom `404` error page called *error\_404.html* In my `.htaccess` I inserted: ``` ErrorDocument 404 /error_404.html ``` In order to control/correct `404` errors in my website, I would like to know which URL requests return this page. Is there a way I can **check which URL or log requests that return...
You do not need a custom error document in order to monitor 404's on your site - if that is the requirement. All the information is in your server access log. The HTTP response code (ie. 404, 403, 200, etc) and the URL of the request that produced that response. The custom error document is a nice way of serving a mea...
61,206
<p>From an SEO point of view, which of the two options are recommended?</p> <pre><code>www.example.com/cell-phones-reviews/samsung-galaxy/ or www.example.com/samsung-galaxy-review/ </code></pre> <p>I guess the keyword string in this fictional case is "samsung galaxy review" so the second option has an advantage on th...
[ { "answer_id": 61203, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 2, "selected": false, "text": "<p>I do not believe so. Not using ErrorDocument the way you have specified.</p>\n\n<p>Here is a resource site ...
2014/04/29
[ "https://webmasters.stackexchange.com/questions/61206", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/37417/" ]
From an SEO point of view, which of the two options are recommended? ``` www.example.com/cell-phones-reviews/samsung-galaxy/ or www.example.com/samsung-galaxy-review/ ``` I guess the keyword string in this fictional case is "samsung galaxy review" so the second option has an advantage on this, but perhaps not as imp...
You do not need a custom error document in order to monitor 404's on your site - if that is the requirement. All the information is in your server access log. The HTTP response code (ie. 404, 403, 200, etc) and the URL of the request that produced that response. The custom error document is a nice way of serving a mea...
61,227
<p>I've recently changed my URLs with parameters to more readable URLs with the following <em>.htaccess</em>:</p> <pre><code>RewriteRule ^page/([A-Za-z0-9-+_\s]+)$ /index.php?n=$1 [L] RewriteRule ^category/([A-Za-z0-9-+_\s]+)/([0-9]+)$ /index.php?p=$1&amp;b=$2 [L] </code></pre> <p>I believe this poses problems now wi...
[ { "answer_id": 61229, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": true, "text": "<p>You are right to think about duplicate content when you are <em>changing</em> a URL structure and the old URLs a...
2014/04/30
[ "https://webmasters.stackexchange.com/questions/61227", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38266/" ]
I've recently changed my URLs with parameters to more readable URLs with the following *.htaccess*: ``` RewriteRule ^page/([A-Za-z0-9-+_\s]+)$ /index.php?n=$1 [L] RewriteRule ^category/([A-Za-z0-9-+_\s]+)/([0-9]+)$ /index.php?p=$1&b=$2 [L] ``` I believe this poses problems now with duplicate content on the search en...
You are right to think about duplicate content when you are *changing* a URL structure and the old URLs are already indexed. ``` # My attempt to do so is giving me a 404 code sending me to domain2. #RewriteCond %{QUERY_STRING} ^n=([A-Za-z0-9]+)$ [NC] #RewriteRule ^index\.php$ http://domain.com/page/? [R=301,L] ``` I...
61,228
<p>We have a dealer network that sells our products, as a bonus we give them an extra 25% off our products from the normal wholesale price if they put our products on their site.</p> <p>We recently got hit with a Google manual penalty so we enlisted the help of "LinkDelete" to help us get rid of all the backlinks. Som...
[ { "answer_id": 61229, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": true, "text": "<p>You are right to think about duplicate content when you are <em>changing</em> a URL structure and the old URLs a...
2014/04/30
[ "https://webmasters.stackexchange.com/questions/61228", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34786/" ]
We have a dealer network that sells our products, as a bonus we give them an extra 25% off our products from the normal wholesale price if they put our products on their site. We recently got hit with a Google manual penalty so we enlisted the help of "LinkDelete" to help us get rid of all the backlinks. Some of our d...
You are right to think about duplicate content when you are *changing* a URL structure and the old URLs are already indexed. ``` # My attempt to do so is giving me a 404 code sending me to domain2. #RewriteCond %{QUERY_STRING} ^n=([A-Za-z0-9]+)$ [NC] #RewriteRule ^index\.php$ http://domain.com/page/? [R=301,L] ``` I...
61,241
<p>I have to take a website down for a month, which is the least intrusive way to keep achieved SEO optimizations?</p> <p>should I just add in apache config:</p> <pre><code>&lt;Directory /root-directory-of-web-site-to-be-redirected&gt; Redirect 301 / http://www.otherdomain.com/temporarily_offline.html &lt;/Direc...
[ { "answer_id": 61242, "author": "JMC", "author_id": 6033, "author_profile": "https://webmasters.stackexchange.com/users/6033", "pm_score": 3, "selected": false, "text": "<p>Use a 302 redirect instead 301 </p>\n\n<p>302 Redirect Means:</p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/HTTP...
2014/04/30
[ "https://webmasters.stackexchange.com/questions/61241", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27585/" ]
I have to take a website down for a month, which is the least intrusive way to keep achieved SEO optimizations? should I just add in apache config: ``` <Directory /root-directory-of-web-site-to-be-redirected> Redirect 301 / http://www.otherdomain.com/temporarily_offline.html </Directory> ``` .... ---- Reason ...
If your website is down for a month, you will lose all your rankings and it may take you months to gain them back. I had a website go offline for about 3 months due to an issue with hosting. When I got it back online, it took nearly a full year to get back the rankings that it had once enjoyed. The best idea I have to...
61,245
<p>Hello everyone and thanks for your time!</p> <p>I am now facing a problem after a site migration. </p> <p>New site is basically an improved version of old site, with the same content and some extras. After pointing the domain name to the new site, the old site was still online for a while but didn't get any traffi...
[ { "answer_id": 61242, "author": "JMC", "author_id": 6033, "author_profile": "https://webmasters.stackexchange.com/users/6033", "pm_score": 3, "selected": false, "text": "<p>Use a 302 redirect instead 301 </p>\n\n<p>302 Redirect Means:</p>\n\n<p><a href=\"http://en.wikipedia.org/wiki/HTTP...
2014/05/01
[ "https://webmasters.stackexchange.com/questions/61245", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38288/" ]
Hello everyone and thanks for your time! I am now facing a problem after a site migration. New site is basically an improved version of old site, with the same content and some extras. After pointing the domain name to the new site, the old site was still online for a while but didn't get any traffic. The new site h...
If your website is down for a month, you will lose all your rankings and it may take you months to gain them back. I had a website go offline for about 3 months due to an issue with hosting. When I got it back online, it took nearly a full year to get back the rankings that it had once enjoyed. The best idea I have to...
61,258
<p>I want to disable gzip compression in my site using htaccess.</p> <p>I have the code below in htaccess:</p> <pre><code>php_flag zlib.output_compression off </code></pre> <p>But it is not working.</p>
[ { "answer_id": 61259, "author": "Clarkey", "author_id": 38296, "author_profile": "https://webmasters.stackexchange.com/users/38296", "pm_score": 4, "selected": true, "text": "<p>Check here: <a href=\"https://stackoverflow.com/questions/9249243/how-to-disable-apache-gzip-compression-for-s...
2014/05/01
[ "https://webmasters.stackexchange.com/questions/61258", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/37738/" ]
I want to disable gzip compression in my site using htaccess. I have the code below in htaccess: ``` php_flag zlib.output_compression off ``` But it is not working.
Check here: <https://stackoverflow.com/questions/9249243/how-to-disable-apache-gzip-compression-for-some-media-files-in-htaccess-file> It's possible, but looks like it will disable gzip for the whole website. Keep in mind that you are telling PHP not to gzip, but Apache may still be gzipping so this should sort it, b...
61,263
<p>A site has moved from <code>example.net</code> to <code>example.com/ie/en/</code>. (In other words, it’s moved from being its own domain to being a subfolder in a larger site.) However, the page structure has also changed. I have a few pages with specific redirects. For example, <code>example.net/packaging</code> sh...
[ { "answer_id": 61269, "author": "Tero Kilkanen", "author_id": 36798, "author_profile": "https://webmasters.stackexchange.com/users/36798", "pm_score": 3, "selected": true, "text": "<p>You should write all your rules using <code>RewriteRule</code>, since those two directives are handled b...
2014/05/01
[ "https://webmasters.stackexchange.com/questions/61263", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2776/" ]
A site has moved from `example.net` to `example.com/ie/en/`. (In other words, it’s moved from being its own domain to being a subfolder in a larger site.) However, the page structure has also changed. I have a few pages with specific redirects. For example, `example.net/packaging` should redirect to `example.com/ie/en/...
You should write all your rules using `RewriteRule`, since those two directives are handled by different modules, and things might not work as you expect if you use both modules. For example: ``` Redirect permanent /geotextiles http://www.example.com/ie/en/technical-fabrics/geosynthetics/ ``` is like this using Rew...
61,274
<p>We currently use a hashbang for the portion of our site that generates dynamic content which can also be deep linked. Our analytics team wants to use utm params to track the referral traffic from social networks. We are using Universal Analytics (analytics.js) as well as GTM.</p> <p>Will GA pick up the query parame...
[ { "answer_id": 67583, "author": "Prasad Ajinkya", "author_id": 19699, "author_profile": "https://webmasters.stackexchange.com/users/19699", "pm_score": 2, "selected": false, "text": "<p>I dont think the GA will kick-in after #!</p>\n\n<p>I guess (and correct if my speculation is wrong), ...
2014/05/01
[ "https://webmasters.stackexchange.com/questions/61274", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38247/" ]
We currently use a hashbang for the portion of our site that generates dynamic content which can also be deep linked. Our analytics team wants to use utm params to track the referral traffic from social networks. We are using Universal Analytics (analytics.js) as well as GTM. Will GA pick up the query parameters after...
I dont think the GA will kick-in after #! I guess (and correct if my speculation is wrong), that your #! site is using the [front controller pattern](http://en.wikipedia.org/wiki/Front_Controller_pattern) (just like WordPress and its index.php). In which case, can't you tweak your framework to move away from #! and t...
61,286
<p>We're using an OpenCart 1.5.5.1 custom theme for our site.</p> <p>Well it hasn't been smooth sailing for us and we are facing problem after problem. So far the gist of it is we're currently on a business SSD host (still shared I believe) to test the performance of the site (uniqpcs.co.uk), it is on a trial period s...
[ { "answer_id": 76751, "author": "Mike -- No longer here", "author_id": 46807, "author_profile": "https://webmasters.stackexchange.com/users/46807", "pm_score": 2, "selected": false, "text": "<p>According to this:</p>\n\n<p><a href=\"http://docs.cloudlinux.com/entry_processes_limit.html\"...
2014/05/01
[ "https://webmasters.stackexchange.com/questions/61286", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38307/" ]
We're using an OpenCart 1.5.5.1 custom theme for our site. Well it hasn't been smooth sailing for us and we are facing problem after problem. So far the gist of it is we're currently on a business SSD host (still shared I believe) to test the performance of the site (uniqpcs.co.uk), it is on a trial period so that we ...
According to this: <http://docs.cloudlinux.com/entry_processes_limit.html> Entry process limits are designed to prevent hackers from slowing down the server. What you should do is take a closer look at your processing time. Run a test on webpagetest.org and check the values for "time to first byte". If it's over 1...
61,294
<p>I want to install my new site content on a subdomain like <code>subdir.mydomainsite.com</code> instead of the root domain.</p> <p>This is a new domain and not previous content to redirect. The root URL will be empty and inaccessible to anyone trying to browse the root site <code>mydomainsite.com</code> and will be...
[ { "answer_id": 61295, "author": "b1_", "author_id": 18656, "author_profile": "https://webmasters.stackexchange.com/users/18656", "pm_score": 0, "selected": false, "text": "<p>It is ok to use a 30X header: <a href=\"https://support.google.com/webmasters/answer/83105?hl=en\" rel=\"nofollow...
2014/05/01
[ "https://webmasters.stackexchange.com/questions/61294", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38311/" ]
I want to install my new site content on a subdomain like `subdir.mydomainsite.com` instead of the root domain. This is a new domain and not previous content to redirect. The root URL will be empty and inaccessible to anyone trying to browse the root site `mydomainsite.com` and will be redirected to `subdir.mydomainsi...
Setup both the domain and the subdomain in google webmastertools, and set your preferred version to be the subdomain one, then in the 'naked' domain (mydomainsite.com) if you are using apache, put this in the .htaccess (mydomainsite.com/.htaccess) ``` RewriteEngine On RewriteCond %{HTTP_HOST} !^subdir\.mydomainsite\.c...
61,331
<p>I have website that identifies users only by their IPs. That makes it very difficult to keep it secure against unwanted users/attackers. They can simply change their IP by using VPN services that provides them numerous variety of IPs. So what I want is to not just blocking one IP but entire IPs under subnets of a VP...
[ { "answer_id": 61338, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 1, "selected": false, "text": "<p>As it so happens, I was writing a script to allow people to enter an IP address notation and get an .htacce...
2014/05/02
[ "https://webmasters.stackexchange.com/questions/61331", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38330/" ]
I have website that identifies users only by their IPs. That makes it very difficult to keep it secure against unwanted users/attackers. They can simply change their IP by using VPN services that provides them numerous variety of IPs. So what I want is to not just blocking one IP but entire IPs under subnets of a VPN s...
As it so happens, I was writing a script to allow people to enter an IP address notation and get an .htaccess regex to block the IP address and IP address block. Much of the code was borrowed from other places and the script has to be secured so it is not ready for prime-time. I scrambled to cobble the code together to...
61,332
<p>I have a cloud server running Debian 7. My domain (<code>www.domain.com</code> and <code>domain.com</code>) both have an <code>A</code> record pointing to the static IP address of my cloud server. </p> <p>On the cloud server itself, what should my <code>/etc/hosts</code> and <code>/etc/hostname</code> be set as?</p...
[ { "answer_id": 61344, "author": "MilesWeb", "author_id": 36947, "author_profile": "https://webmasters.stackexchange.com/users/36947", "pm_score": 0, "selected": false, "text": "<p>The /etc/hosts file has the entry of the server's hostname. If you wish to point a domain locally on that se...
2014/05/02
[ "https://webmasters.stackexchange.com/questions/61332", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38331/" ]
I have a cloud server running Debian 7. My domain (`www.domain.com` and `domain.com`) both have an `A` record pointing to the static IP address of my cloud server. On the cloud server itself, what should my `/etc/hosts` and `/etc/hostname` be set as? I plan to have multiple servers, so I started labeling the servers...
I have a clustered setup where I named my hosts in `/etc/host` as: ``` 192.168.0.5 master.local XX.XX.XX.XX www.master.com 192.168.0.6 node01.master.local YY.YY.YY.YY node01.master.com 192.168.0.7 node02.master.local ZZ.ZZ.ZZ.ZZ node02.master.com ``` With this I have a mapping of their private IP...
61,346
<p>I have been asked if I can rectify a <code>403</code> error on <code>www.kirrawe.com.au</code>. The site was developed and hosted by another web developer who can no longer be contacted. </p> <p>I have been in contact with the hosting company (DreamHost), but due to security issues, they can only forward my request...
[ { "answer_id": 61347, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 4, "selected": true, "text": "<p>It looks like the domain registration for kirrawe.com.au is for Kirrawe Indigenous Corporation which is a go...
2014/05/02
[ "https://webmasters.stackexchange.com/questions/61346", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38338/" ]
I have been asked if I can rectify a `403` error on `www.kirrawe.com.au`. The site was developed and hosted by another web developer who can no longer be contacted. I have been in contact with the hosting company (DreamHost), but due to security issues, they can only forward my requests to the account holder (the dev...
It looks like the domain registration for kirrawe.com.au is for Kirrawe Indigenous Corporation which is a good thing. It is proof that the company owns the domain name which at first glance, is not your root problem, but an element of proof and an important one. Second, I see the name Duane Norman. I am assuming that ...
61,367
<p>I have a site which has variable ID's which bring up different content</p> <p>For example:</p> <ul> <li><p><code>http://example.com/university.php?id=3</code></p></li> <li><p><code>http://example.com/university.php?id=4</code></p></li> </ul> <p>Technically these are two different pages which ideally I would like ...
[ { "answer_id": 61347, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 4, "selected": true, "text": "<p>It looks like the domain registration for kirrawe.com.au is for Kirrawe Indigenous Corporation which is a go...
2014/05/03
[ "https://webmasters.stackexchange.com/questions/61367", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38357/" ]
I have a site which has variable ID's which bring up different content For example: * `http://example.com/university.php?id=3` * `http://example.com/university.php?id=4` Technically these are two different pages which ideally I would like google to index separately (and rank for terms according to the University) W...
It looks like the domain registration for kirrawe.com.au is for Kirrawe Indigenous Corporation which is a good thing. It is proof that the company owns the domain name which at first glance, is not your root problem, but an element of proof and an important one. Second, I see the name Duane Norman. I am assuming that ...
61,374
<p>.</p> <p>Basically I have replaced my site completely but upon searching Google, it returned some old pages that didn't exist anymore, so I have used the <code>Google index -&gt; Remove URLs</code> from <code>Google Webmaster Tools</code> and deleted the few pages I found that led nowhere, and that was well and dan...
[ { "answer_id": 61377, "author": "Tero Kilkanen", "author_id": 36798, "author_profile": "https://webmasters.stackexchange.com/users/36798", "pm_score": 2, "selected": true, "text": "<p>I have used the Remove URLs feature before, and I think that it removes pages for 180 days. I couldn't f...
2014/05/04
[ "https://webmasters.stackexchange.com/questions/61374", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38358/" ]
. Basically I have replaced my site completely but upon searching Google, it returned some old pages that didn't exist anymore, so I have used the `Google index -> Remove URLs` from `Google Webmaster Tools` and deleted the few pages I found that led nowhere, and that was well and dandy. But then I noticed by changing ...
I have used the Remove URLs feature before, and I think that it removes pages for 180 days. I couldn't find that information from GWT right now though. So, your only option is to reinclude the site and manually remove the individual pages you don't want to be listed. A better option would be to 301 redirect those to ...
61,380
<p>Here is the summary I've recently learnt from discussions on this site (and similar) of 4 basic rules, so please correct me if I'm wrong or misunderstood something:</p> <p><strong>a)</strong> Don't use IDs in CSS (or use it as few as possible)</p> <p><strong>b)</strong> Use as many descriptive elements as possible...
[ { "answer_id": 61381, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 3, "selected": true, "text": "<p>a) Use as many as you need but IDs are there for a reason and can serve a purpose. The problem with IDs is the same ...
2014/05/04
[ "https://webmasters.stackexchange.com/questions/61380", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38220/" ]
Here is the summary I've recently learnt from discussions on this site (and similar) of 4 basic rules, so please correct me if I'm wrong or misunderstood something: **a)** Don't use IDs in CSS (or use it as few as possible) **b)** Use as many descriptive elements as possible such as `article`, `section` … instead of ...
a) Use as many as you need but IDs are there for a reason and can serve a purpose. The problem with IDs is the same one might have with global variables in javascript. That one may forget the ID is used on another page causing problems cross-page while coding. I agree with b and c. d) will require more thought on my ...
61,400
<p>I have a blog that targets different regions. The Europe region blog has different sections in different local languages such as English, French and German. I wonder how to track and analyze the different sections. </p> <p>My initial thought is to search the domain URL, but I found it is not a good idea. F...
[ { "answer_id": 61407, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>You may want to rethink your URL structure. There are good SEO reasons to put all your French co...
2014/05/05
[ "https://webmasters.stackexchange.com/questions/61400", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38373/" ]
I have a blog that targets different regions. The Europe region blog has different sections in different local languages such as English, French and German. I wonder how to track and analyze the different sections. My initial thought is to search the domain URL, but I found it is not a good idea. For example, the URL...
Short of rethinking you URL structure (I'm with Stephen Ostermiller), you can use Virtual Pageviews and some conditional switching for this. On your template that displays single posts, you'll need to do some checking. Pseudo code... ``` $region = get_the_region(); $lang = get_the_language(); ``` Then, instead of th...
61,409
<p>When I make a search on Google and find my website; then I see the URL (the green line below the page title) is saying <code>www.domain.dk/?lang=nb</code>.</p> <p>I found out that <code>nb</code> is short for Norwegian. How do I remove the <code>?lang=nb</code> or at least change it to <code>?lang=da</code> since m...
[ { "answer_id": 61407, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>You may want to rethink your URL structure. There are good SEO reasons to put all your French co...
2014/05/05
[ "https://webmasters.stackexchange.com/questions/61409", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38380/" ]
When I make a search on Google and find my website; then I see the URL (the green line below the page title) is saying `www.domain.dk/?lang=nb`. I found out that `nb` is short for Norwegian. How do I remove the `?lang=nb` or at least change it to `?lang=da` since my website is in Danish? I have already written this in...
Short of rethinking you URL structure (I'm with Stephen Ostermiller), you can use Virtual Pageviews and some conditional switching for this. On your template that displays single posts, you'll need to do some checking. Pseudo code... ``` $region = get_the_region(); $lang = get_the_language(); ``` Then, instead of th...
61,466
<p>I am trying to setup my htaccess file such that all 404 pages are permanently redirected to the <code>home/index</code> page using 301. After I configure the htaccess file I try to test that it is working correctly by typing in a bogus URL such as <code>site.com/asdf</code> to see if the 404 will redirect. It does n...
[ { "answer_id": 61460, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 2, "selected": false, "text": "<p>I am not an expert on GEO Targeting, but I did do some research for another question and was not surprised ...
2014/05/06
[ "https://webmasters.stackexchange.com/questions/61466", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38415/" ]
I am trying to setup my htaccess file such that all 404 pages are permanently redirected to the `home/index` page using 301. After I configure the htaccess file I try to test that it is working correctly by typing in a bogus URL such as `site.com/asdf` to see if the 404 will redirect. It does not, it just displays the ...
I am not an expert on GEO Targeting, but I did do some research for another question and was not surprised by the answer. If a domain name is registered by a ccTLD (country code), there are two things that happen from Google's point of view. One, it knows what data centers should be populated primarily, and two, where ...
61,475
<p>I have actually been reading and thinking about adding OpenGraph meta tags to help people who are sharing my blog posts, and different information of my site on Facebook. From reading, that will help index the site even better.</p> <p>The <em>basic</em> setup for my site would go something like this for each page:<...
[ { "answer_id": 61476, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p>No. Google does not use OpenGraph tags. It is proprietary to Facebook.</p>\n\n<p>Additionally, they are funct...
2014/05/07
[ "https://webmasters.stackexchange.com/questions/61475", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38341/" ]
I have actually been reading and thinking about adding OpenGraph meta tags to help people who are sharing my blog posts, and different information of my site on Facebook. From reading, that will help index the site even better. The *basic* setup for my site would go something like this for each page: ``` <meta proper...
No. Google does not use OpenGraph tags. It is proprietary to Facebook. Additionally, they are functionally no different then the description and keyword meta tags which Google has stated is not used in their algorithm.
61,505
<p>I've written a simple redirect script in PHP that takes a resource ID and then redirects the user to the appropriate page.</p> <p>The main motivation was if all of my links were to break because the service provider decided to disable them for whatever reason, I can update all links easily since they're in a single...
[ { "answer_id": 61498, "author": "Blake", "author_id": 20929, "author_profile": "https://webmasters.stackexchange.com/users/20929", "pm_score": 2, "selected": false, "text": "<p>It would reduce the workload of your server to upload them to an external host as asked about.</p>\n" }, { ...
2014/05/07
[ "https://webmasters.stackexchange.com/questions/61505", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36207/" ]
I've written a simple redirect script in PHP that takes a resource ID and then redirects the user to the appropriate page. The main motivation was if all of my links were to break because the service provider decided to disable them for whatever reason, I can update all links easily since they're in a single location....
It would reduce the workload of your server to upload them to an external host as asked about.
61,508
<p>I am running a Moodle 2.4.8 (Build: 20140113) on a Debian Squeeze box, with Apache 2.2. Whenever a user (even the admin user) makes changes to certain settings (i.e. <em>adding a user</em>), or just accessing certain courses (in this case, Math 9), the page pops up with a 503 error, <strong>Fatal error: $CFG->dataro...
[ { "answer_id": 61509, "author": "JMC", "author_id": 6033, "author_profile": "https://webmasters.stackexchange.com/users/6033", "pm_score": 2, "selected": false, "text": "<p><strong>Edit:</strong> Forgot to mention one of the obvious techniques. Read the server and program error logs for ...
2014/05/07
[ "https://webmasters.stackexchange.com/questions/61508", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27570/" ]
I am running a Moodle 2.4.8 (Build: 20140113) on a Debian Squeeze box, with Apache 2.2. Whenever a user (even the admin user) makes changes to certain settings (i.e. *adding a user*), or just accessing certain courses (in this case, Math 9), the page pops up with a 503 error, **Fatal error: $CFG->dataroot is not writab...
**Edit:** Forgot to mention one of the obvious techniques. Read the server and program error logs for more information on specific problems. Errors displayed to the user through the frontend are often made intentionally generic. To the solve the problem, find the files that are used in the failing processes by debuggi...
61,602
<p>Our main website is on a Windows server. We're migrating our Blogger blog to WordPress and I think I want to use a Linux-based webhost instead of our Windows server for this, just because I understand Wordpress is a pain in Windows environments.</p> <p>However, I want my blog permalinks to reflect that the blog is ...
[ { "answer_id": 61576, "author": "Will", "author_id": 37633, "author_profile": "https://webmasters.stackexchange.com/users/37633", "pm_score": 1, "selected": false, "text": "<p>Can you verify that all works consistently when it's not inside their network? If so, you can at least start to ...
2014/05/09
[ "https://webmasters.stackexchange.com/questions/61602", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/16438/" ]
Our main website is on a Windows server. We're migrating our Blogger blog to WordPress and I think I want to use a Linux-based webhost instead of our Windows server for this, just because I understand Wordpress is a pain in Windows environments. However, I want my blog permalinks to reflect that the blog is on the sam...
Can you verify that all works consistently when it's not inside their network? If so, you can at least start to make it their internal IT dept's problem. They have the ability to look at logs and test ports. Presuming it's working on your side, I would start by using the F12 tools in IE while looking at their site. It...
61,613
<p>I have a blogger site (let's call it <code>test.blogspot.com.au</code>) and a domain <code>test.com</code> which redirects to that site.</p> <p>We've installed Wordpress in a subdirectory on another site and migrated using blogger’s import tool. Let's call it <code>newsite.com.au/blog</code>. </p> <p>My question i...
[ { "answer_id": 61610, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p>There is no SEO value in this. This is not content. Use form names that makes the server side programming cle...
2014/05/10
[ "https://webmasters.stackexchange.com/questions/61613", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38562/" ]
I have a blogger site (let's call it `test.blogspot.com.au`) and a domain `test.com` which redirects to that site. We've installed Wordpress in a subdirectory on another site and migrated using blogger’s import tool. Let's call it `newsite.com.au/blog`. My question is: All the guides seem to relate to editing blogge...
There is no SEO value in this. This is not content. Use form names that makes the server side programming cleaner and easier to manage. This is *way* over-thinking SEO.
61,622
<p>My website is sending out email that RackSpace email is marking as spam. I'm trying to figure out why the email is being marked as spam and what I can do about it.</p> <p>The most interesting header that the spam filter adds is the <code>X-CNFS-Analysis</code> header that looks like it has lots of information abou...
[ { "answer_id": 61630, "author": "Michael Hampton", "author_id": 17007, "author_profile": "https://webmasters.stackexchange.com/users/17007", "pm_score": 4, "selected": true, "text": "<p>The header <code>X-CNFS-Analysis</code> is added to emails processed by <a href=\"http://www.cloudmark...
2014/05/10
[ "https://webmasters.stackexchange.com/questions/61622", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14543/" ]
My website is sending out email that RackSpace email is marking as spam. I'm trying to figure out why the email is being marked as spam and what I can do about it. The most interesting header that the spam filter adds is the `X-CNFS-Analysis` header that looks like it has lots of information about what the spam filter...
The header `X-CNFS-Analysis` is added to emails processed by [Cloudmark Authority](http://www.cloudmark.com/en/s/products/cloudmark-authority), an email filtering engine, and appliances which use this engine such as [Cloudmark Security Platform](http://www.cloudmark.com/en/s/products/cloudmark-security-platform). In ne...
61,652
<p>I am trying to set up my website to work with Hostgator, and 123reg.</p> <p>I have mapped my IP address that HostGator gave me, to my 123reg domain name I just bought. </p> <p>What I did was the following:</p> <ol> <li>Mapped the IP address to my domain name using 123reg (control panel). </li> <li>I also chang...
[ { "answer_id": 61643, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>That is Safari on an iPhone.</p>\n\n<p>I believe that the only real iOS simulator is the one that comes with Appl...
2014/05/11
[ "https://webmasters.stackexchange.com/questions/61652", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38601/" ]
I am trying to set up my website to work with Hostgator, and 123reg. I have mapped my IP address that HostGator gave me, to my 123reg domain name I just bought. What I did was the following: 1. Mapped the IP address to my domain name using 123reg (control panel). 2. I also changed the Nameservers values (in 123reg)...
That is Safari on an iPhone. I believe that the only real iOS simulator is the one that comes with Apple's Xcode, the IDE for OS X. However, I doubt that you need something that fully-fledged. A quick Google search turned up [this site](http://transmog.net/iphone-simulator/) which renders sites as if they were on an ...
61,678
<p>When running multiple international Websites, is the best practice in language tags to specify firstly the language code then the country code, or vice versa?</p> <p>For instance:</p> <ul> <li><code>http://www.example.com/en-in/</code> (English, India) or </li> <li><code>https://www.example.com/in-en/</code></li>...
[ { "answer_id": 61679, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 3, "selected": false, "text": "<p>This is the language which dominates because there are many countries which use the same language. That's w...
2014/05/12
[ "https://webmasters.stackexchange.com/questions/61678", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30897/" ]
When running multiple international Websites, is the best practice in language tags to specify firstly the language code then the country code, or vice versa? For instance: * `http://www.example.com/en-in/` (English, India) or * `https://www.example.com/in-en/`
The typical format for a locale is comprised of the two letter language code followed by the two letter country code. For example, here is a list of all the [locales supported by Java](http://www.oracle.com/technetwork/java/javase/javase7locales-334809.html): ``` Language Country Lo...
61,702
<p>I have a site <code>site.domain1.com</code> that needs to launch content from another domain - <code>content.domain2.com</code> but I encounter cross-domain JS issues when doing this directly.</p> <p>I basically need to make <code>site.domain1.com</code> think that the content from <code>domain2</code> is actually ...
[ { "answer_id": 61705, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Rewriting URLs alone will not solve your problem. Rewrite can only rewrite local URLs, not URLs...
2014/05/13
[ "https://webmasters.stackexchange.com/questions/61702", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38655/" ]
I have a site `site.domain1.com` that needs to launch content from another domain - `content.domain2.com` but I encounter cross-domain JS issues when doing this directly. I basically need to make `site.domain1.com` think that the content from `domain2` is actually from `domain1.com`. I have read that URL rewrite in II...
The problem you're having is solved with [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS): > > The Cross-Origin Resource Sharing standard works by adding new HTTP > headers that allow servers to describe the set of origins that are > permitted to read that information using a web browse...
61,718
<p>I have in a remote server with this <code>index.html</code> that I can <em>not</em> modify: </p> <pre><code>&lt;link rel="stylesheet" type="text/css" href="styles.css" /&gt; </code></pre> <p>But my <em>styles.css</em> file is not at the web root, that is <code>/styles.css</code> but at <code>/css/styles.css</code...
[ { "answer_id": 61720, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>You could just redirect <code>/styles.css</code> to <code>/css/styles.css</code>. In the <em>.ht...
2014/05/13
[ "https://webmasters.stackexchange.com/questions/61718", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26684/" ]
I have in a remote server with this `index.html` that I can *not* modify: ``` <link rel="stylesheet" type="text/css" href="styles.css" /> ``` But my *styles.css* file is not at the web root, that is `/styles.css` but at `/css/styles.css`, is possible through an *.htaccess* file load that file? I have tried with: ...
Although the browser should cache permanent redirects, I think an *internal rewrite* would be preferable. This avoids the browser having to make an additional HTTP request: ``` RewriteEngine On RewriteRule ^([a-z]+\.css)$ /css/$1 [L] ```
61,725
<p>I currently use the following Apache httpd conf:</p> <pre><code>&lt;FilesMatch "\.svg$"&gt; SetHandler application/x-httpd-php &lt;/FilesMatch&gt; AddType image/svg+xml .svg </code></pre> <p>What I'm trying to achieve:</p> <ul> <li>Parsing the PHP scripts in my SVG files</li> <li>Serving my SVG files with the <...
[ { "answer_id": 61730, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>The <a href=\"http://httpd.apache.org/docs/current/mod/mod_mime.html\" rel=\"nofollow\">Apache mo...
2014/05/13
[ "https://webmasters.stackexchange.com/questions/61725", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38669/" ]
I currently use the following Apache httpd conf: ``` <FilesMatch "\.svg$"> SetHandler application/x-httpd-php </FilesMatch> AddType image/svg+xml .svg ``` What I'm trying to achieve: * Parsing the PHP scripts in my SVG files * Serving my SVG files with the `image/svg+xml` MIME type However, the `AddType` seems t...
I ended up setting the handler for SVG files to `application/x-httpd-php`, and used apache's `mod_headers` to pass the correct content-type header. ``` <Files "*.svg"> SetHandler application/x-httpd-php Header set Content-Type "image/svg+xml" </Files> ``` This was solved when I found a nearly identical question ...
61,750
<p>I know that by using an <em>.htaccess</em> file I can redirect everyone to <code>https://</code>. However, my SSL certificate complains if all the content isn't served under HTTPS.</p> <p>Is there a way to convert all the resources to be served under HTTPS without changing all the <code>http://</code> URLs to <code...
[ { "answer_id": 61757, "author": "Tom Brossman", "author_id": 11962, "author_profile": "https://webmasters.stackexchange.com/users/11962", "pm_score": 4, "selected": true, "text": "<p>You need to <strong>drop the 'http:' prefix</strong> from all image (and any other) links on your site. W...
2014/05/13
[ "https://webmasters.stackexchange.com/questions/61750", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31875/" ]
I know that by using an *.htaccess* file I can redirect everyone to `https://`. However, my SSL certificate complains if all the content isn't served under HTTPS. Is there a way to convert all the resources to be served under HTTPS without changing all the `http://` URLs to `https://` in the HTML code? EXAMPLE: If I ...
You need to **drop the 'http:' prefix** from all image (and any other) links on your site. When you do so, your browser will default to whatever protocol the page loads with. For example this is best: ``` <a href="//www.example.com/"> ``` And this is not: ``` <a href="http://www.example.com/"> ``` The top example...
61,761
<p>We are using the following technique to lazy load images in our site:</p> <p>For all images we put in the <code>src</code> attribute a url for a default img (i.e. a loader) and put the actual image url in the <code>data-src</code> attribute. Like so</p> <pre><code>&lt;img src="loader.gif" data-src="img1.jpg" /&gt;...
[ { "answer_id": 61810, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 5, "selected": true, "text": "<p>I've never seen image lazy loading have any negative impact on web search rankings. Improving the...
2014/05/14
[ "https://webmasters.stackexchange.com/questions/61761", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38709/" ]
We are using the following technique to lazy load images in our site: For all images we put in the `src` attribute a url for a default img (i.e. a loader) and put the actual image url in the `data-src` attribute. Like so ``` <img src="loader.gif" data-src="img1.jpg" /> ``` When the image is outside of the viewport ...
I've never seen image lazy loading have any negative impact on web search rankings. Improving the perceived performance of your site for users can really help your rankings. When fewer people bounce back to the search results because of performance problems with your site, your rankings will improve. Google will not b...
61,783
<p>I registered a domain with bigrock.in a week ago.</p> <p>During my website's development phase, I sent several mails using PHPMailer to test Gmail accounts. The HTML message body contained a link to my domain name. </p> <p>Other than that, I cannot remember of any other place where I have used my domain. Now today...
[ { "answer_id": 61785, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 3, "selected": true, "text": "<p>While it is difficult to tell what happened exactly, I can give you this:</p>\n\n<p><a href=\"http://mxtoolb...
2014/05/14
[ "https://webmasters.stackexchange.com/questions/61783", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38725/" ]
I registered a domain with bigrock.in a week ago. During my website's development phase, I sent several mails using PHPMailer to test Gmail accounts. The HTML message body contained a link to my domain name. Other than that, I cannot remember of any other place where I have used my domain. Now today my website devel...
While it is difficult to tell what happened exactly, I can give you this: <http://mxtoolbox.com/blacklists.aspx> Put your domain name in and you will see you are a lot of black lists. *But not all is lost!* It appears that your domain name resolves to 127.0.0.2 which is a private IP address. I did a dig for you. `...
61,816
<p>I've been unable to get Webmaster tools to see my sites structured data. It keeps reporting "We do not detect any structured data on your site".</p> <p>You can inspect my html by visiting: <a href="http://www.cgtag.com" rel="nofollow">http://www.cgtag.com</a></p> <p>I can verify that my Schema.org data is formatte...
[ { "answer_id": 61818, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p><a href=\"https://support.google.com/webmasters/answer/1093493?hl=en#hidden\" rel=\"nofollow\">Goo...
2014/05/15
[ "https://webmasters.stackexchange.com/questions/61816", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/32420/" ]
I've been unable to get Webmaster tools to see my sites structured data. It keeps reporting "We do not detect any structured data on your site". You can inspect my html by visiting: <http://www.cgtag.com> I can verify that my Schema.org data is formatted correctly using Yandex. It reports 50 objects on my home page. ...
[Google won't pick up on any markup that isn't visible to users](https://support.google.com/webmasters/answer/1093493?hl=en#hidden). Because of this policy, they are unlikely to recognize any structured data that is in `<script>` tags. > > In general, Google won't display any content in rich snippets that is not visi...
61,839
<p>As stated in the title, I encounter a redirect loop when accessing my pages in the website.</p> <p>Here is my rewrite config.</p> <pre><code>RewriteCond %{HTTP_REFERER} ^http://example\.com/test/store\.do [NC] RewriteRule (.*)$ /test/$1 [R] </code></pre> <p>So, how do I solve this redirect error?</p> <p>Here is ...
[ { "answer_id": 61840, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 2, "selected": false, "text": "<p>It has been nearly 12 years since I have done any proxy work so I am at a disadvantage. At one point proxie...
2014/05/16
[ "https://webmasters.stackexchange.com/questions/61839", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38741/" ]
As stated in the title, I encounter a redirect loop when accessing my pages in the website. Here is my rewrite config. ``` RewriteCond %{HTTP_REFERER} ^http://example\.com/test/store\.do [NC] RewriteRule (.*)$ /test/$1 [R] ``` So, how do I solve this redirect error? Here is the log file ``` [Fri May 16 12:18:20.3...
It has been nearly 12 years since I have done any proxy work so I am at a disadvantage. At one point proxies were something I knew cold and configured daily, but tonight, I am just not getting my head around this. As well, I am very adept at doing extremely weird things using .htaccess but not so much for the normal st...
61,846
<p>I have 20 domains on a VPS running cPanel. One public_html is filled with code, the remaining 19 are symbolic links to that one. (For example, <code>assets</code> is a directory within <code>public_html</code> ... for the 19 others, there's a symbolic link to that directory in each each accounts <code>public_html</c...
[ { "answer_id": 62846, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Have you tried <code>SymLinksIfOwnerMatch</code> in your <em>.htaccess</em> file?</p>\n\n<pre><co...
2014/05/16
[ "https://webmasters.stackexchange.com/questions/61846", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19148/" ]
I have 20 domains on a VPS running cPanel. One public\_html is filled with code, the remaining 19 are symbolic links to that one. (For example, `assets` is a directory within `public_html` ... for the 19 others, there's a symbolic link to that directory in each each accounts `public_html` dir.) It's all PHP / MySQL da...
**Preserve Changes in Apache** First, stop making changes to httpd.conf. From `usr/local/apache/conf/httpd.conf` > > Direct modifications to the Apache configuration file may be lost upon > subsequent regeneration of the configuration file. > > > Further in that file it details how to provide overrides to the ...
62,938
<p>My old robots.txt is</p> <pre><code>User-agent: * Disallow: / </code></pre> <p>Is blocking me for uploading a new sitemap and also blocking me for fetching robots.txt manually. I don't know what to do.</p>
[ { "answer_id": 63069, "author": "Sudheera Njs", "author_id": 38376, "author_profile": "https://webmasters.stackexchange.com/users/38376", "pm_score": 1, "selected": false, "text": "<p>Check this :</p>\n\n<p>Video Snippets and Sitemaps – A Guide to Video SEO :</p>\n\n<p><a href=\"http://b...
2014/05/20
[ "https://webmasters.stackexchange.com/questions/62938", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38858/" ]
My old robots.txt is ``` User-agent: * Disallow: / ``` Is blocking me for uploading a new sitemap and also blocking me for fetching robots.txt manually. I don't know what to do.
Google is **NOT** currently indexing YouTube transcripts. Here is how I tested it: My company released a [TED video](https://www.youtube.com/watch?v=7ksEycoNy0E). It has an automatically generated transcript available by clicking on the transcript icon. If I search on Google for a phrase from the transcript in quot...
62,966
<p>I have a site that have localized content. I would like to know if it's really important to also translate the URL paths to access the content. For example:</p> <p>Today, I'm handling the URLS like these:</p> <pre><code>www.example.com/de/airports www.example.com/pt/airports </code></pre> <p>My question if is it ...
[ { "answer_id": 62969, "author": "GDVS", "author_id": 18004, "author_profile": "https://webmasters.stackexchange.com/users/18004", "pm_score": 3, "selected": false, "text": "<p>I'm not aware of anything explicit from Google that specifically advises translating URLs to local language, how...
2014/05/20
[ "https://webmasters.stackexchange.com/questions/62966", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35861/" ]
I have a site that have localized content. I would like to know if it's really important to also translate the URL paths to access the content. For example: Today, I'm handling the URLS like these: ``` www.example.com/de/airports www.example.com/pt/airports ``` My question if is it really good and worthwhile to cha...
I'm not aware of anything explicit from Google that specifically advises translating URLs to local language, however they have [acknowledged that keywords in URLs do help](http://searchengineland.com/googles-matt-cutts-on-keywords-in-the-url-16976). You can see that Google (and Bing) is doing something with URL keyword...
62,978
<p>How do I prevent my XML sitemap files from showing up in Google search results like this result of a <code>site:</code> search query:</p> <p><img src="https://i.stack.imgur.com/mvq6y.png" alt="sitemap in search results"></p> <p>I don't understand why Google would choose to show sitemap files in search results to b...
[ { "answer_id": 63002, "author": "konghou", "author_id": 38890, "author_profile": "https://webmasters.stackexchange.com/users/38890", "pm_score": -1, "selected": false, "text": "<p>put the following into the robots.txt</p>\n\n<pre><code>User-agent: *\nDisallow: /sitemap.xml\n</code></pre>...
2014/05/20
[ "https://webmasters.stackexchange.com/questions/62978", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14543/" ]
How do I prevent my XML sitemap files from showing up in Google search results like this result of a `site:` search query: ![sitemap in search results](https://i.stack.imgur.com/mvq6y.png) I don't understand why Google would choose to show sitemap files in search results to begin with. These files are not meant for h...
Google does index XML sitemaps (like any XML file). If Google is aware of a URL and it returns a valid response then it's going to pass Google's inclusion rules and could get indexed. Personally, I only submit the sitemap through GWT and include a `Sitemap:` reference in robots.txt and this is certainly enough to get i...
63,060
<p>META tags that sit within <strong>HEAD</strong> of a webpage. What difference it makes when using microdata in them and outside of <strong>HEAD</strong> of webpage? Let's take for example "<strong>datePublished</strong>" property. Instead of hunting every time for text in content, why not just implement it within <s...
[ { "answer_id": 63068, "author": "GDVS", "author_id": 18004, "author_profile": "https://webmasters.stackexchange.com/users/18004", "pm_score": 2, "selected": false, "text": "<p>You can use a <code>&lt;meta&gt;</code> element with <code>itemprop</code>s for content which doesn't appear in ...
2014/05/22
[ "https://webmasters.stackexchange.com/questions/63060", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20983/" ]
META tags that sit within **HEAD** of a webpage. What difference it makes when using microdata in them and outside of **HEAD** of webpage? Let's take for example "**datePublished**" property. Instead of hunting every time for text in content, why not just implement it within **HEAD** with **META**? According to Google...
You can use a `<meta>` element with `itemprop`s for content which doesn't appear in a format you could otherwise mark up. This is [described by Schema.org as "missing and implicit information"](http://schema.org/docs/gs.html#advanced_missing). I'm not aware of any reason why you can't apply this principle to any data ...
63,077
<p>On <a href="http://secretcitywalks.co/london/london-1-london-eye-tate-modern/" rel="nofollow">this page</a>, there is a "read more..." link towards the end of the page, enclosed in <code>&lt;span id="s-hpi"&gt;&lt;/span&gt;</code></p> <p>There is CSS:</p> <pre><code>#s-hpi { color: 0000FF; cursor: hand; } </co...
[ { "answer_id": 63079, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>You're missing the <code>#</code> before the hex color:</p>\n\n<pre><code>color: 0000FF;\n</code></pre>\n\n<...
2014/05/22
[ "https://webmasters.stackexchange.com/questions/63077", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5026/" ]
On [this page](http://secretcitywalks.co/london/london-1-london-eye-tate-modern/), there is a "read more..." link towards the end of the page, enclosed in `<span id="s-hpi"></span>` There is CSS: ``` #s-hpi { color: 0000FF; cursor: hand; } ``` but Chrome code inspector says both these rules are invalid. Why? ...
As mention above You're missing the **#** before the hex color. for cursor you can use **pointer** ``` #s-hpi { color: #0000FF; cursor: pointer; } ```
63,152
<p>Is there anything I can do to speed up the time it takes to index my pages? It's currently indexing them on it's own time I believe which is every 2 - 3 days and when working in music and media I need to have the latest post fairly quickly.</p> <p>My <em>robots.txt</em> file is.</p> <pre><code>User-agent: * Disall...
[ { "answer_id": 63148, "author": "ek9", "author_id": 37015, "author_profile": "https://webmasters.stackexchange.com/users/37015", "pm_score": 5, "selected": true, "text": "<p>If you do not have specific experience running this kind of websites, then I would strongly suggest you to get a s...
2014/05/24
[ "https://webmasters.stackexchange.com/questions/63152", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39008/" ]
Is there anything I can do to speed up the time it takes to index my pages? It's currently indexing them on it's own time I believe which is every 2 - 3 days and when working in music and media I need to have the latest post fairly quickly. My *robots.txt* file is. ``` User-agent: * Disallow: /wp-admin/ Disallow: /wp...
If you do not have specific experience running this kind of websites, then I would strongly suggest you to get a separate server. While having an adult site on same server with different websites might not affect your non-adult sites directly, there are plenty of things that can go wrong (e.g. IP flagged/blacklisted fo...
63,156
<p>I seem to have the weirdest issue with Search Engine Optimization, and I asked the IT folks at my university, I asked people on Joomla forums and I am trying to sort this issue out using Google Webmaster Tools for more than 2 months to little avail. I want to know if I have some blatantly wrong configuration somewhe...
[ { "answer_id": 63166, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p>You are 303 redirecting to a login page which then redirects back:</p>\n\n<pre><code>$ curl --head...
2014/05/25
[ "https://webmasters.stackexchange.com/questions/63156", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39010/" ]
I seem to have the weirdest issue with Search Engine Optimization, and I asked the IT folks at my university, I asked people on Joomla forums and I am trying to sort this issue out using Google Webmaster Tools for more than 2 months to little avail. I want to know if I have some blatantly wrong configuration somewhere ...
You are 303 redirecting to a login page which then redirects back: ``` $ curl --head http://gsa.ece.umd.edu/ HTTP/1.1 303 See other Date: Sun, 25 May 2014 10:45:59 GMT Server: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 X-Powered-By: PHP/5.4.21 Set-Cookie: c32b08af5ad5c16062381828f6...
63,159
<p>My old URL structure was</p> <pre><code>http://japanaddicts.org/mind-blowing-japanese-songs/ </code></pre> <p>But almost three days back, I picked the other style that's more descriptive:</p> <pre><code>http://japanaddicts.org/creativity/mind-blowing-japanese-songs/ </code></pre> <p>Now I have category slugs in ...
[ { "answer_id": 63163, "author": "ek9", "author_id": 37015, "author_profile": "https://webmasters.stackexchange.com/users/37015", "pm_score": 3, "selected": true, "text": "<p>You have to wait until Google re-indexes your website. This can usually take a few weeks to complete. Once that ha...
2014/05/25
[ "https://webmasters.stackexchange.com/questions/63159", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39015/" ]
My old URL structure was ``` http://japanaddicts.org/mind-blowing-japanese-songs/ ``` But almost three days back, I picked the other style that's more descriptive: ``` http://japanaddicts.org/creativity/mind-blowing-japanese-songs/ ``` Now I have category slugs in my post URLs. When I searched for "Some Mind Blow...
You have to wait until Google re-indexes your website. This can usually take a few weeks to complete. Once that happens, you will see the updated URLs on Google.
63,181
<p>After adding schema.org microdata markup for reviews and aggregate ratings, I expected review and rating information to show up in rich snippets. Unfortunately, neither are being shown.</p> <p>Google's Structured Data Testing Tool finds the microdata, and there're no errors or warnings on the page. Any idea what's ...
[ { "answer_id": 63182, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": -1, "selected": false, "text": "<p>Okay. This just might be the shortest answer I have ever given. Change the meta tag to span. I have not ch...
2014/05/26
[ "https://webmasters.stackexchange.com/questions/63181", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12761/" ]
After adding schema.org microdata markup for reviews and aggregate ratings, I expected review and rating information to show up in rich snippets. Unfortunately, neither are being shown. Google's Structured Data Testing Tool finds the microdata, and there're no errors or warnings on the page. Any idea what's wrong with...
A simplified version of your code works, which suggests the problem is elsewhere on the page. ``` <div itemscope itemtype="http://schema.org/Product"> <h2 class="product_name" itemprop="name"><span>Bengali</span></h2> <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <me...
63,187
<p>Now I have a case that ad block is empty for some reason. Is there any way to force Google to show at least something in this block (let say a blue rectangle)? Or may be I can skip the empty ad block to avoid the empty white areas? It looks weird if the part of page is just empty.</p> <p>Thanks!</p>
[ { "answer_id": 63182, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": -1, "selected": false, "text": "<p>Okay. This just might be the shortest answer I have ever given. Change the meta tag to span. I have not ch...
2014/05/26
[ "https://webmasters.stackexchange.com/questions/63187", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35141/" ]
Now I have a case that ad block is empty for some reason. Is there any way to force Google to show at least something in this block (let say a blue rectangle)? Or may be I can skip the empty ad block to avoid the empty white areas? It looks weird if the part of page is just empty. Thanks!
A simplified version of your code works, which suggests the problem is elsewhere on the page. ``` <div itemscope itemtype="http://schema.org/Product"> <h2 class="product_name" itemprop="name"><span>Bengali</span></h2> <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <me...
63,197
<p>I have found that a website which appears above mine for a certain popular keyword combination has duplicated the Description meta tag.</p> <p>Is this bad practice? Is it something that Google might notice?</p>
[ { "answer_id": 63182, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": -1, "selected": false, "text": "<p>Okay. This just might be the shortest answer I have ever given. Change the meta tag to span. I have not ch...
2014/05/26
[ "https://webmasters.stackexchange.com/questions/63197", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39025/" ]
I have found that a website which appears above mine for a certain popular keyword combination has duplicated the Description meta tag. Is this bad practice? Is it something that Google might notice?
A simplified version of your code works, which suggests the problem is elsewhere on the page. ``` <div itemscope itemtype="http://schema.org/Product"> <h2 class="product_name" itemprop="name"><span>Bengali</span></h2> <div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <me...
63,214
<p>Is there a way to somehow verify that the Googlebot finds the headings and the content, for example by word count?</p> <p>I'm asking this because I tried a program called Screaming Frog, which fails to even fetch the first <code>&lt;h1&gt;</code> on a validated page - for about 1/3 of all the pages(!) - and got ins...
[ { "answer_id": 63215, "author": "Oleg", "author_id": 35144, "author_profile": "https://webmasters.stackexchange.com/users/35144", "pm_score": 2, "selected": false, "text": "<p>In order to ensure that Google has crawled and indexed your content, you can just do a search with the keyword y...
2014/05/26
[ "https://webmasters.stackexchange.com/questions/63214", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13924/" ]
Is there a way to somehow verify that the Googlebot finds the headings and the content, for example by word count? I'm asking this because I tried a program called Screaming Frog, which fails to even fetch the first `<h1>` on a validated page - for about 1/3 of all the pages(!) - and got insecure. Even though the site...
You don't need a tool for this, just type this command line on Google Search and see if your page shows up: ``` keyword site:example.com ``` As `keyword`, just choose a word which is only on your heading or page content. As `example.com`, choose your site to restrict the search to your site. If all keywords of your...
63,229
<p>I want to have a website structure like this:</p> <pre><code>example.com/ - homepage example.com/solutions/ - this will be the solution parent page example.com/solutions/solution-one - child solution page example.com/solutions/solution-two- child solution page </code></pre> <p>I have setup the <code>example.com/so...
[ { "answer_id": 63230, "author": "dotit", "author_id": 30065, "author_profile": "https://webmasters.stackexchange.com/users/30065", "pm_score": 1, "selected": false, "text": "<p>Try to setup \"Default page(D)\" in the .Htaccess</p>\n\n<p><a href=\"http://www.logect.com/content.php?r=258-h...
2014/05/27
[ "https://webmasters.stackexchange.com/questions/63229", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31079/" ]
I want to have a website structure like this: ``` example.com/ - homepage example.com/solutions/ - this will be the solution parent page example.com/solutions/solution-one - child solution page example.com/solutions/solution-two- child solution page ``` I have setup the `example.com/solutions/index.html` file so it ...
If you can SSH into your host log in and check the folder and file permissions on that sub-directory. they should be normal but may have gotten changed inadvertently. You can use .htaccess to define the default page but it doesn't sound like locating it is the issue here. Check that you have no other strangely named...
63,280
<p>I am running WordPress with WooCommerce and Theme My Login plugins. When a user registers on my site it sends them a confirmation email and then they can click to activate account. Problem is when the user goes to login they get an error of incorrect password. If the user uses the forgot password link and resets th...
[ { "answer_id": 63270, "author": "Sherwin Flight", "author_id": 14331, "author_profile": "https://webmasters.stackexchange.com/users/14331", "pm_score": 0, "selected": false, "text": "<p>I'm not exactly sure if this is what you are looking for or now: <a href=\"http://tympanus.net/codrops...
2014/05/28
[ "https://webmasters.stackexchange.com/questions/63280", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39079/" ]
I am running WordPress with WooCommerce and Theme My Login plugins. When a user registers on my site it sends them a confirmation email and then they can click to activate account. Problem is when the user goes to login they get an error of incorrect password. If the user uses the forgot password link and resets the p...
Perhaps the term you're looking for is a [Wizard](https://www.google.co.uk/search?q=software%20wizard)? 'Pagination' usually refers to a set of results that are too numerous to display at once (e.g. a search result) 'Breadcrumbs' are specifically navigation links that lead you 'back up the path' (as in Hansel and Gre...
63,310
<p>I have a site which was temporarily available at both <code>example.com</code> and <code>www.example.com</code>. All traffic to <code>example.com</code> is now redirected to <code>www.example.com</code>, however during the brief period that the site was available at the naked domain, Google indexed it. </p> <p>So G...
[ { "answer_id": 63313, "author": "user29671", "author_id": 29671, "author_profile": "https://webmasters.stackexchange.com/users/29671", "pm_score": 1, "selected": false, "text": "<p>You cannot request removal of the naked domain as the www domain will also be removed. The best solution wo...
2014/05/29
[ "https://webmasters.stackexchange.com/questions/63310", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23663/" ]
I have a site which was temporarily available at both `example.com` and `www.example.com`. All traffic to `example.com` is now redirected to `www.example.com`, however during the brief period that the site was available at the naked domain, Google indexed it. So Google now has two versions of every page indexed: ```...
[Google Webmaster Tools](https://www.google.com/webmasters/tools/) has a setting for it. 1. Sign in to [Webmaster Tools](https://www.google.com/webmasters/tools/) 2. Add, verify, and select your website 3. Use the gear icon and select "Site Settings" 4. From "Preferred Domain", select "Display URLs as www.example.com"...
63,316
<p>I just realized that Bingbot is crawling my company's website's pages over <code>https</code>. Bing already crawls the site over <code>http</code>, so this seems frivolous. Is there a way to specify <code>Disallow: /</code> for <code>https</code> only?</p> <p>According to <a href="http://en.wikipedia.org/wiki/Ro...
[ { "answer_id": 63317, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 5, "selected": true, "text": "<p>There is no way to do it in <em>robots.txt</em> itself as served over HTTP. </p>\n\n<p>You could ...
2014/05/29
[ "https://webmasters.stackexchange.com/questions/63316", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36896/" ]
I just realized that Bingbot is crawling my company's website's pages over `https`. Bing already crawls the site over `http`, so this seems frivolous. Is there a way to specify `Disallow: /` for `https` only? According to [Wikipedia](http://en.wikipedia.org/wiki/Robots_exclusion_standard#About_the_standard), each prot...
There is no way to do it in *robots.txt* itself as served over HTTP. You could serve a different robots file entirely for secure HTTPS connections. Here is one of doing so using rewrite rules in your *.htaccess* file: ``` RewriteEngine On RewriteCond %{HTTPS} =on RewriteRule ^robots.txt$ robots-deny-all.txt [L] ```...
63,328
<p>I want to see all problems when a file can't loaded e.g. I used to do it but now I can't. The only thing I get when a problem occurs is</p> <blockquote> <p>Whoops, looks like something went wrong.</p> </blockquote> <p>How can I change this to detailed error? How can I see which line has to be fixed?</p>
[ { "answer_id": 63329, "author": "ek9", "author_id": 37015, "author_profile": "https://webmasters.stackexchange.com/users/37015", "pm_score": 3, "selected": true, "text": "<p>Edit <code>app/config/app.php</code> and make sure <code>debug</code> is set to <code>true</code>:</p>\n\n<pre><co...
2014/05/29
[ "https://webmasters.stackexchange.com/questions/63328", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/32449/" ]
I want to see all problems when a file can't loaded e.g. I used to do it but now I can't. The only thing I get when a problem occurs is > > Whoops, looks like something went wrong. > > > How can I change this to detailed error? How can I see which line has to be fixed?
Edit `app/config/app.php` and make sure `debug` is set to `true`: ``` 'debug' => true, ```
63,364
<p>I need to send server reports to myself from my remote servers, and I don't mind them going to spam, so I don't need SPF, DKIM, etc.</p> <p>I tried using <code>mailutils</code> to send something like this: <code>uptime | mail -s "uptime" foo@bar.com</code>, but the emails don't go through. In /var/mail/root I recei...
[ { "answer_id": 63365, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>I use the exim4 email package on Ubuntu configured as a \"smart host\". This means you give exi...
2014/05/30
[ "https://webmasters.stackexchange.com/questions/63364", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/17814/" ]
I need to send server reports to myself from my remote servers, and I don't mind them going to spam, so I don't need SPF, DKIM, etc. I tried using `mailutils` to send something like this: `uptime | mail -s "uptime" foo@bar.com`, but the emails don't go through. In /var/mail/root I received a message saying the HELO wa...
Ok I solved it: ``` $ apt-get install mailutils $ vim /etc/postfix/main.cf myhostname = mydomain.com $ service postfix restart ``` Then configure your domain's records to have "mail.mydomain.com" point to your machine's IP, MX record point to "mail.mydomain.com", and also set the SPF using the TXT record like this: ...
63,386
<p>I have some pages on my website www.acethem.com which are having 301 redirection but they are not actually 301 redirects. e.g. www.acethem.com/pastpapers/by-year/2007/ is seen as a 301 redirection to www.acethem.com/pastpapers/by-year by google (I am using "Fetch as google" in webmaster tools.</p> <p>Now more weird...
[ { "answer_id": 63405, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 2, "selected": false, "text": "<p>If you simply click the URLs they do not redirect, however there is something set so when Google Bot hits the pag...
2014/06/01
[ "https://webmasters.stackexchange.com/questions/63386", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39157/" ]
I have some pages on my website www.acethem.com which are having 301 redirection but they are not actually 301 redirects. e.g. www.acethem.com/pastpapers/by-year/2007/ is seen as a 301 redirection to www.acethem.com/pastpapers/by-year by google (I am using "Fetch as google" in webmaster tools. Now more weird... My pa...
If you simply click the URLs they do not redirect, however there is something set so when Google Bot hits the pages they do redirect. I discovered this by using [Screaming Frog](http://www.screamingfrog.co.uk/seo-spider/) Spider tool and changing the user agent to GoogleBot, then crawling the URLs you posted. You can...
63,398
<p>We have websites with multilingual content. </p> <p>e.g.</p> <ul> <li><code>http://www.example.com/about-us/</code> </li> <li><code>http://www.example.com/en-HK/about-us/</code> </li> <li><code>http://www.example.com/en-GB/about-us/</code> </li> <li><code>http://www.example.com/zn-CH/about-us/</code></li> <...
[ { "answer_id": 63403, "author": "Rashmi Pandit", "author_id": 39173, "author_profile": "https://webmasters.stackexchange.com/users/39173", "pm_score": 4, "selected": true, "text": "<p>Ok. Found the answer at: </p>\n\n<p><a href=\"https://support.google.com/webmasters/answer/2620865?hl=en...
2014/06/01
[ "https://webmasters.stackexchange.com/questions/63398", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39173/" ]
We have websites with multilingual content. e.g. * `http://www.example.com/about-us/` * `http://www.example.com/en-HK/about-us/` * `http://www.example.com/en-GB/about-us/` * `http://www.example.com/zn-CH/about-us/` We need to configure the hreflang tags in sitemap for Google to know that there are alternate links f...
Ok. Found the answer at: [Help Google serve the correct language to your visitors](https://support.google.com/webmasters/answer/2620865?hl=en) We need to have a url tag for each of the url and specify the others as alternate urls.
64,650
<p>Through my domain registrar I have set up a domain, essayme.co.uk, to automatically forward to <a href="https://google.com" rel="noreferrer">https://google.com</a>.</p> <p>If I go to <a href="http://essayme.co.uk" rel="noreferrer">http://essayme.co.uk</a> it works as expected and redirects me to <a href="https://go...
[ { "answer_id": 64651, "author": "Bruno", "author_id": 11628, "author_profile": "https://webmasters.stackexchange.com/users/11628", "pm_score": 2, "selected": false, "text": "<p><code>http://example.com/something</code> and <code>https://example.com/something</code> are distinct URIs. The...
2014/06/07
[ "https://webmasters.stackexchange.com/questions/64650", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40477/" ]
Through my domain registrar I have set up a domain, essayme.co.uk, to automatically forward to <https://google.com>. If I go to <http://essayme.co.uk> it works as expected and redirects me to <https://google.com>. ``` $curl -i http://essayme.co.uk HTTP/1.1 301 Moved Permanently Cache-Control: max-age=900 Content-Type...
`http://example.com/something` and `https://example.com/something` are distinct URIs. Therefore, they identify different resources. While it's common practice to serve the same page on a web site for both `http://` and `https://`, it's by no means mandatory. (In fact, I generally think it's better to return 404 on `ht...
64,683
<p>I have recently embedded Google Analytics into a site using the default embed code.</p> <pre><code>&lt;script&gt; (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.c...
[ { "answer_id": 64690, "author": "Oleg", "author_id": 35144, "author_profile": "https://webmasters.stackexchange.com/users/35144", "pm_score": -1, "selected": false, "text": "<p>I think <a href=\"https://support.google.com/webmasters/answer/93708?hl=en&amp;rd=1\" rel=\"nofollow\">this</a>...
2014/06/10
[ "https://webmasters.stackexchange.com/questions/64683", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9263/" ]
I have recently embedded Google Analytics into a site using the default embed code. ``` <script> (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), ...
As mentioned in the comments, robots.txt only blocks crawling of files, it wont remove them from the SERPs. To remove PDF files from the SERPs add an [X-Robots-Tag: noindex](https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag) in the HTTP header used to serve the file. They’ll drop out o...
64,724
<p>A client's site images directory permissions have suddenly changed to <code>00</code>. This means no one can access the directories content; not even the browsers. I cannot access the directory or change its permissions via FTP.</p> <p>What could have caused this? Is there a way to reset the permissions?</p>
[ { "answer_id": 64725, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 0, "selected": false, "text": "<p>Not without shell access that I can think of. Unless you have a control panel, then that should allow you t...
2014/06/11
[ "https://webmasters.stackexchange.com/questions/64724", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21289/" ]
A client's site images directory permissions have suddenly changed to `00`. This means no one can access the directories content; not even the browsers. I cannot access the directory or change its permissions via FTP. What could have caused this? Is there a way to reset the permissions?
Permissions did not change by themselves, someone (or something) changed it. That could happen multiple ways: 1. PHP Scripts changing permissions 2. User changing permissions via FTP (chmod) The thing is, to change permissions for a file or folder, you need to have write permission on that folder. This allows you to ...
64,756
<p>I want to build a list from maillog, <code>maillog.x</code> containing something like Date, Sender's email, Recipient's Email and subject of the message filtering output emails and output domain.</p> <p>I've read about importing from spreadsheet program a csv file. The issue is I have to add field separators in log...
[ { "answer_id": 64798, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>You could try opening it with <a href=\"https://www.libreoffice.org/\" rel=\"nofollow\">LibreOffi...
2014/06/11
[ "https://webmasters.stackexchange.com/questions/64756", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14803/" ]
I want to build a list from maillog, `maillog.x` containing something like Date, Sender's email, Recipient's Email and subject of the message filtering output emails and output domain. I've read about importing from spreadsheet program a csv file. The issue is I have to add field separators in log file. I couldn't fig...
Try aillog-hashnize.pl from <https://gist.github.com/xtetsuji/1446584> It is a perl script to parse maillog file and produce output file as CSV. Then import CSV into Excel and apply filter as you wish (@recipient.com). > > perl maillog-hashnize.pl -y 2016 maillog-20160124 > maillog.csv > > >
64,760
<p>I tried making the following change to my wordpress site to permanently redirect a common link to a new page. I could've -sworn- that this used to work. But it simply does not (at least in WP 3.9). I have had to resort to using a Redirect Plug-In.</p> <p>I'm wondering -why- it doesn't work and if there is a techniq...
[ { "answer_id": 64763, "author": "ek9", "author_id": 37015, "author_profile": "https://webmasters.stackexchange.com/users/37015", "pm_score": 0, "selected": false, "text": "<p>To use <code>Redirect</code> you need <code>mod_alias</code> enabled in your apache configuration. If it is not w...
2014/06/11
[ "https://webmasters.stackexchange.com/questions/64760", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40415/" ]
I tried making the following change to my wordpress site to permanently redirect a common link to a new page. I could've -sworn- that this used to work. But it simply does not (at least in WP 3.9). I have had to resort to using a Redirect Plug-In. I'm wondering -why- it doesn't work and if there is a technique which -...
Your syntax for Redirect is wrong. * The first URL should be relative * The second URL should be abolute Try this instead: ``` Redirect 301 /gigs http://example.com/booking/ ```
64,780
<p>I have to run a WordPress site served via Apache2 &amp; Java-based webapp using Tomcat on the same server.</p> <p>When users come to <code>example.com</code> or <code>example.com/public-pages</code> they need to served from <strong>WordPress</strong> but when they come to <code>example.com/private-pages</code> they...
[ { "answer_id": 64763, "author": "ek9", "author_id": 37015, "author_profile": "https://webmasters.stackexchange.com/users/37015", "pm_score": 0, "selected": false, "text": "<p>To use <code>Redirect</code> you need <code>mod_alias</code> enabled in your apache configuration. If it is not w...
2014/06/12
[ "https://webmasters.stackexchange.com/questions/64780", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5451/" ]
I have to run a WordPress site served via Apache2 & Java-based webapp using Tomcat on the same server. When users come to `example.com` or `example.com/public-pages` they need to served from **WordPress** but when they come to `example.com/private-pages` they need to be served from the **Tomcat**. I have asked [this ...
Your syntax for Redirect is wrong. * The first URL should be relative * The second URL should be abolute Try this instead: ``` Redirect 301 /gigs http://example.com/booking/ ```
64,787
<p>I have seen lots of questions about this topic and all of them were asking whether someone, who wants to use PHP for "building web pages", should learn HTML first, or not?</p> <p>Most of the answers said yes, because most of the time you make web page with both PHP and HTML (and maybe CSS).</p> <p>However, if I ju...
[ { "answer_id": 64763, "author": "ek9", "author_id": 37015, "author_profile": "https://webmasters.stackexchange.com/users/37015", "pm_score": 0, "selected": false, "text": "<p>To use <code>Redirect</code> you need <code>mod_alias</code> enabled in your apache configuration. If it is not w...
2014/06/12
[ "https://webmasters.stackexchange.com/questions/64787", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40435/" ]
I have seen lots of questions about this topic and all of them were asking whether someone, who wants to use PHP for "building web pages", should learn HTML first, or not? Most of the answers said yes, because most of the time you make web page with both PHP and HTML (and maybe CSS). However, if I just want to use PH...
Your syntax for Redirect is wrong. * The first URL should be relative * The second URL should be abolute Try this instead: ``` Redirect 301 /gigs http://example.com/booking/ ```
64,807
<p>I'm curious, as to what is the right way to have UTF-8 encoding on all web files</p> <p><strong>All my files (incl. CSS and JS) are made and saved in UTF-8 encoding</strong></p> <p>In PHP, I set the char-set on top of the main page (this page includes all others) with:</p> <pre><code>header('Content-type: text/ht...
[ { "answer_id": 64809, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 0, "selected": false, "text": "<p>The purpose of the meta element setting utf-8 is so user's browsers can properly read the page should they save it ...
2014/06/12
[ "https://webmasters.stackexchange.com/questions/64807", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36405/" ]
I'm curious, as to what is the right way to have UTF-8 encoding on all web files **All my files (incl. CSS and JS) are made and saved in UTF-8 encoding** In PHP, I set the char-set on top of the main page (this page includes all others) with: ``` header('Content-type: text/html; charset=utf-8'); ``` In the same pa...
The best place for the character set declaration when served from your webserver is in the "Content-Type" header. You are doing it correctly when serving it from PHP. You could also set the header for CSS and JS. Assuming that your CSS and JS are *not* served through PHP, but as static files, you could add the followin...
64,900
<p>We have a website with video content delivered from a video studio and hosted on their site since we don't want to load our server with it. The content we are embedding is payed for and we don't to rank the videos (since they are hosted elsewhere and we embed them) but to rank our posts with the videos in them. </p>...
[ { "answer_id": 64935, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 2, "selected": false, "text": "<p>No, the NINDEX, NOFOLLOW on the embedded iframe will not effect the page it is displaying on. As they are neither...
2014/06/16
[ "https://webmasters.stackexchange.com/questions/64900", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40478/" ]
We have a website with video content delivered from a video studio and hosted on their site since we don't want to load our server with it. The content we are embedding is payed for and we don't to rank the videos (since they are hosted elsewhere and we embed them) but to rank our posts with the videos in them. The p...
No, the NINDEX, NOFOLLOW on the embedded iframe will not effect the page it is displaying on. As they are neither on the actual page, nor within the `<head>` section of the pages source code. I know this from experience as I have used this technique before where I had content that must appear on the page, but was dupl...
64,939
<p>I'm in a situation where I'm looking to set a different DNS record for a certain file on a domain, (specifically <code>www.domain.com/robots.txt</code>), from the root (<code>www.domain.com</code>).</p> <p>(The situation is that I've <a href="https://webmasters.stackexchange.com/questions/60148/how-do-i-turn-off-a-...
[ { "answer_id": 64941, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 0, "selected": false, "text": "<p>Your question is a bit confusing. But I think I understand. I am going to make some assumptions. One is, yo...
2014/06/17
[ "https://webmasters.stackexchange.com/questions/64939", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I'm in a situation where I'm looking to set a different DNS record for a certain file on a domain, (specifically `www.domain.com/robots.txt`), from the root (`www.domain.com`). (The situation is that I've [set the web root to point to a non-live record](https://webmasters.stackexchange.com/questions/60148/how-do-i-tur...
With DNS A records, you cannot set records for a specific file. DNS is all or none for the domain. If you must serve a robots.txt file, then you have to have DNS resolve to a valid domain and have a web server that will answer that request. Here is what I recommend: **DNS** Setup a CNAME to point www.domain.com to ...
64,944
<p>How rel="next" and rel="prev" helps in SEO, if used for pagination? Is it really required ?</p> <p>i.e. imagine you're on page 2:</p> <pre><code>&lt;link rel="prev" href="http://www.example.com/article-part1.html"&gt; &lt;link rel="next" href="http://www.example.com/article-part3.html"&gt; </code></pre>
[ { "answer_id": 64945, "author": "Bala", "author_id": 31093, "author_profile": "https://webmasters.stackexchange.com/users/31093", "pm_score": 0, "selected": false, "text": "<p>AFAIK it will help you to avoid duplicate content issues only, because paginated pages have the same title and d...
2014/06/17
[ "https://webmasters.stackexchange.com/questions/64944", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/39101/" ]
How rel="next" and rel="prev" helps in SEO, if used for pagination? Is it really required ? i.e. imagine you're on page 2: ``` <link rel="prev" href="http://www.example.com/article-part1.html"> <link rel="next" href="http://www.example.com/article-part3.html"> ```
> > Pagination with rel=“next” and rel=“prev” > ========================================= > > > Much like rel=”canonical” acts a strong hint for duplicate content, > you can now use the HTML link elements rel=”next” and rel=”prev” to > indicate the relationship between component URLs in a paginated > series. Thro...
65,012
<p>I have taken a domain name <code>trickwarehouse.tk</code> and set the name servers of <code>hostinger.in</code> in my domain's DNS. But when I try to access the file manager, I get an error message:</p> <blockquote> <p>Your domain is not pointing to our nameservers at the moment, so services such as FTP, File Man...
[ { "answer_id": 65023, "author": "L84", "author_id": 9539, "author_profile": "https://webmasters.stackexchange.com/users/9539", "pm_score": 2, "selected": true, "text": "<p>As Vishal said yes it can take up to 48 hours for the DNS to fully propagate.</p>\n\n<p>Doing a <a href=\"http://who...
2014/06/18
[ "https://webmasters.stackexchange.com/questions/65012", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40336/" ]
I have taken a domain name `trickwarehouse.tk` and set the name servers of `hostinger.in` in my domain's DNS. But when I try to access the file manager, I get an error message: > > Your domain is not pointing to our nameservers at the moment, so services such as FTP, File Manager, E-mail (and others) will not work co...
As Vishal said yes it can take up to 48 hours for the DNS to fully propagate. Doing a [whois lookup](http://who.is/whois/trickwarehouse.tk) of your domain shows your nameservers as: ``` NS4.HOSTINGER.IN NS3.HOSTINGER.IN NS2.HOSTINGER.IN NS1.HOSTINGER.IN ``` Hopefully they have propagated and you are now lo...
65,031
<p>I have a Google Custom Search Engine (CSE) with one "site". Adding a second site gives me fewer hits. Removing the second site gives me back the hits I had with only one site.</p> <p>What is going on there?</p> <p>I add the sites with XML to be sure of what I am doing, like below:</p> <pre><code>&lt;Annotations&g...
[ { "answer_id": 71168, "author": "datalifenyc", "author_id": 45609, "author_profile": "https://webmasters.stackexchange.com/users/45609", "pm_score": 1, "selected": false, "text": "<p>This is an issue that seems to date back to at least last yr: <a href=\"https://productforums.google.com/...
2014/06/19
[ "https://webmasters.stackexchange.com/questions/65031", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40489/" ]
I have a Google Custom Search Engine (CSE) with one "site". Adding a second site gives me fewer hits. Removing the second site gives me back the hits I had with only one site. What is going on there? I add the sites with XML to be sure of what I am doing, like below: ``` <Annotations> <Annotation about="site1url" ...
This is an issue that seems to date back to at least last yr: [Google custom search showing no results](https://productforums.google.com/forum/#!category-topic/customsearch/troubleshooting-and-bugs/ZXwDTG-1Wuc). For the example above, I'm getting no results. I've tested "food" with wikipedia.org and get a random number...
65,032
<p>I have 4 websites using Google Analytics. Two of them are being tracked perfectly without any problem. The other two however are appearing as "Tracking Not Installed". It's there, but it's not working for these sites:</p> <pre><code>www.evusa.org www.usagreencard.co.uk </code></pre> <p>It really makes me feel not ...
[ { "answer_id": 65033, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 2, "selected": false, "text": "<p>Your tracking code is not within the <code>&lt;head&gt; &lt;/head&gt;</code> section of either sites source code....
2014/06/19
[ "https://webmasters.stackexchange.com/questions/65032", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40583/" ]
I have 4 websites using Google Analytics. Two of them are being tracked perfectly without any problem. The other two however are appearing as "Tracking Not Installed". It's there, but it's not working for these sites: ``` www.evusa.org www.usagreencard.co.uk ``` It really makes me feel not very confident about using...
Your tracking code is not within the `<head> </head>` section of either sites source code. This is where [Google stipulates](https://support.google.com/analytics/answer/1008080?hl=en) that should add the code, so this could be the reason why it is not tracking. You can check this yourself by simply viewing your pages ...
65,070
<p>I'm trying to share a variable across different "server" blocks, </p> <pre><code>http { set $bad_ua "..."; server { if ($http_user_agent ~ $bad_ua) { ... } } } </code></pre> <p>But nginx says <code>set directive not allowed here</code>, so how am I supposed to share the $bad_ua ...
[ { "answer_id": 65075, "author": "Dave Lozier", "author_id": 39314, "author_profile": "https://webmasters.stackexchange.com/users/39314", "pm_score": 1, "selected": false, "text": "<p>Does this variable ever change? If not it would be simpler to place in each server block. Otherwise you c...
2014/06/19
[ "https://webmasters.stackexchange.com/questions/65070", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/15620/" ]
I'm trying to share a variable across different "server" blocks, ``` http { set $bad_ua "..."; server { if ($http_user_agent ~ $bad_ua) { ... } } } ``` But nginx says `set directive not allowed here`, so how am I supposed to share the $bad\_ua variable?
I think that you want to filter traffic by user agent and do something like this, in order to prevent access on some specific user agents: ``` if ($http_user_agent ~* ^EirGrabber|PHPCrawl|PHP/5|^EmailSiphon|^$) { return 410; } ``` **Solution** Create a separate file that will contain the above code or any other...
65,080
<p>I have heard from various people that "Google has scanned x% of the site". Some have told me at times not to upload anything, nor do any changes on the site "since Google hasn't finished scanning the site". I asked one of them what they mean by that and he told me that if you go to Webmaster Tools and at the crawl s...
[ { "answer_id": 65075, "author": "Dave Lozier", "author_id": 39314, "author_profile": "https://webmasters.stackexchange.com/users/39314", "pm_score": 1, "selected": false, "text": "<p>Does this variable ever change? If not it would be simpler to place in each server block. Otherwise you c...
2014/06/20
[ "https://webmasters.stackexchange.com/questions/65080", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36998/" ]
I have heard from various people that "Google has scanned x% of the site". Some have told me at times not to upload anything, nor do any changes on the site "since Google hasn't finished scanning the site". I asked one of them what they mean by that and he told me that if you go to Webmaster Tools and at the crawl stat...
I think that you want to filter traffic by user agent and do something like this, in order to prevent access on some specific user agents: ``` if ($http_user_agent ~* ^EirGrabber|PHPCrawl|PHP/5|^EmailSiphon|^$) { return 410; } ``` **Solution** Create a separate file that will contain the above code or any other...
65,098
<p>When I go to Google and search on my domain, most of the time I see my website (i.e., <code>mydomain.com</code>) in the first page. But sometimes, <strong>instead</strong> of displaying a link to my website, Google shows a link to my blog (i.e., <code>mydomain.com/blog/</code>)! </p> <p>As far as I know, this has ...
[ { "answer_id": 65075, "author": "Dave Lozier", "author_id": 39314, "author_profile": "https://webmasters.stackexchange.com/users/39314", "pm_score": 1, "selected": false, "text": "<p>Does this variable ever change? If not it would be simpler to place in each server block. Otherwise you c...
2014/06/20
[ "https://webmasters.stackexchange.com/questions/65098", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/40630/" ]
When I go to Google and search on my domain, most of the time I see my website (i.e., `mydomain.com`) in the first page. But sometimes, **instead** of displaying a link to my website, Google shows a link to my blog (i.e., `mydomain.com/blog/`)! As far as I know, this has only happened with my own computer (not with a...
I think that you want to filter traffic by user agent and do something like this, in order to prevent access on some specific user agents: ``` if ($http_user_agent ~* ^EirGrabber|PHPCrawl|PHP/5|^EmailSiphon|^$) { return 410; } ``` **Solution** Create a separate file that will contain the above code or any other...
65,108
<p>I've noticed that ea.com includes a <code>&lt;meta name="lc" content="en_us"/&gt;</code> tag on their website which changes for each language/country (<code>&lt;meta name="lc" content="en_gb"/&gt;</code>, <code>&lt;meta name="lc" content="es_mx"/&gt;</code>, &amp;c).</p> <p>I can't find any reference to <code>name=...
[ { "answer_id": 65116, "author": "Wexford", "author_id": 40448, "author_profile": "https://webmasters.stackexchange.com/users/40448", "pm_score": 2, "selected": false, "text": "<p>As Stephen said, it is mostly likely an attempt at defining locale. In some of the web-based software that I'...
2014/06/20
[ "https://webmasters.stackexchange.com/questions/65108", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23812/" ]
I've noticed that ea.com includes a `<meta name="lc" content="en_us"/>` tag on their website which changes for each language/country (`<meta name="lc" content="en_gb"/>`, `<meta name="lc" content="es_mx"/>`, &c). I can't find any reference to `name="lc"` being a valid meta tag. I've seen `<meta http-equiv="content-lan...
As Stephen said, it is mostly likely an attempt at defining locale. In some of the web-based software that I've worked with, I've come across form values and URLs like: ``` <input type="hidden" name="lc" value="US"> ``` Or ``` page.php?id=233&lc=FRA ``` The meta tag for "lc" is undocumented, which means that it i...
65,138
<p>I'm a wiki editor and an adminstrator at a wiki shared to another people. Some of them use excessive suppressing for possible redirects for a reason that remains unknown to me. For instance, if there is a page FOO:</p> <pre><code>#REDIRECT [[BAR]] </code></pre> <p>they often may use:</p> <pre><code>[[FOO|BAR]] </...
[ { "answer_id": 65121, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": true, "text": "<p>The simplest course of action for you would be to create a new account at the same registrar (GoDa...
2014/06/21
[ "https://webmasters.stackexchange.com/questions/65138", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41653/" ]
I'm a wiki editor and an adminstrator at a wiki shared to another people. Some of them use excessive suppressing for possible redirects for a reason that remains unknown to me. For instance, if there is a page FOO: ``` #REDIRECT [[BAR]] ``` they often may use: ``` [[FOO|BAR]] ``` I find it very excessive and real...
The simplest course of action for you would be to create a new account at the same registrar (GoDaddy) and use their internal "Change of Account". The steps are: 1. You sign up for a new GoDaddy account 2. You give your account number to your friend 3. Your friend [initiates an account change for the domain](http://s...
65,149
<p>My raw access log is now filled with CloudFlare IP addresses. Is there any way I can use a <em>.htacess</em> file or configure the server to log the user's actual IP address?</p> <p>With PHP, CloudFlare creates these environment variables for our reference, but I can't find anything similar for <b>raw access logs</b...
[ { "answer_id": 65146, "author": "Tero Kilkanen", "author_id": 36798, "author_profile": "https://webmasters.stackexchange.com/users/36798", "pm_score": 3, "selected": false, "text": "<p>Most likely some part of your web site generated links like that, and that is how Google started to cra...
2014/06/22
[ "https://webmasters.stackexchange.com/questions/65149", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41658/" ]
My raw access log is now filled with CloudFlare IP addresses. Is there any way I can use a *.htacess* file or configure the server to log the user's actual IP address? With PHP, CloudFlare creates these environment variables for our reference, but I can't find anything similar for **raw access logs**. Unfortunately, ...
Most likely some part of your web site generated links like that, and that is how Google started to crawl the URLs. You should check the links in your web pages to see where these incorrect URLs are, and you should fix them. Also, you could change your Apache configuration so that requests for any other virtualhost t...
65,155
<p>I have a Facebook app so users can login to my website using their Facebook account, but when you type my website name into Facebook's search (the search box right next to the Facebook logo) the app shows up in the search results. When I click it, it says "Misconfigured App - Sorry, the details for AppName cannot be...
[ { "answer_id": 65181, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p><a href=\"https://stackoverflow.com/questions/7622911/hide-facebook-app-page-from-search\">Accord...
2014/06/22
[ "https://webmasters.stackexchange.com/questions/65155", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/38496/" ]
I have a Facebook app so users can login to my website using their Facebook account, but when you type my website name into Facebook's search (the search box right next to the Facebook logo) the app shows up in the search results. When I click it, it says "Misconfigured App - Sorry, the details for AppName cannot be di...
Are you sure this appears in the listings for everyone else? Apps I've made appear in my own account's search, but I can't see them from any other account. Configuring the app properly may be sensible, regardless. According to this: <https://developers.facebook.com/docs/guides/appcenter> ``` We encourage all develo...
65,162
<p>I have an online store with categories that have a tree structure (meaning they can be nested inside other categories) and products inside these categories.</p> <p>What is the best way to structure the URLs of the product pages?</p> <p>Some ideas I have thought are:</p> <pre><code>example.com/&lt;root-category-na...
[ { "answer_id": 65163, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 2, "selected": false, "text": "<p>The short answer? The most verbose example you have, the first example.</p>\n\n<p>You cannot possibly deter...
2014/06/22
[ "https://webmasters.stackexchange.com/questions/65162", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41665/" ]
I have an online store with categories that have a tree structure (meaning they can be nested inside other categories) and products inside these categories. What is the best way to structure the URLs of the product pages? Some ideas I have thought are: ``` example.com/<root-category-name>/<child-category-name>/<prod...
The short answer? The most verbose example you have, the first example. You cannot possibly determine when and how someone will search the web. We do all this keyword research and focus on so called important keywords, but the reality is, the person doing the search really is the one who decides what keywords are impo...
65,190
<p>After experiencing a very high amount of hits on my 404 page, I've started monitoring my website's Error Log. There I've found that through-out the day, there are several attempts at accessing admin folders and editors on my website that I does not exist. For instance, there are attempts at accessing Word Press and ...
[ { "answer_id": 65191, "author": "JMC", "author_id": 6033, "author_profile": "https://webmasters.stackexchange.com/users/6033", "pm_score": 2, "selected": false, "text": "<p>Unfortunately general website security is too broad for this \"Pro Webmasters Stackexchange\" format. How you handl...
2014/06/23
[ "https://webmasters.stackexchange.com/questions/65190", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41686/" ]
After experiencing a very high amount of hits on my 404 page, I've started monitoring my website's Error Log. There I've found that through-out the day, there are several attempts at accessing admin folders and editors on my website that I does not exist. For instance, there are attempts at accessing Word Press and fck...
This is unlikely to be "visitors" (real people) but is likely to be automated software testing for vulnerabilities in the software run by your website. I've seen these types of requests for years. The most common for my servers is requests for WordPress administration pages and Microsoft FrontPage extensions. If you a...
65,203
<p>I'm currently developing a mobile version of my site where users' devices are automatically identified and then displayed either mobile or desktop view of the same URL. </p> <p>For usability purposes, I would like to display different information on certain URLs in mobile than desktop. For example, I'd prefer the c...
[ { "answer_id": 65204, "author": "Wexford", "author_id": 40448, "author_profile": "https://webmasters.stackexchange.com/users/40448", "pm_score": 3, "selected": false, "text": "<p>The best course of action is to <a href=\"https://support.google.com/webmasters/answer/139066?hl=en\">use can...
2014/06/24
[ "https://webmasters.stackexchange.com/questions/65203", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41699/" ]
I'm currently developing a mobile version of my site where users' devices are automatically identified and then displayed either mobile or desktop view of the same URL. For usability purposes, I would like to display different information on certain URLs in mobile than desktop. For example, I'd prefer the content to ...
It appears that you're worried that serving different content to mobile users than to desktop users at the same URL, using user-agent detection, might be considered a form of [cloaking](https://support.google.com/webmasters/answer/66355), and thus penalized by Google. According to the [Google Webmaster Central Blog](h...
65,258
<p>I've read all the 403-related questions here and elsewhere and I can't find an answer to this question: When I try to get a particular image on a remote domain via JavaScript I get a 403 error. But if I type the same exact image URL in the same browser, the image is downloaded and displayed without errors. Same (su...
[ { "answer_id": 65260, "author": "Wexford", "author_id": 40448, "author_profile": "https://webmasters.stackexchange.com/users/40448", "pm_score": 3, "selected": false, "text": "<blockquote>\n <p>When I try to get a particular image on a remote domain via JavaScript\n I get a 403 error.<...
2014/06/25
[ "https://webmasters.stackexchange.com/questions/65258", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12436/" ]
I've read all the 403-related questions here and elsewhere and I can't find an answer to this question: When I try to get a particular image on a remote domain via JavaScript I get a 403 error. But if I type the same exact image URL in the same browser, the image is downloaded and displayed without errors. Same (succe...
The site appears to be checking the referrer field. ``` curl -I http://mysticstars.net/gifs/star_bul.gif -e "*" HTTP/1.1 403 Forbidden Date: Wed, 25 Jun 2014 15:45:40 GMT Server: Apache/2.2.27 Accept-Ranges: bytes Vary: Accept-Encoding Content-Length: 1007 Content-Type: text/html curl -I http://mysticstars.net/gifs/s...
65,263
<p>I have been wondering something for a while now. We have a manual penalty from Google on unnatural linking. When I check out "Links to your site" in Webmaster Tools we have 11,387 links from Meetup.com. Is this harming us? After clicking through some of the links randomly I have discovered it is from one of our deal...
[ { "answer_id": 65260, "author": "Wexford", "author_id": 40448, "author_profile": "https://webmasters.stackexchange.com/users/40448", "pm_score": 3, "selected": false, "text": "<blockquote>\n <p>When I try to get a particular image on a remote domain via JavaScript\n I get a 403 error.<...
2014/06/25
[ "https://webmasters.stackexchange.com/questions/65263", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34786/" ]
I have been wondering something for a while now. We have a manual penalty from Google on unnatural linking. When I check out "Links to your site" in Webmaster Tools we have 11,387 links from Meetup.com. Is this harming us? After clicking through some of the links randomly I have discovered it is from one of our dealers...
The site appears to be checking the referrer field. ``` curl -I http://mysticstars.net/gifs/star_bul.gif -e "*" HTTP/1.1 403 Forbidden Date: Wed, 25 Jun 2014 15:45:40 GMT Server: Apache/2.2.27 Accept-Ranges: bytes Vary: Accept-Encoding Content-Length: 1007 Content-Type: text/html curl -I http://mysticstars.net/gifs/s...
65,270
<p>I have an issue with Google not being able to properly crawl my site. I have read other questions where people have had the same issue. I've tried to follow their solution of using this in my <em>robots.txt</em> file:</p> <pre><code>User-agent: * Disallow: Sitemap: http://www.sonjalimone.com/sitemap_index.xml </c...
[ { "answer_id": 65272, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>24 hours is <em>not</em> enough time to wait. Google will almost certainly not be crawling your site that fr...
2014/06/25
[ "https://webmasters.stackexchange.com/questions/65270", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41733/" ]
I have an issue with Google not being able to properly crawl my site. I have read other questions where people have had the same issue. I've tried to follow their solution of using this in my *robots.txt* file: ``` User-agent: * Disallow: Sitemap: http://www.sonjalimone.com/sitemap_index.xml ``` I have waited over ...
Google will fetch the *robots.txt* file itself from your site every 24 hours. If you make changes to your *robots.txt* file, you must wait a day to ensure that Googlebot picks up your changes. After it has the correct *robots.txt* file, Googlebot will start crawling and indexing your entire site properly. As a general...
65,296
<p>I wanted to disable RC4 and "force" PFS on my website. Without modification, every browser used RC4. As I don't have access to the root directory I did it by modifying the .htaccess file. Note: The server currently only supports TLS 1.0.</p> <p>So I changed the CipherSuite to:</p> <pre><code>SSLCipherSuite HIGH:ME...
[ { "answer_id": 65272, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>24 hours is <em>not</em> enough time to wait. Google will almost certainly not be crawling your site that fr...
2014/06/26
[ "https://webmasters.stackexchange.com/questions/65296", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41752/" ]
I wanted to disable RC4 and "force" PFS on my website. Without modification, every browser used RC4. As I don't have access to the root directory I did it by modifying the .htaccess file. Note: The server currently only supports TLS 1.0. So I changed the CipherSuite to: ``` SSLCipherSuite HIGH:MEDIUM ``` Which work...
Google will fetch the *robots.txt* file itself from your site every 24 hours. If you make changes to your *robots.txt* file, you must wait a day to ensure that Googlebot picks up your changes. After it has the correct *robots.txt* file, Googlebot will start crawling and indexing your entire site properly. As a general...
65,302
<p>The company I work for has a content management system that builds pages automatically for certain content.</p> <p>E.g., There is a page in our system that has the ability to show you information about any composer in our database, depending on the input parameters and what information we have on them. However, eve...
[ { "answer_id": 65303, "author": "Wexford", "author_id": 40448, "author_profile": "https://webmasters.stackexchange.com/users/40448", "pm_score": 5, "selected": true, "text": "<p>If there is no content for a particular composer, use the meta tag:</p>\n\n<pre><code>&lt;meta name=\"robots\"...
2014/06/26
[ "https://webmasters.stackexchange.com/questions/65302", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36547/" ]
The company I work for has a content management system that builds pages automatically for certain content. E.g., There is a page in our system that has the ability to show you information about any composer in our database, depending on the input parameters and what information we have on them. However, every now and...
If there is no content for a particular composer, use the meta tag: ``` <meta name="robots" content="noindex, follow"> ``` As soon as content is added and the meta tag is removed, Google will index it. Example: ``` <?php if(empty($composerInfoArray)): ?> <meta name="robots" content="noindex, follow"> <?php end...
65,306
<p>My current URL is: <code>www.example.com/category/we-developer/</code> However, if any user mistakenly adds extra characters after the <code>/</code>, for example, <code>www.example.com/category/we-developer/fgggfgg</code>, it should take him to a <code>404</code> page. But instead, the user is again viewing the pre...
[ { "answer_id": 65303, "author": "Wexford", "author_id": 40448, "author_profile": "https://webmasters.stackexchange.com/users/40448", "pm_score": 5, "selected": true, "text": "<p>If there is no content for a particular composer, use the meta tag:</p>\n\n<pre><code>&lt;meta name=\"robots\"...
2014/06/26
[ "https://webmasters.stackexchange.com/questions/65306", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
My current URL is: `www.example.com/category/we-developer/` However, if any user mistakenly adds extra characters after the `/`, for example, `www.example.com/category/we-developer/fgggfgg`, it should take him to a `404` page. But instead, the user is again viewing the previous page (`www.example.com/category/we-develo...
If there is no content for a particular composer, use the meta tag: ``` <meta name="robots" content="noindex, follow"> ``` As soon as content is added and the meta tag is removed, Google will index it. Example: ``` <?php if(empty($composerInfoArray)): ?> <meta name="robots" content="noindex, follow"> <?php end...
65,364
<p>I want to add some piece of data to rich snippets (for example, breadcrumps), but this information is not visible on the page (for example, because the designer has not yet prepared the sketches)</p> <p>Is there a way to tell search engines to index this data? </p>
[ { "answer_id": 65365, "author": "Dan", "author_id": 5191, "author_profile": "https://webmasters.stackexchange.com/users/5191", "pm_score": 1, "selected": false, "text": "<h2><a href=\"http://json-ld.org\" rel=\"nofollow\">JSON-LD</a></h2>\n\n<p>is the alternative way of doing things. A b...
2014/06/24
[ "https://webmasters.stackexchange.com/questions/65364", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5191/" ]
I want to add some piece of data to rich snippets (for example, breadcrumps), but this information is not visible on the page (for example, because the designer has not yet prepared the sketches) Is there a way to tell search engines to index this data?
I recommend 2 techniques that worked in 100% cases for me (tested Google, Yahoo, Bing, Yandex). **First** - meta tags: ``` <meta itemprop="xxx" content="yyy"> ``` **Second** - hide using `position:absolute`, `z-index`, negative margins or similar things: ``` <span itemprop="xxx" style="position:absolute;top:-20000...
65,367
<p>I've been told by an SEO company to add a <code>hreflang</code> attribute to every page on a single-language website (ie. 'self-referential' tags), but everything I've read about the hreflang tag, <a href="https://support.google.com/webmasters/answer/189077?hl=en">including Google's take</a>, suggests that it's only...
[ { "answer_id": 65368, "author": "Jukka K. Korpela", "author_id": 13609, "author_profile": "https://webmasters.stackexchange.com/users/13609", "pm_score": 3, "selected": false, "text": "<p>There are no tangible benefits from using the <code>hreflang</code> attribute, beyond special usage ...
2014/06/24
[ "https://webmasters.stackexchange.com/questions/65367", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2251/" ]
I've been told by an SEO company to add a `hreflang` attribute to every page on a single-language website (ie. 'self-referential' tags), but everything I've read about the hreflang tag, [including Google's take](https://support.google.com/webmasters/answer/189077?hl=en), suggests that it's only really useful for multi-...
There is no benefit in using the hreflang on a single language website, it is meant exclusively for multilingual and international websites. I am not suggesting that Google (or other search engines) would penalize you for it, but they would definitely not reward you. You can see a proper implementation of the hreflang...
65,376
<p>I am using Heroku to host my rails app and I have created a custom domain for the app at www.luminoto.com.</p> <p>I just did a search for "luminoto" and I see that the herokuapp domain (horschgallery.herokuapp.com) is popping up.</p> <p>Should I just create another domain in webmaster tools and use robots.txt to r...
[ { "answer_id": 65377, "author": "RichardB", "author_id": 43176, "author_profile": "https://webmasters.stackexchange.com/users/43176", "pm_score": 1, "selected": false, "text": "<p>If you have access to the code on both, then the canonical tag should work.\n<a href=\"https://support.googl...
2014/06/26
[ "https://webmasters.stackexchange.com/questions/65376", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I am using Heroku to host my rails app and I have created a custom domain for the app at www.luminoto.com. I just did a search for "luminoto" and I see that the herokuapp domain (horschgallery.herokuapp.com) is popping up. Should I just create another domain in webmaster tools and use robots.txt to remove the Heroku ...
If both the main domain name and the subdomain of heroku.com have the exact same content, Google is going to treat them as duplicates. It is probably going to pick one or the other for inclusion into the search index and not index the other. If both are powered by the same code base, you may have trouble getting robot...
65,396
<p>We've recently been trying to implement schema.org more fully on our e-commerce site (and gotten nothing but headaches). We often allow customers to place an online order for backordered products, especially if we know they'll be back in stock soon. To accommodate this we're using an availability of <a href="http:/...
[ { "answer_id": 65399, "author": "nathangiesbrecht", "author_id": 15209, "author_profile": "https://webmasters.stackexchange.com/users/15209", "pm_score": 2, "selected": false, "text": "<p>I'm not sure when this issue started for you, but my Merchant Center Account was throwing the same e...
2014/06/27
[ "https://webmasters.stackexchange.com/questions/65396", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41818/" ]
We've recently been trying to implement schema.org more fully on our e-commerce site (and gotten nothing but headaches). We often allow customers to place an online order for backordered products, especially if we know they'll be back in stock soon. To accommodate this we're using an availability of [LimitedAvailabilit...
In this case, LimitedAvailability is JSON only. I am not sure why exactly. It is easy to make mistakes when working with schema.org. The details that have to be maintained sometimes can get away from us and it is easy to miss something. What is funny is, that your example code comes up clear in the Google Rich Snippets...
65,423
<p>I recently noticed that my web page have problems with Google and good search results.</p> <p>Many of the existing SEO tools suggests that my website uses bad URLs for SEO. I'm using a single PHP file that handles all the sections via parameters.</p> <p>By example:</p> <ul> <li>www.alanmarth.com/index.php (Main P...
[ { "answer_id": 65424, "author": "sri_wb", "author_id": 34385, "author_profile": "https://webmasters.stackexchange.com/users/34385", "pm_score": 4, "selected": true, "text": "<p>Regarding: \"Is this ok?\"</p>\n\n<p>No, its not good/intuitive for your users and hence not good for SEO. You ...
2014/06/28
[ "https://webmasters.stackexchange.com/questions/65423", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I recently noticed that my web page have problems with Google and good search results. Many of the existing SEO tools suggests that my website uses bad URLs for SEO. I'm using a single PHP file that handles all the sections via parameters. By example: * www.alanmarth.com/index.php (Main Page) * www.alanmarth.com/ind...
Regarding: "Is this ok?" No, its not good/intuitive for your users and hence not good for SEO. You should be using something like this ``` www.alanmarth.com/ (Main Page) www.alanmarth.com/servicios (Services) www.alanmarth.com/blog (Recent news) www.alanmarth.com/blog/nameOfCategory2 (News category) www.alanmarth.com...
65,459
<p>I want to follow good SEO practices by adding <code>alt</code> tags to all my images.</p> <p>For Facebook sharing, I have this code:</p> <pre><code>&lt;meta property="og:image" content="..."&gt; </code></pre> <p>Can I add an <code>alt="Facebook image"</code> to that?</p>
[ { "answer_id": 65460, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>og specification does not have alt attribute. You can check valid attributes at <a href=\"http://ogp.me/\" rel=\"...
2014/06/27
[ "https://webmasters.stackexchange.com/questions/65459", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/43269/" ]
I want to follow good SEO practices by adding `alt` tags to all my images. For Facebook sharing, I have this code: ``` <meta property="og:image" content="..."> ``` Can I add an `alt="Facebook image"` to that?
No, you do not need an `alt` attribute on that meta tag. In fact, it is not even allowed as others have already said. However, (today) Open Graph specifies and even suggests to provide the image alt text via an `og:image:alt` property. See <http://ogp.me/#structured>. Note that the `og:image` meta tag is not an image...
65,468
<p>I have one website for desktop that is designed for 1024 width and above. This means that some mobile devices in landscape mode will also fit this criteria. I have another website that is designed for below 1024 width, that means the same devices in portrait mode will show this instead.</p> <p>Although this sounds ...
[ { "answer_id": 65478, "author": "Freelance Web Developer", "author_id": 41709, "author_profile": "https://webmasters.stackexchange.com/users/41709", "pm_score": 0, "selected": false, "text": "<p>In case you have two different CSS files, you can display required one in landscape or portra...
2014/06/30
[ "https://webmasters.stackexchange.com/questions/65468", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21110/" ]
I have one website for desktop that is designed for 1024 width and above. This means that some mobile devices in landscape mode will also fit this criteria. I have another website that is designed for below 1024 width, that means the same devices in portrait mode will show this instead. Although this sounds like conve...
On the pc web site add meta tag that links to the mobile version like: ``` <link rel="alternate" media="only screen and (max-width: 640px)" href="http://m.example.com/page-1" > ``` On the mobile version add meta tag that links to the normal version: ``` <link rel="canonical" href="http://www.example.com/page-1" >...
65,494
<p>I have a site structure of:</p> <pre><code>Country &gt; Counties &gt; Towns &gt; Shops </code></pre> <p>the county, counties and towns pages are all low quality pages full of links, these are there for the crawlers to navigate and occasionally a customer will not know there postalcode so will drill down this way.<...
[ { "answer_id": 65495, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Your structure is unlikely to lead to any penalties from search engines. The number of low qual...
2014/06/30
[ "https://webmasters.stackexchange.com/questions/65494", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41883/" ]
I have a site structure of: ``` Country > Counties > Towns > Shops ``` the county, counties and towns pages are all low quality pages full of links, these are there for the crawlers to navigate and occasionally a customer will not know there postalcode so will drill down this way. **How best to keep the structure b...
**Don't make those pages at all.** You don't want pages for crawlers-only or user-only. If bots find out you're doing this, you will end up much, much worse than is needed. **What you want is a sitemap:** You are creating a link structure for bots to crawl your site; A sitemap is a link structure for bots to cra...
65,549
<p>My intention is marking up my site with Microdata in a way I won't need to re-declare items that already exist in the page. </p> <p>For example, my header will always contain info regarding the "Organization" that the website represents. Within the "Products" that I offer I can specify the "Brand" of that product. ...
[ { "answer_id": 65550, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 2, "selected": false, "text": "<p>The Schema markup for a product should be like:-</p>\n\n<pre><code>&lt;div itemscope itemtype=\"http://sche...
2014/06/30
[ "https://webmasters.stackexchange.com/questions/65549", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12463/" ]
My intention is marking up my site with Microdata in a way I won't need to re-declare items that already exist in the page. For example, my header will always contain info regarding the "Organization" that the website represents. Within the "Products" that I offer I can specify the "Brand" of that product. So the pro...
Well, after poking google hard for several hours, it finally coughed up what I needed, right [here](http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html) ``` <div itemscope itemtype="http://schema.org/Person" itemref="a1 b"></div> <p id="a1">Name: <span itemprop="name">Amanda</span></p> <div ite...
65,605
<p>When there are spaces in a URL like </p> <pre><code>http://example.com/this is not url enocoded </code></pre> <p>it is obvious, that the URL will end up as </p> <pre><code>http://example.com/this%20is%20not%20url%20encoded </code></pre> <p>When and what will encode my URL? </p> <ul> <li>Should links that I crea...
[ { "answer_id": 65613, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 1, "selected": false, "text": "<p>Earlier, we discussed blocking the proxy. Since your DCMA complaint did not do what you or I expected, I wo...
2014/07/02
[ "https://webmasters.stackexchange.com/questions/65605", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41956/" ]
When there are spaces in a URL like ``` http://example.com/this is not url enocoded ``` it is obvious, that the URL will end up as ``` http://example.com/this%20is%20not%20url%20encoded ``` When and what will encode my URL? * Should links that I create to my URL be encoded in my HTML documents? * Does the bro...
This is called Proxy Hacking, and for some inexplicable reason sometimes Google keep the proxy duplicate instead of yours. Check those sources for further readings, which are really useful: <http://www.seofaststart.com/google-proxy-hacking/> Block their IP addres in .htacces and possibly implement a solution for bad...
65,627
<p>I'm back with another Schema.org / Google inconsistency.</p> <p>Our store sells many products that have different variants each with their own price. For example a heater may be sold in any of 8 BTU levels with a higher BTU heater costing more. We present all variants on the same product page and display a price ra...
[ { "answer_id": 67839, "author": "tbernard", "author_id": 41818, "author_profile": "https://webmasters.stackexchange.com/users/41818", "pm_score": 1, "selected": true, "text": "<p>After a month of testing different permutations of the SEOMoz AggregateOffer solution I've come to the conclu...
2014/07/02
[ "https://webmasters.stackexchange.com/questions/65627", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41818/" ]
I'm back with another Schema.org / Google inconsistency. Our store sells many products that have different variants each with their own price. For example a heater may be sold in any of 8 BTU levels with a higher BTU heater costing more. We present all variants on the same product page and display a price range until ...
After a month of testing different permutations of the SEOMoz AggregateOffer solution I've come to the conclusion it doesn't work. Until Google supports the PriceSpecification property of the offer and stops requiring a single fixed price for offer there isn't a way to list a group of products/variants under one price-...
65,656
<p>I am currently working on a website, and the designer wants a menu that is setup like this:</p> <ul> <li>Toplevel1</li> <li>Toplevel2 <ul> <li>submenu1</li> <li>submenu2</li> <li>submenu3</li> </ul></li> <li>Toplevel3</li> <li>Toplevel4</li> </ul> <p>All menu items have a title and content. When the user clicks to...
[ { "answer_id": 65701, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 0, "selected": false, "text": "<p>While Google can be quite forgiving, the Google Scholar experience and citations allows Google to recognize...
2014/07/03
[ "https://webmasters.stackexchange.com/questions/65656", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/41978/" ]
I am currently working on a website, and the designer wants a menu that is setup like this: * Toplevel1 * Toplevel2 + submenu1 + submenu2 + submenu3 * Toplevel3 * Toplevel4 All menu items have a title and content. When the user clicks toplevel2, the page needs to show all titles and content of the child submenus l...
``` Does this hurt SEO? They are all gonna have different URLS ``` The short answer is yes, especially if there are many menus and sub-menus. Since all your pages will have a different URL, but nearly same content, they will be considered as near duplicate content (that is low value/quality for the end user). The so...
65,679
<p>I want to redirect <code>demo.example.com</code> to <code>example.com/my-demo</code>. This is my rewrite rule, but I'm not getting it to work on my production server:</p> <pre><code> RewriteCond %{HTTP_HOST} ^demo\.example\.com RewriteRule ^(.*)$ /my-demo/$1 [R=301,L] </code></pre>
[ { "answer_id": 65681, "author": "Tero Kilkanen", "author_id": 36798, "author_profile": "https://webmasters.stackexchange.com/users/36798", "pm_score": 0, "selected": false, "text": "<p>Do you have an ServerAlias <code>demo.example.com</code> for the VirtualHost that has this <code>Rewrit...
2014/07/03
[ "https://webmasters.stackexchange.com/questions/65679", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20527/" ]
I want to redirect `demo.example.com` to `example.com/my-demo`. This is my rewrite rule, but I'm not getting it to work on my production server: ``` RewriteCond %{HTTP_HOST} ^demo\.example\.com RewriteRule ^(.*)$ /my-demo/$1 [R=301,L] ```
As it stands, you are redirecting to the same host. ie. `demo.example.com/file` is redirecting to `demo.example.com/my-demo/file`, not `example.com/my-demo/file`, which is going to result in a redirect loop. You need to specify an absolute URL in the `RewriteRule` substitution: ``` RewriteEngine On RewriteCond %{HTTP_...