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
55,543
<p>I have a hidden page that verifies internal payments from PayPal. The page has the following in its HTTP headers:</p> <pre><code>X-Robots-Tag: noindex, nofollow </code></pre> <p>But once in a while I see this in the page logs:</p> <pre><code>HOST: 208-115-111-71-reverse.wowrack.com USER_AGENT: Mozilla/5.0 (compat...
[ { "answer_id": 55544, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>Several web crawlers don't respect the <code>X-Robots-Tag</code> in HTTP headers. I think this is the case ...
2013/11/25
[ "https://webmasters.stackexchange.com/questions/55543", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34013/" ]
I have a hidden page that verifies internal payments from PayPal. The page has the following in its HTTP headers: ``` X-Robots-Tag: noindex, nofollow ``` But once in a while I see this in the page logs: ``` HOST: 208-115-111-71-reverse.wowrack.com USER_AGENT: Mozilla/5.0 (compatible; Ezooms/1.0; ezooms.bot@gmail.co...
The reason is that your directive in the `X-Robots-Tag` is for *indexation*, not *crawling*. **[EDIT]** Explicit reference to this point is made here: <https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag> > > This document details how Google handles the page-level ***indexing*** setting...
55,635
<p>Currently, my website is under maintenance. I want to be the only person who's able to access/view the website online until I finish maintenance. How to set restrictions to others? I hate stalkers.</p>
[ { "answer_id": 55636, "author": "Pikk", "author_id": 33885, "author_profile": "https://webmasters.stackexchange.com/users/33885", "pm_score": 1, "selected": false, "text": "<p>I can see that you selected \"cpanel\" as a tag. In your cPanel you should have an option to password protect di...
2013/11/29
[ "https://webmasters.stackexchange.com/questions/55635", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34100/" ]
Currently, my website is under maintenance. I want to be the only person who's able to access/view the website online until I finish maintenance. How to set restrictions to others? I hate stalkers.
> > Currently my website is under maintenance. > > > If your website is only temporarily "under maintenance" and has already been live and indexed by search engines then you should consider returning a "503 Service Unavailable" HTTP response code with perhaps a `Retry-After` HTTP header indicating when the site is...
55,648
<p>My website is about bands and musicians, but I have two problems with it:</p> <p>1.) A musician can create a profile and add his bio. Bands can also create a profile and add band members and their bio. Many musicians are members of several bands, so I will have the bios of them repeated on several pages of my websi...
[ { "answer_id": 55649, "author": "Jobin", "author_id": 31887, "author_profile": "https://webmasters.stackexchange.com/users/31887", "pm_score": 2, "selected": false, "text": "<p>This issue you can fix by using <code>canonical URL</code> option,</p>\n\n<p>First of all, the musician profile...
2013/11/30
[ "https://webmasters.stackexchange.com/questions/55648", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34106/" ]
My website is about bands and musicians, but I have two problems with it: 1.) A musician can create a profile and add his bio. Bands can also create a profile and add band members and their bio. Many musicians are members of several bands, so I will have the bios of them repeated on several pages of my website. Any i...
This issue you can fix by using `canonical URL` option, First of all, the musician profile in your site is the proper content (or canonical parent). The bands have the same musician profile this should be canonical to the musician actual profile like, Suppose musician profile url is `musician-1` then this musician ...
55,680
<p>I'm trying to launch a website application that will focus on cities around the world, whereby TLD for each countries will be used. For example:</p> <pre><code>www.website.de - Germany www.website.cn - China </code></pre> <p>sub-domains will be</p> <pre><code> www.berlin.website.de www.beijing.website.cn </code>...
[ { "answer_id": 55681, "author": "T. Thomas", "author_id": 24506, "author_profile": "https://webmasters.stackexchange.com/users/24506", "pm_score": 1, "selected": false, "text": "<p>If you have the localized version of a domain name eg website.de use it for that country. If not use the we...
2013/12/01
[ "https://webmasters.stackexchange.com/questions/55680", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/17835/" ]
I'm trying to launch a website application that will focus on cities around the world, whereby TLD for each countries will be used. For example: ``` www.website.de - Germany www.website.cn - China ``` sub-domains will be ``` www.berlin.website.de www.beijing.website.cn ``` Does the approach used above have any ...
My first thought when reading the question was that this is going to be a case for the web-spam team. Please don't create tons of sites that are essentially [doorway pages](https://support.google.com/webmasters/answer/2721311?hl=en). Also, using wildcard subdomains (assuming the idea is to map them to cities after DNS ...
55,750
<p>Please help me to understand the following code in <em>robots.txt</em>:</p> <pre><code>Allow: / </code></pre>
[ { "answer_id": 55778, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Each item can be its own page if there is enough information about that item. Take an example of...
2013/12/03
[ "https://webmasters.stackexchange.com/questions/55750", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34168/" ]
Please help me to understand the following code in *robots.txt*: ``` Allow: / ```
I would give the option to view as a single page but then also have it broken out into multiple pages (look at articles on news sites that run multiple pages). I would host all of the content on a single 1st page (this page will rank the best because the first page will get all of the links plus be better situated in y...
55,768
<p>I have Google Analytics (Asynchronous) script</p> <pre><code> &lt;script type=”text/javascript”&gt; _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.sr...
[ { "answer_id": 55831, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Here is <a href=\"https://stackoverflow.com/questions/18205117/what-is-wrong-with-my-google-unive...
2013/12/04
[ "https://webmasters.stackexchange.com/questions/55768", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34132/" ]
I have Google Analytics (Asynchronous) script ``` <script type=”text/javascript”> _gaq.push(['_setAccount', 'UA-XXXXX-X']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == doc...
There is no need to have two GA codes to enable display advertising features. Use one Universal Analytics tracking tag with the display features enabled. Under the Analytics Admin pane, go to Property Settings. Under Advertising Features, make sure this is set to on. Your tracking code will be updated to reflect this...
55,799
<p>This is a view of my <em>robots.txt</em> file did this query blocked only Baiduspider Search Engine or all of the search engines to check my site.</p> <pre><code>User-agent: Baiduspider Disallow: / User-agent: * Disallow: /templates_c/ </code></pre>
[ { "answer_id": 55800, "author": "Jobin", "author_id": 31887, "author_profile": "https://webmasters.stackexchange.com/users/31887", "pm_score": 3, "selected": false, "text": "<p>If you are using <code>disallow:/</code> with <code>user-agent: *</code> then only entire site is blocked with ...
2013/12/05
[ "https://webmasters.stackexchange.com/questions/55799", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34216/" ]
This is a view of my *robots.txt* file did this query blocked only Baiduspider Search Engine or all of the search engines to check my site. ``` User-agent: Baiduspider Disallow: / User-agent: * Disallow: /templates_c/ ```
If you are using `disallow:/` with `user-agent: *` then only entire site is blocked with *robots.txt*. Otherwise only particular user-agent will get blocked with your sites. Blocking user-agents: The `Disallow` line lists the pages you want to block. You can list a specific URL or a pattern. The entry should begin w...
55,806
<p>I'm trying to indicate multiple related products on a product page using Microdata (with Schema.org). But the child products are orphaned because they are not contained in the parent <code>div</code>. I tried using <code>itemref</code> but I must be using it incorrectly or it must be the wrong solution.</p> <p>Also...
[ { "answer_id": 55800, "author": "Jobin", "author_id": 31887, "author_profile": "https://webmasters.stackexchange.com/users/31887", "pm_score": 3, "selected": false, "text": "<p>If you are using <code>disallow:/</code> with <code>user-agent: *</code> then only entire site is blocked with ...
2013/12/05
[ "https://webmasters.stackexchange.com/questions/55806", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28774/" ]
I'm trying to indicate multiple related products on a product page using Microdata (with Schema.org). But the child products are orphaned because they are not contained in the parent `div`. I tried using `itemref` but I must be using it incorrectly or it must be the wrong solution. Also, I cannot easily create a wrapp...
If you are using `disallow:/` with `user-agent: *` then only entire site is blocked with *robots.txt*. Otherwise only particular user-agent will get blocked with your sites. Blocking user-agents: The `Disallow` line lists the pages you want to block. You can list a specific URL or a pattern. The entry should begin w...
55,818
<p>I have a dropdown menu and I'm a trying to make it function more logically on touch devices, it currently following the link.</p> <p>On desktops the dropdown menu is displayed onmousehover and when the menu item is clicked, you are taken to a page. I've added a piece of code to this so it doesnt follow the link on ...
[ { "answer_id": 55819, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p>This will not hurt you. Having your site do different things depending on environmental factors (such as the ...
2013/12/05
[ "https://webmasters.stackexchange.com/questions/55818", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34235/" ]
I have a dropdown menu and I'm a trying to make it function more logically on touch devices, it currently following the link. On desktops the dropdown menu is displayed onmousehover and when the menu item is clicked, you are taken to a page. I've added a piece of code to this so it doesnt follow the link on touch devi...
This will not hurt you. Having your site do different things depending on environmental factors (such as the type of device) is common and ok to do. You only have an issue when you intentionally serve different content to search engines than to users and that clearly is not the case here.
55,822
<p><strong>I've been running WAMP for like 6 months+</strong> with Skype (also did the Skype port change just for the sake of it) - <strong>with no problems</strong>.</p> <p>Today I open up WAMP -> get a green icon ->I then add an "alias" to the "alias directory" (already have 10+ other aliases working) -> <strong>WAM...
[ { "answer_id": 55827, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p>When the WAMP icon turns orange it means that it wasn't able to start up properly. </p>\n\n<p>Yo...
2013/12/05
[ "https://webmasters.stackexchange.com/questions/55822", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20164/" ]
**I've been running WAMP for like 6 months+** with Skype (also did the Skype port change just for the sake of it) - **with no problems**. Today I open up WAMP -> get a green icon ->I then add an "alias" to the "alias directory" (already have 10+ other aliases working) -> **WAMP restarts and stay on the ORANGE icon** :...
When the WAMP icon turns orange it means that it wasn't able to start up properly. You say that you made a configuration change just before it turned orange. It sounds like you broke the Apache configuration when you added the alias. Although it is likely not to be the same exact problem you have [here is a report fr...
55,893
<p>I have a site that has around 12,000 pages. A couple of days ago I uploaded the site, I removed the <code>disallow</code> option from my <em>robots.txt</em>, I run "fetch as Google" and I got the message:</p> <blockquote> <p>URL and linked pages submitted to index.</p> </blockquote> <p>The problem is that my sit...
[ { "answer_id": 55894, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 4, "selected": true, "text": "<blockquote>\n <p>I have removed the disallow option and in fact <em>robots.txt</em> is empty for th...
2013/12/07
[ "https://webmasters.stackexchange.com/questions/55893", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20632/" ]
I have a site that has around 12,000 pages. A couple of days ago I uploaded the site, I removed the `disallow` option from my *robots.txt*, I run "fetch as Google" and I got the message: > > URL and linked pages submitted to index. > > > The problem is that my site is not indexed yet although Google bot has start...
> > I have removed the disallow option and in fact *robots.txt* is empty for the last 2 days. > > > If your *robots.txt* files goes away or becomes empty, Google sometimes assumes that this is an error and won't honor the change for some time. Instead of an empty *robots.txt* file, you should make one that explici...
55,895
<p>I want the to know the correct desktop to mobile redirection logic. How should a visitor be sent to mobile version or the desktop version of site?</p> <p>I've a mobile site: <code>m.example.com</code> and desktop site at: <code>www.example.com</code> What I'm using now:</p> <ol> <li>First visits will be detected ...
[ { "answer_id": 55909, "author": "Roie Speiser", "author_id": 30764, "author_profile": "https://webmasters.stackexchange.com/users/30764", "pm_score": 1, "selected": false, "text": "<p>You can use Google's recommendations for mobile sites. \nYour first step is in compliance with those rec...
2013/12/07
[ "https://webmasters.stackexchange.com/questions/55895", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6776/" ]
I want the to know the correct desktop to mobile redirection logic. How should a visitor be sent to mobile version or the desktop version of site? I've a mobile site: `m.example.com` and desktop site at: `www.example.com` What I'm using now: 1. First visits will be detected and redirected to mobile or desktop version...
There's a script called [MobileDetect](http://mobiledetect.net/), if checks if the visitor is a user via the browser headers. Requires updating from time to time, but other than that is works very easy: ``` $detect = new Mobile_Detect(); define(IS_MOBILE_USER, $detect->isMobile() && !$detect->isTablet() ); if( $onDe...
55,947
<ul> <li><code>example.com</code> is hosted on IP address c.c.c.c at host1, no access any windows server admin at all</li> <li><code>blog.example.com</code> is on IP a.a.a.a at host2, full access to Linux server admin, using WordPress</li> </ul> <p>So basically, I can fiddle with subdomain all I want.</p> <p>I can't...
[ { "answer_id": 55951, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Your subdomain for the blog is fine. There is no need to move it to a subdirectory. A subdomain...
2013/12/09
[ "https://webmasters.stackexchange.com/questions/55947", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34350/" ]
* `example.com` is hosted on IP address c.c.c.c at host1, no access any windows server admin at all * `blog.example.com` is on IP a.a.a.a at host2, full access to Linux server admin, using WordPress So basically, I can fiddle with subdomain all I want. I can't 301 redirect because the content on host 1 is an eCommerc...
If you don't control example.com in any way, there's no way to make blog.example.com appear as any part of it except for the part of the .example.com namespace that's been delegated to you. With that said, here are some ideas if you have even some basic HTML editing available to you on example.com: 1) Embed an <[ifra...
56,027
<p>Our company provides listings (in the manner of a directory) for companies by geographic location (country, state, city, etc.).</p> <p>It's a great user experience to be able to click on each link below to see all companies registered in for example United States, Texas and Dallas:</p> <pre><code>www.example.com/U...
[ { "answer_id": 56028, "author": "Pierre-Marc David Caron", "author_id": 34351, "author_profile": "https://webmasters.stackexchange.com/users/34351", "pm_score": 2, "selected": false, "text": "<p>As long as the pages have more unique content than duplicated content I don't think it will a...
2013/12/11
[ "https://webmasters.stackexchange.com/questions/56027", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34413/" ]
Our company provides listings (in the manner of a directory) for companies by geographic location (country, state, city, etc.). It's a great user experience to be able to click on each link below to see all companies registered in for example United States, Texas and Dallas: ``` www.example.com/United-States www.exam...
To avoid duplicate content, you can apply this architecture of pages for your listings: * `www.example.com/united-states` (a page with just the listing of all states of the United States) * `www.example.com/united-states/texas` (a page with just the listing of cities in Texas) * `www.example.com/united-states/texas/da...
56,041
<p>I need to create some new content which is the user getting their request routed to another site w/o them needing to know the ugly final URL. The user URL needs to be the simple easy to recall string, for example, <code>example.com/snappy</code>.</p> <p>So, I need to have a URL such as <code>http://example.com/snap...
[ { "answer_id": 56052, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>The options for creating a redirect from a specific document are:</p>\n\n<ul>\n<li>Create a docum...
2013/12/12
[ "https://webmasters.stackexchange.com/questions/56041", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/16494/" ]
I need to create some new content which is the user getting their request routed to another site w/o them needing to know the ugly final URL. The user URL needs to be the simple easy to recall string, for example, `example.com/snappy`. So, I need to have a URL such as `http://example.com/snappy` redirect to something ...
Can you use javascript anywhere on the page? ``` <script> window.location.replace("http://example.com"); </script> ```
56,128
<p>I have cPanel Hosting with only 1 IP. I'm in the process of pointing all my TLDs to this server. </p> <p>I have created <em>Addon Domains</em> and all the folders from which it creates are located in sub directories <code>example1.com</code>, <code>example2.com</code> in my root website <code>/home/user/public_html...
[ { "answer_id": 56131, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>If you don't use cPanel, the correct way to do this is to put each of domain into is very own dir...
2013/12/15
[ "https://webmasters.stackexchange.com/questions/56128", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3869/" ]
I have cPanel Hosting with only 1 IP. I'm in the process of pointing all my TLDs to this server. I have created *Addon Domains* and all the folders from which it creates are located in sub directories `example1.com`, `example2.com` in my root website `/home/user/public_html/client/` but they can also be accessed from...
If you don't use cPanel, the correct way to do this is to put each of domain into is very own directory. Apache is not really designed to handle overlapping domains the way that cPanel sets things up. This seems to be a limitation of cPanel. One technique that should work is to treat *all* of your domains as "add on d...
56,138
<p>I have a website build using <a href="http://question2answer.org/" rel="nofollow">Q2A engine</a></p> <p>Since I have about 600 active users there, I'm trying to create a copy of it on a second server for test purposes only. </p> <p>I've copied all the files and exported the website (about 28MB raw SQL / 8MB .gz fi...
[ { "answer_id": 56139, "author": "Gacek", "author_id": 4993, "author_profile": "https://webmasters.stackexchange.com/users/4993", "pm_score": 3, "selected": true, "text": "<p>OK I managed to get it work. I chopped the sql export and exported separately: the structure (1 file) and the data...
2013/12/15
[ "https://webmasters.stackexchange.com/questions/56138", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4993/" ]
I have a website build using [Q2A engine](http://question2answer.org/) Since I have about 600 active users there, I'm trying to create a copy of it on a second server for test purposes only. I've copied all the files and exported the website (about 28MB raw SQL / 8MB .gz file), but when I'm trying to import it on a ...
OK I managed to get it work. I chopped the sql export and exported separately: the structure (1 file) and the data up to 5 tables at a time. Importing the data on a new server in such pieces returned no error.
56,222
<p>After visitor lands to my webpage using campaign url:</p> <pre><code>http://www.mydomain.com?utm_source=signature&amp;utm_medium=email&amp;utm_campaign=myname </code></pre> <p>Is it possible to do a rewrite to <code>http://www.mydomain.com</code> to cleanup the URL in the address bar?</p> <p>Will it still preserv...
[ { "answer_id": 56223, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>If you redirect, it will not preserve that information. You could store this information in a c...
2013/12/17
[ "https://webmasters.stackexchange.com/questions/56222", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19361/" ]
After visitor lands to my webpage using campaign url: ``` http://www.mydomain.com?utm_source=signature&utm_medium=email&utm_campaign=myname ``` Is it possible to do a rewrite to `http://www.mydomain.com` to cleanup the URL in the address bar? Will it still preserve the campaign data if I do a simple mod\_rewrite re...
It's possible by using server side redirection AND by following the instructions on this Google reference page: <https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiCampaignTracking> Please note that the \_setCamp... functions must be called before this code: ``` _gaq.push(['_trackPagev...
56,238
<p>Let's say I'm building a programming tutorial/article website. Over time, versions of technology replace itself.</p> <p>For example a service call with AngularJS is completely different in version <code>0.9.0</code> then in <code>1.0.0</code> --- so much so, that it warrants a completely different article.</p> <p>...
[ { "answer_id": 56244, "author": "Sathiya Kumar V M", "author_id": 28169, "author_profile": "https://webmasters.stackexchange.com/users/28169", "pm_score": 0, "selected": false, "text": "<p>As <a href=\"https://webmasters.stackexchange.com/users/1253/john-conde\">John Conde</a> mentioned ...
2013/12/17
[ "https://webmasters.stackexchange.com/questions/56238", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/15214/" ]
Let's say I'm building a programming tutorial/article website. Over time, versions of technology replace itself. For example a service call with AngularJS is completely different in version `0.9.0` then in `1.0.0` --- so much so, that it warrants a completely different article. I am tempted to use: ``` /service-call...
> > Do I have anything to worry about? > > > In terms of a penalty, no. You would only be penalized for black hat techniques, such as those listed by Google in its [Quality guidelines](https://support.google.com/webmasters/answer/35769#3). Sites can be expected to have similar content such as titles that differ ...
56,242
<p>I have a document like this:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;meta charset="utf-8"/&gt; &lt;title&gt;mac&lt;/title&gt; &lt;meta http-equiv="refresh" content="60" /&gt; &lt;link rel="shortcut icon" href="http://194.88.245.110/favicon.ico" type="image/x-icon" /&gt; &lt;/head&gt; ...
[ { "answer_id": 56243, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>I decoded that image and opened it with Firefox. Firefox was able to read it just fine.</p>\n\n<...
2013/12/18
[ "https://webmasters.stackexchange.com/questions/56242", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34558/" ]
I have a document like this: ``` <html> <head> <meta charset="utf-8"/> <title>mac</title> <meta http-equiv="refresh" content="60" /> <link rel="shortcut icon" href="http://194.88.245.110/favicon.ico" type="image/x-icon" /> </head> <body> <span class="generated">18.12.2013 01:01:43</span> ...
I decoded that image and opened it with Firefox. Firefox was able to read it just fine. I visited your website (found through reverse image search for the icon) and confirmed that in Firefox, the icon does not show up in the tab. I looked at your source code. You should add the following code into the head of your we...
56,326
<p>Within my CMS I can add multiple domains. IE: <code>domain-1.com</code> and <code>domain-2.com</code>.</p> <p>The way my CMS is setup I can access the same content across both domains. For instance: <code>domain-1.com/contact</code> and <code>domain-2.com/contact</code> would be the same pages. Because of this I a...
[ { "answer_id": 56329, "author": "Jobin", "author_id": 31887, "author_profile": "https://webmasters.stackexchange.com/users/31887", "pm_score": 1, "selected": false, "text": "<p>How ever your CMS works on this case is not a big deal, but each domain is different site (except sub domain) S...
2013/12/20
[ "https://webmasters.stackexchange.com/questions/56326", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9539/" ]
Within my CMS I can add multiple domains. IE: `domain-1.com` and `domain-2.com`. The way my CMS is setup I can access the same content across both domains. For instance: `domain-1.com/contact` and `domain-2.com/contact` would be the same pages. Because of this I am concerned about duplicate content. What I plan to d...
The first question might be why do you have two duplicate sites? Is there a particular reason? If there is no reason then I would suggest not to have duplicate domains, but if you must, then yes you can use cross domain canonical tag to avoid duplicate content issues in Google. However, its seems that you may be a bit...
56,348
<p>I'm having some trouble with redirects and I haven't been able to get this to work. I want to make the following</p> <pre><code>http://www.example.com/seasonal/christmas?p=15 </code></pre> <p>redirect to</p> <pre><code>http://www.example.com/holiday-decor/christmas.html </code></pre> <p>I was wondering if someon...
[ { "answer_id": 56625, "author": "Sri", "author_id": 34860, "author_profile": "https://webmasters.stackexchange.com/users/34860", "pm_score": -1, "selected": false, "text": "<p>Try adding this to your <em>.htaccess</em> in the document root:</p>\n\n<pre><code>RewriteEngine On \nRewriteC...
2013/12/20
[ "https://webmasters.stackexchange.com/questions/56348", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34496/" ]
I'm having some trouble with redirects and I haven't been able to get this to work. I want to make the following ``` http://www.example.com/seasonal/christmas?p=15 ``` redirect to ``` http://www.example.com/holiday-decor/christmas.html ``` I was wondering if someone could help me with the rewrite rule so the quer...
By default the query string on the requested URL is appended to the rewritten/redirected URL. **On Apache 2.4+** you should use the `QSD` (Query String Discard) flag on the `RewriteRule` directive in order to *discard* the query string from the redirected URL. For example: ``` RewriteCond %{QUERY_STRING} =p=15 Rewrit...
56,383
<p>I am hosting several domains on my server and hotlink images accross various domains.</p> <p>However, I have found out that in Google searches, the images are listed as originating on the site where the image is <em>displayed</em> (but not hosted!). This can lead to various problems (like the owner of the site losi...
[ { "answer_id": 56428, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": false, "text": "<p>To prevent the image being indexed via the site you are hotlinking from, instead of linking (hotlinking) direct...
2013/12/22
[ "https://webmasters.stackexchange.com/questions/56383", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/22557/" ]
I am hosting several domains on my server and hotlink images accross various domains. However, I have found out that in Google searches, the images are listed as originating on the site where the image is *displayed* (but not hosted!). This can lead to various problems (like the owner of the site losing traffic). Spac...
Thanks! On further investigation, I also found the hint to add ``` <meta name="robots" content="noimageindex"> ``` to the header of the web page - it is supposed to prevent the page used as the referring page according to a few sources. I'll see if that's sufficient and update my post if necessary.
56,411
<p>I have tried lots of URL rewrite rules in <em>.htaccess</em> but I am stuck now. I have to change this URL:</p> <pre><code> products.php?id=31 </code></pre> <p>to</p> <pre><code> products/31 </code></pre> <p>I have used:</p> <pre><code> Options +FollowSymLinks -MultiViews # Turn mod_rewrite on ...
[ { "answer_id": 56755, "author": "Sri", "author_id": 34860, "author_profile": "https://webmasters.stackexchange.com/users/34860", "pm_score": 2, "selected": false, "text": "<p>Try this:</p>\n\n<pre><code>RewriteRule ^(.*)\\/$ $1.php [NC]\n</code></pre>\n" }, { "answer_id": 59691, ...
2013/12/23
[ "https://webmasters.stackexchange.com/questions/56411", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34683/" ]
I have tried lots of URL rewrite rules in *.htaccess* but I am stuck now. I have to change this URL: ``` products.php?id=31 ``` to ``` products/31 ``` I have used: ``` Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / ## don't touch /forum URIs ...
Try this: ``` RewriteRule ^(.*)\/$ $1.php [NC] ```
56,423
<p>I'm wondering whether it's worth the effort to create a sitemap for a single-page site.</p> <p>By single page I'm not talking about a webapp made with Angular or Backbone, just a presentation site/page which has navigation links that link to sections within that particular page.</p> <p>For example:</p> <pre><code...
[ { "answer_id": 56427, "author": "Mike Hudson", "author_id": 4461, "author_profile": "https://webmasters.stackexchange.com/users/4461", "pm_score": 4, "selected": true, "text": "<p>I'm assuming you're referring to an <strong>XML</strong> Sitemap? If so, then no - the sole purpose of an XM...
2013/12/23
[ "https://webmasters.stackexchange.com/questions/56423", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/22831/" ]
I'm wondering whether it's worth the effort to create a sitemap for a single-page site. By single page I'm not talking about a webapp made with Angular or Backbone, just a presentation site/page which has navigation links that link to sections within that particular page. For example: ``` <a href="#aboutus">About Us...
I'm assuming you're referring to an **XML** Sitemap? If so, then no - the sole purpose of an XML sitemap is to facilitate in the *discovery* (for indexation) of URLs/Pages. So if you only have one page, then there's no point. If you're worried about being found by search engines, you can either link to your page (from ...
56,432
<p>I've found a website that uses <code>divs</code> with classes that are names of new <code>HTML5</code> elements. At first it looked really ugly and silly, but then I gave it a secound thought and after all it's kind of smart and doesn't require older browsers to download <code>html5shiv.js</code> (which is IMHO quit...
[ { "answer_id": 56433, "author": "Vince", "author_id": 34711, "author_profile": "https://webmasters.stackexchange.com/users/34711", "pm_score": 2, "selected": false, "text": "<p>I would say no, it's not bad practice. It's worth thinking about and talking about, but don't let it slow you ...
2013/12/24
[ "https://webmasters.stackexchange.com/questions/56432", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23681/" ]
I've found a website that uses `divs` with classes that are names of new `HTML5` elements. At first it looked really ugly and silly, but then I gave it a secound thought and after all it's kind of smart and doesn't require older browsers to download `html5shiv.js` (which is IMHO quite important as IE6-IE8 machines are ...
I would say no, it's not bad practice. It's worth thinking about and talking about, but don't let it slow you down. On the other hand, I would say that supporting IE6, IE7, IE8 *is* bad practice. You're entering holy-war territory here. I'm sure there will be conflicting opinions. It's certainly valid HTML. An argum...
56,491
<p>Several people have got a single domain name <code>server.company.com</code> server, where they are now supposed to host their infrastructure or temporal projects, written in different ways even in different programming languages. How do they divide the domain?</p> <ol> <li>Split into subdomains: <code>john.server....
[ { "answer_id": 56512, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>The concept of running multiple sites on a single server is known as \"shared hosting.\" Shared...
2013/12/26
[ "https://webmasters.stackexchange.com/questions/56491", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3561/" ]
Several people have got a single domain name `server.company.com` server, where they are now supposed to host their infrastructure or temporal projects, written in different ways even in different programming languages. How do they divide the domain? 1. Split into subdomains: `john.server.company.com`, `kate.server.co...
Different content but same language? (guessing PHP here) Assuming you're using Nginx I would go with something like this for a server configuration: ``` server { listen 80; server_name ~^(.+).server.company.com$; set $site ""; if ($host ~ "^(.+).server.company.com$") { set $site "/$1"; }...
56,519
<p>I am trying to pull the exact same data i am seeing in my dashboard via the core reporting API for Google Analytics. However I just dont seem to understand why the data can be so different even for the same time period and metrics!</p> <p>From my web UI this is my table structure in the dashboard. </p> <pre><code>...
[ { "answer_id": 56517, "author": "brandonscript", "author_id": 34555, "author_profile": "https://webmasters.stackexchange.com/users/34555", "pm_score": 1, "selected": false, "text": "<p>You can read about structured data here: <a href=\"http://schema.org/\" rel=\"nofollow\">http://schema....
2013/12/27
[ "https://webmasters.stackexchange.com/questions/56519", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34781/" ]
I am trying to pull the exact same data i am seeing in my dashboard via the core reporting API for Google Analytics. However I just dont seem to understand why the data can be so different even for the same time period and metrics! From my web UI this is my table structure in the dashboard. ``` **Display the followi...
You can read about structured data here: <http://schema.org/> and Google's particular implementation here: <https://developers.google.com/custom-search/docs/structured_data> In short, you need to decide whether the content you're providing will benefit from having rich snippets available in search results (an example ...
56,540
<p>The site I help to administer appears very poorly in Google search results. While trying to tackle the issue from several angles I've tried to open the site in Lynx browser (the intention was to see what Google robots see):</p> <blockquote> <p>$> lynx lizavoronina.com</p> </blockquote> <p>Whoa! All I've managed ...
[ { "answer_id": 56542, "author": "betro", "author_id": 34797, "author_profile": "https://webmasters.stackexchange.com/users/34797", "pm_score": 2, "selected": false, "text": "<p>Try using wc3html validator for your site. I did a quick peek and found 8 errors in your code.</p>\n\n<p><a hre...
2013/12/28
[ "https://webmasters.stackexchange.com/questions/56540", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34148/" ]
The site I help to administer appears very poorly in Google search results. While trying to tackle the issue from several angles I've tried to open the site in Lynx browser (the intention was to see what Google robots see): > > $> lynx lizavoronina.com > > > Whoa! All I've managed to see is "Loading" that never e...
This site uses JavaScript. Disable JS in your browser and you’ll see that the only (visible) content in `body` is: ``` <div id="viewer_preloader"> <p>Loading</p> <h2></h2> <div id="preloader"></div> </div> ``` A comment in the homepage’s source says: ``` <!-- IMPORTANT! LOOKING FOR THIS SITE’S SEO CONTENT? This...
56,551
<pre><code>&lt;?php echo "Hello World"; sleep(10); header("Location: " . "http://google.com"); ?&gt; </code></pre> <p>The problem with this is that header is already sent</p> <pre><code>Warning: Cannot modify header information - headers already sent by (output started at /home2/provenda/public_html/silve...
[ { "answer_id": 56542, "author": "betro", "author_id": 34797, "author_profile": "https://webmasters.stackexchange.com/users/34797", "pm_score": 2, "selected": false, "text": "<p>Try using wc3html validator for your site. I did a quick peek and found 8 errors in your code.</p>\n\n<p><a hre...
2013/12/28
[ "https://webmasters.stackexchange.com/questions/56551", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14013/" ]
``` <?php echo "Hello World"; sleep(10); header("Location: " . "http://google.com"); ?> ``` The problem with this is that header is already sent ``` Warning: Cannot modify header information - headers already sent by (output started at /home2/provenda/public_html/silverslady.com/index.php:46) in /home2/p...
This site uses JavaScript. Disable JS in your browser and you’ll see that the only (visible) content in `body` is: ``` <div id="viewer_preloader"> <p>Loading</p> <h2></h2> <div id="preloader"></div> </div> ``` A comment in the homepage’s source says: ``` <!-- IMPORTANT! LOOKING FOR THIS SITE’S SEO CONTENT? This...
56,638
<p>How much time does Google Webmaster Tools take to index a page? Analytics took around 24 hours to get info from the site, but since this is indexing, I guess it might take a little bit more than that. I would like to know though, an estimate so that I can start working on redirecting traffic with search engines to m...
[ { "answer_id": 56682, "author": "Yac", "author_id": 34928, "author_profile": "https://webmasters.stackexchange.com/users/34928", "pm_score": 2, "selected": false, "text": "<p>It is a common action taken by Google at the end of last year (December 2013). Others are reporting the <a href=\...
2014/01/02
[ "https://webmasters.stackexchange.com/questions/56638", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34899/" ]
How much time does Google Webmaster Tools take to index a page? Analytics took around 24 hours to get info from the site, but since this is indexing, I guess it might take a little bit more than that. I would like to know though, an estimate so that I can start working on redirecting traffic with search engines to my s...
As it appears, this is caused by the way Google is changing the way it shows author info. On his [Google+ page](https://plus.google.com/+JohnMueller/posts/PDkPdPtjL6j), Google’s John Mueller says: “we're simplifying the way authorship is shown in mobile and desktop search results, removing the profile photo and circle ...
56,669
<p>I've made a logo which is awesome and I've saved it in AI and SVG format. I wish to use the SVG file on the a site as the logo will appear many times all over the site and would be better than saving the logo in PNG format and having unnecessary server-side requests. Now, this works great using:</p> <pre><code>&lt;...
[ { "answer_id": 56670, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 3, "selected": false, "text": "<p>Microdata can only be used on <a href=\"http://www.w3.org/TR/2013/NOTE-microdata-20131029/#html-elements\" rel=\...
2014/01/02
[ "https://webmasters.stackexchange.com/questions/56669", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20604/" ]
I've made a logo which is awesome and I've saved it in AI and SVG format. I wish to use the SVG file on the a site as the logo will appear many times all over the site and would be better than saving the logo in PNG format and having unnecessary server-side requests. Now, this works great using: ``` <svg id="my-logo" ...
Microdata can only be used on [HTML elements](http://www.w3.org/TR/2013/NOTE-microdata-20131029/#html-elements) as defined by HTML5. According to HTML5, the [`svg` element](https://www.w3.org/TR/2014/REC-html5-20141028/embedded-content-0.html#svg) is not in the HTML namespace. WHATWG’s HTML spec [explicitly mentions](h...
56,695
<p>I have a website with links similar to:</p> <pre><code>http://stackoverflow.com/questions/4183948/css-set-background </code></pre> <p>if I change links to:</p> <pre><code>http://stackoverflow.com/questions/4183948_css-set-background </code></pre> <p>( <code>/</code> to <code>_</code> )</p> <p>does it improve my...
[ { "answer_id": 56696, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 1, "selected": false, "text": "<p>It will not improve your SEO. The change is too minor and has no bearing on the number of keywords present.</p...
2014/01/04
[ "https://webmasters.stackexchange.com/questions/56695", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34938/" ]
I have a website with links similar to: ``` http://stackoverflow.com/questions/4183948/css-set-background ``` if I change links to: ``` http://stackoverflow.com/questions/4183948_css-set-background ``` ( `/` to `_` ) does it improve my website's SEO rank? if it does why most of websites avoid doing that?
You don't want to replace a slash with an underscore. Google views slashes as word separators but underscores are parts of words. See <http://www.mattcutts.com/blog/dashes-vs-underscores/> When slashes represent physical directories on the webserver, many slashes in a URL indicate that the file is stored many folders ...
56,711
<p>I have a list of events that change over time, so items get added while others drop off after their dates expire. For point of reference, they are conventions. I've never used microdata before and would like to lay out the page correctly. </p> <p>Should the whole page be an <code>itemscope</code> or the individu...
[ { "answer_id": 56716, "author": "daviddeering", "author_id": 31596, "author_profile": "https://webmasters.stackexchange.com/users/31596", "pm_score": 1, "selected": false, "text": "<p>It depends on how your page is structured and what the main theme of your page is. If the entire page c...
2014/01/04
[ "https://webmasters.stackexchange.com/questions/56711", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34317/" ]
I have a list of events that change over time, so items get added while others drop off after their dates expire. For point of reference, they are conventions. I've never used microdata before and would like to lay out the page correctly. Should the whole page be an `itemscope` or the individual entries? Because if y...
Each `itemscope` creates an (= one) item. What this item should be, depends on the vocabulary you use. Both cases are conceivable: an item could be a list of events, or it could be a specific event. If the item would be a list of events, each event (that is part of this list) would itself be another, different item. ...
56,720
<p>I don't like that I see a lot of 404 errors in the <em>access.log</em> of my web server. I'm getting those errors because crawlers try to open a <em>robots.txt</em> file, but couldn't find any. So I want to place a simple <em>robots.txt</em> file that will prevent the 404 errors from appearing in my log file. </p> ...
[ { "answer_id": 56722, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 6, "selected": true, "text": "<p>As indicated <a href=\"http://www.robotstxt.org/robotstxt.html\">here</a>, create a text file named <em>robots.txt...
2014/01/05
[ "https://webmasters.stackexchange.com/questions/56720", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9756/" ]
I don't like that I see a lot of 404 errors in the *access.log* of my web server. I'm getting those errors because crawlers try to open a *robots.txt* file, but couldn't find any. So I want to place a simple *robots.txt* file that will prevent the 404 errors from appearing in my log file. What is a minimum valid *rob...
As indicated [here](http://www.robotstxt.org/robotstxt.html), create a text file named *robots.txt* in the top-level directory of your web server. You can leave it empty, or add: ``` User-agent: * Disallow: ``` If you want robots to crawl *everything*. If not, then see the above link for more examples.
56,730
<p>I have handler, which have URL like this <code>/imgrs.axd?w=300&amp;file=2ce5a421-d71a-4dba-9d54-3103058e15b2.jpg</code>, where</p> <ul> <li><code>w</code> is width for image</li> <li><code>file</code> is filename</li> </ul> <p>Server's answer:</p> <pre><code>Cache-Control public Content-Length 9788 Content-Ty...
[ { "answer_id": 56908, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Looking at your site, I think your ranking issues have more to do with your watermarks than your ...
2014/01/05
[ "https://webmasters.stackexchange.com/questions/56730", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34821/" ]
I have handler, which have URL like this `/imgrs.axd?w=300&file=2ce5a421-d71a-4dba-9d54-3103058e15b2.jpg`, where * `w` is width for image * `file` is filename Server's answer: ``` Cache-Control public Content-Length 9788 Content-Type image/jpeg Date Sun, 05 Jan 2014 10:24:41 GMT Expires Sun, 12 Jan 2014 10:...
When having using server side resizing I would recommend that you either create a URL rewrite or (since your are on the .NET platform) use a HTTP module (`System.Web.IHttpModule`) that handles image request. The basic idea is that you can have your URLs like this in your HTML `/2ce5a421-d71a-4dba-9d54-3103058e15b2.jpg...
56,738
<p>I just installed a Blubrry plugin in my WordPress to create an RSS feed for my podcasts that I want to upload. </p> <p>But what is the next step after installing and activating that plugin? Does installing the plugin automatically create the RSS feed? Or how do I create the RSS feed?</p>
[ { "answer_id": 56739, "author": "S..", "author_id": 30907, "author_profile": "https://webmasters.stackexchange.com/users/30907", "pm_score": 2, "selected": false, "text": "<p>WordPress creates feeds at <code>[site_url]/feed/</code> by default. Check there e.g. <code>www.example.com/feed<...
2014/01/05
[ "https://webmasters.stackexchange.com/questions/56738", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5809/" ]
I just installed a Blubrry plugin in my WordPress to create an RSS feed for my podcasts that I want to upload. But what is the next step after installing and activating that plugin? Does installing the plugin automatically create the RSS feed? Or how do I create the RSS feed?
WordPress creates feeds at `[site_url]/feed/` by default. Check there e.g. `www.example.com/feed`. There should also be a link added to all pages in the `<header>`: ``` <link rel="alternate" type="application/rss+xml" title="website title Feed" href="[site_url]/feed/" /> ``` The title is usually pulled from your Wo...
56,760
<p>My server handles my visitors ok, but recently I found there are many search engine bots crawling my site and my server gets quite busy serving these bots.</p> <p>My site generates over 1000 posts each day, so it might be normal for the bots crawling my site often.</p> <p>However, is it possible to decrease the fr...
[ { "answer_id": 56762, "author": "reinierpost", "author_id": 1591, "author_profile": "https://webmasters.stackexchange.com/users/1591", "pm_score": 0, "selected": false, "text": "<p>The de facto standard for telling robots what to crawl is <a href=\"http://www.robotstxt.org/\" rel=\"nofol...
2014/01/06
[ "https://webmasters.stackexchange.com/questions/56760", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34999/" ]
My server handles my visitors ok, but recently I found there are many search engine bots crawling my site and my server gets quite busy serving these bots. My site generates over 1000 posts each day, so it might be normal for the bots crawling my site often. However, is it possible to decrease the frequency for the b...
You should also specify a crawl delay in robots.txt for all the other search engines (Yandex and Baidu can be quite aggressive in their crawling). Add this: ``` User-agent: * Crawl-delay: 5 ``` The crawl delay is in seconds. Make sure not to go too high - 5-10 seconds max should lighten the server load considerably....
56,766
<p>I have several non-duplicate page titles that match a search query, say for the query 'stackexchange': </p> <pre><code>&lt;title&gt;John Smith Popular Content&lt;/title&gt; &lt;title&gt;John Smith Audience&lt;/title&gt; &lt;title&gt;John Smith Friends&lt;/title&gt; &lt;title&gt;John Smith Analysis&lt;/title&gt; </c...
[ { "answer_id": 56909, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p>Google seems to like sites that cover all aspects of a topic. To rank for a term, a site often n...
2014/01/06
[ "https://webmasters.stackexchange.com/questions/56766", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9356/" ]
I have several non-duplicate page titles that match a search query, say for the query 'stackexchange': ``` <title>John Smith Popular Content</title> <title>John Smith Audience</title> <title>John Smith Friends</title> <title>John Smith Analysis</title> ``` I assume Google probably displays the most page-ranked page...
Google seems to like sites that cover all aspects of a topic. To rank for a term, a site often needs several pages about it, each of which cover different aspects of the topic. If you have such pages, I would certainly let Google find them. As far as your titles go, you are correct to be somewhat worried. I would nev...
56,840
<p>I have noticed that some blogs posts have links using a value starting with <code>/</code> in the <code>href</code>.</p> <p>For example:</p> <pre><code>&lt;a href="/somedir/somepage.html"&gt;My Page&lt;/a&gt; </code></pre> <p>Does the leading <code>/</code> mean the path is starting from the site root?</p> <p>In...
[ { "answer_id": 56841, "author": "Jérôme Verstrynge", "author_id": 10346, "author_profile": "https://webmasters.stackexchange.com/users/10346", "pm_score": 0, "selected": false, "text": "<p>This <a href=\"http://www.webreference.com/html/tutorial2/3.html\" rel=\"nofollow\">tutorial</a> in...
2014/01/08
[ "https://webmasters.stackexchange.com/questions/56840", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10346/" ]
I have noticed that some blogs posts have links using a value starting with `/` in the `href`. For example: ``` <a href="/somedir/somepage.html">My Page</a> ``` Does the leading `/` mean the path is starting from the site root? In other words, if the site URL is `www.mysite.com`, the effective `href` value is `www...
It's important to start a URL with a `/` so that the intended URL is returned instead of its parent or child. Let's say if your browsing `/cream-cakes/` then you have a link on the page that has `blah.html` without the forward slash it is going to attempt to visit page `/cream-cakes/blah.html` while with the forward ...
56,855
<p>I am working on an AJAX site and have successfully implemented Google's AJAX recommendation by creating <code>_escape_fragment_</code> versions of each page for it to index. </p> <p>Thus each page has 2 URLs:</p> <ul> <li>pretty: <code>example.com#!blog</code></li> <li>ugly: <code>example.com?_escaped_fragment_=bl...
[ { "answer_id": 56980, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<blockquote>\n <p>I have also considered using a JavaScript redirect that Googlebot wouldn't execut...
2014/01/08
[ "https://webmasters.stackexchange.com/questions/56855", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35061/" ]
I am working on an AJAX site and have successfully implemented Google's AJAX recommendation by creating `_escape_fragment_` versions of each page for it to index. Thus each page has 2 URLs: * pretty: `example.com#!blog` * ugly: `example.com?_escaped_fragment_=blog` However, I have noticed in my analytics that some ...
The appropriate way to do this is to use the the rel=canonical attribute on your page. This will identify one source URL for your content. For example: ``` <link rel="canonical" href="http://blog.example.com/dresses/green-dresses-are-awesome" /> ``` Google acknowledges this issue in a write up found here: <https://...
56,922
<p>I know that Google crawls websites including PDFs, but does the content contained within PDFs affect SEO rankings?</p> <p>We want to put some PDFs on our website but don't want to see our results take a nose-dive as a result. </p> <p>I know I can just add a <em>robots.txt</em> directive to exclude them, but I woul...
[ { "answer_id": 56929, "author": "Indra", "author_id": 24473, "author_profile": "https://webmasters.stackexchange.com/users/24473", "pm_score": 3, "selected": true, "text": "<p>In the eyes of Google, <a href=\"http://searchenginewatch.com/article/2067225/Google-Does-PDF-Other-Changes\" re...
2014/01/10
[ "https://webmasters.stackexchange.com/questions/56922", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7583/" ]
I know that Google crawls websites including PDFs, but does the content contained within PDFs affect SEO rankings? We want to put some PDFs on our website but don't want to see our results take a nose-dive as a result. I know I can just add a *robots.txt* directive to exclude them, but I would rather not do this if ...
In the eyes of Google, [a PDF is just another web page](http://searchenginewatch.com/article/2067225/Google-Does-PDF-Other-Changes) – a web page that offers a prime opportunity to boost your content ahead of your competitors and vice versa. The reason I say is that Google ranks PDF files in the SERPs. It is sure that ...
56,984
<p>I'm not even sure how to search for an answer to this question, so my apologies if already asked.</p> <p>We have a subdomain setup on the server in the format <code>eg.example.com</code>. Some people are typing in <code>www.eg.example.com</code>. Is there a way of handling the pseudo-subdomain? If so, how?</p>
[ { "answer_id": 56985, "author": "Simone Carletti", "author_id": 1647, "author_profile": "https://webmasters.stackexchange.com/users/1647", "pm_score": 4, "selected": true, "text": "<p>The subdomain is nothing else than a DNS record applied to the root domain. If you consider the root dom...
2014/01/12
[ "https://webmasters.stackexchange.com/questions/56984", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I'm not even sure how to search for an answer to this question, so my apologies if already asked. We have a subdomain setup on the server in the format `eg.example.com`. Some people are typing in `www.eg.example.com`. Is there a way of handling the pseudo-subdomain? If so, how?
The subdomain is nothing else than a DNS record applied to the root domain. If you consider the root domain `example.com`, any of the following is a valid subdomain ``` www.example.com foo.example.com foo.bar.example.com ``` and even ``` *.example.com *.foo.example.com ``` Then way you create subdomains is creati...
56,992
<p>I tested my website with Google PageSpeed Insights.</p> <p>I did cache optimization in my <em>.htaccess</em>, but it didn't affect resource files that are from Facebook and Google+</p> <pre><code>Leverage browser caching http://connect.facebook.net/fr_FR/all.js (20 minutes) https://apis.google.com/js/plu...
[ { "answer_id": 56995, "author": "Simone Carletti", "author_id": 1647, "author_profile": "https://webmasters.stackexchange.com/users/1647", "pm_score": 3, "selected": false, "text": "<p>You have no control over them because they are hosted by another provider. And honestly speaking you sh...
2014/01/12
[ "https://webmasters.stackexchange.com/questions/56992", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34737/" ]
I tested my website with Google PageSpeed Insights. I did cache optimization in my *.htaccess*, but it didn't affect resource files that are from Facebook and Google+ ``` Leverage browser caching http://connect.facebook.net/fr_FR/all.js (20 minutes) https://apis.google.com/js/plusone.js (30 minutes) ht...
You have no control over them because they are hosted by another provider. And honestly speaking you should not worry about them, it's up to Google, Facebook, etc to handle the caching accordingly to their need. You could potentially proxy the URLs or download the files locally, but I don't encourage you to follow tha...
56,997
<p>I would like Google to find my <em>sitemap.xml</em> via <em>robots.txt</em>, rather than having to manually upload it.</p> <p>My <em><a href="https://www.recreyo.com/robots.txt" rel="nofollow">robots.txt</a></em> looks like this:</p> <pre><code>User-agent: * Disallow: Sitemap: https://www.recreyo.com/sitemap.xml ...
[ { "answer_id": 56999, "author": "Oleg", "author_id": 35144, "author_profile": "https://webmasters.stackexchange.com/users/35144", "pm_score": 1, "selected": false, "text": "<p>The only way to remove this message, as well as add your sitemap to Google - is to submit your sitemap. In Googl...
2014/01/12
[ "https://webmasters.stackexchange.com/questions/56997", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35142/" ]
I would like Google to find my *sitemap.xml* via *robots.txt*, rather than having to manually upload it. My *[robots.txt](https://www.recreyo.com/robots.txt)* looks like this: ``` User-agent: * Disallow: Sitemap: https://www.recreyo.com/sitemap.xml ``` I've done the following: * Checked via Google Webmaster Tools...
[As explained in this Google reference](https://support.google.com/webmasters/answer/2409931?hl=en), the sitemaps listed in the robots.txt are not displayed in the Google Webmaster Tools. > > Was your Sitemap submitted using ping or robots.txt? Only Sitemaps submitted using Webmaster Tools are listed on the Sitemaps ...
57,057
<p>Let's say "Page Views" is a very important metric on your website (KPI) but you want to introduce the nice looking infinity scrolling on certain heavily used pages.</p> <p>What are the possibilities in order to introduce infinite scroll without losing page views, e.g. is there a legal way of resubmitting a page vie...
[ { "answer_id": 57065, "author": "Osvaldo", "author_id": 6355, "author_profile": "https://webmasters.stackexchange.com/users/6355", "pm_score": 4, "selected": true, "text": "<p>Yes, you can create <strong>virtual pageviews</strong> in Google Analytics. When the user goes over a certain po...
2014/01/14
[ "https://webmasters.stackexchange.com/questions/57057", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/17277/" ]
Let's say "Page Views" is a very important metric on your website (KPI) but you want to introduce the nice looking infinity scrolling on certain heavily used pages. What are the possibilities in order to introduce infinite scroll without losing page views, e.g. is there a legal way of resubmitting a page view to Googl...
Yes, you can create **virtual pageviews** in Google Analytics. When the user goes over a certain point in the page, a pageview is recorded. You can find information on how to **set up virtual pageviews** here: <https://developers.google.com/analytics/devguides/collection/gajs/asyncMigrationExamples#VirtualPageviews>...
57,077
<p>I want to allow Googlebot access all my pages with crawl delay. Yandexbot access only <code>index.html</code>. Bingbot access <code>/tools</code> pages.<br> All other bots will not be accessed my pages.</p> <p>Is this <em>robots.txt</em> suitable for this?</p> <pre><code>User-agent: Googlebot Crawl-delay: 300 Use...
[ { "answer_id": 57078, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 1, "selected": false, "text": "<p>I would use this code in your case:</p>\n\n<pre><code>User-agent: Googlebot\nCrawl-delay: 300\nDisallow: \n...
2014/01/14
[ "https://webmasters.stackexchange.com/questions/57077", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13441/" ]
I want to allow Googlebot access all my pages with crawl delay. Yandexbot access only `index.html`. Bingbot access `/tools` pages. All other bots will not be accessed my pages. Is this *robots.txt* suitable for this? ``` User-agent: Googlebot Crawl-delay: 300 User-agent: Yandex Allow: /index.html Disallow: / Use...
I would use this code in your case: ``` User-agent: Googlebot Crawl-delay: 300 Disallow: User-agent: Yandex Allow: /index.html Disallow: / User-agent: bingbot Allow: /tools Disallow: / User-agent: * Disallow: / ``` Even if `Crawl-delay: 300` directive is not a standard, just add the `Disallow:` directive for Goo...
57,092
<p>In comparing different SSL certificates I see "<strong>Server-Client Authentication</strong>" listed as a benefit of a paid certificate over a free one. <a href="http://www.startssl.com/?app=40" rel="nofollow noreferrer">(see it here)</a></p> <p>But what exactly is this added benefit that basic SSL does not alread...
[ { "answer_id": 57078, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 1, "selected": false, "text": "<p>I would use this code in your case:</p>\n\n<pre><code>User-agent: Googlebot\nCrawl-delay: 300\nDisallow: \n...
2014/01/15
[ "https://webmasters.stackexchange.com/questions/57092", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35190/" ]
In comparing different SSL certificates I see "**Server-Client Authentication**" listed as a benefit of a paid certificate over a free one. [(see it here)](http://www.startssl.com/?app=40) But what exactly is this added benefit that basic SSL does not already provide? EDIT: [This other link here does NOT answer this ...
I would use this code in your case: ``` User-agent: Googlebot Crawl-delay: 300 Disallow: User-agent: Yandex Allow: /index.html Disallow: / User-agent: bingbot Allow: /tools Disallow: / User-agent: * Disallow: / ``` Even if `Crawl-delay: 300` directive is not a standard, just add the `Disallow:` directive for Goo...
57,113
<p>I'm not much of a network guy, and I am troubleshooting an issue where one of our sites intermittently becomes unresponsive to a reverse proxy: it simply starts turning down connections, and then after 30 minutes or so, everything is fine again. </p> <p>The server doesn't appear overloaded, responds just fine to l...
[ { "answer_id": 57078, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 1, "selected": false, "text": "<p>I would use this code in your case:</p>\n\n<pre><code>User-agent: Googlebot\nCrawl-delay: 300\nDisallow: \n...
2014/01/15
[ "https://webmasters.stackexchange.com/questions/57113", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35228/" ]
I'm not much of a network guy, and I am troubleshooting an issue where one of our sites intermittently becomes unresponsive to a reverse proxy: it simply starts turning down connections, and then after 30 minutes or so, everything is fine again. The server doesn't appear overloaded, responds just fine to loopback tra...
I would use this code in your case: ``` User-agent: Googlebot Crawl-delay: 300 Disallow: User-agent: Yandex Allow: /index.html Disallow: / User-agent: bingbot Allow: /tools Disallow: / User-agent: * Disallow: / ``` Even if `Crawl-delay: 300` directive is not a standard, just add the `Disallow:` directive for Goo...
57,143
<p>I come from a development background but just recently starting learning SEO along with RDFa. I am working on our companies new website where the designer is using our different divisions logos at the top of their respective pages. There currently are not any H1 tags. I know I need to add and H1 but the way the page...
[ { "answer_id": 57147, "author": "unor", "author_id": 17633, "author_profile": "https://webmasters.stackexchange.com/users/17633", "pm_score": 1, "selected": false, "text": "<p>(I adjusted <a href=\"https://stackoverflow.com/a/21141089/1591669\">my answer</a> that I gave to your (now clos...
2014/01/16
[ "https://webmasters.stackexchange.com/questions/57143", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35256/" ]
I come from a development background but just recently starting learning SEO along with RDFa. I am working on our companies new website where the designer is using our different divisions logos at the top of their respective pages. There currently are not any H1 tags. I know I need to add and H1 but the way the pages w...
(I adjusted [my answer](https://stackoverflow.com/a/21141089/1591669) that I gave to your (now closed) question on SO.) When a user-agent (including search engines) parses your RDFa, it doesn’t matter which element the RDFa is used on (except for special parsing rules). The user-agents learns something like the follow...
57,156
<p>I think that title almost explains it. What is best for SEO to use in section Recommended products for alt and title attributes of thumb images? Should they maybe be empty? Recomendded products are show on a page where one main product is opened, below main product in slider (as seen in most web shops).</p>
[ { "answer_id": 57164, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 3, "selected": true, "text": "<p>I think I know why your asking this question, as if you add alt attribute to a related product, its different to t...
2014/01/16
[ "https://webmasters.stackexchange.com/questions/57156", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31079/" ]
I think that title almost explains it. What is best for SEO to use in section Recommended products for alt and title attributes of thumb images? Should they maybe be empty? Recomendded products are show on a page where one main product is opened, below main product in slider (as seen in most web shops).
I think I know why your asking this question, as if you add alt attribute to a related product, its different to the product on the actual page, so what SEO value is it going to bring to the page? Perhaps you should think about it from a usability point of view, rather than an SEO point of view. The image alt attribut...
57,173
<p>I was reviewing the logs of my website (WordPress), and I saw a line like this :</p> <pre><code>myWebsite:80 5.10.83.28 - - [17/Jan/2014:09:05:53 +0000] "GET myUrl == HTTP/1.1" 404 5716 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)" </code></pre> <p>So a bot called <code>AhrefsBot</code> ...
[ { "answer_id": 57176, "author": "Oleg", "author_id": 35144, "author_profile": "https://webmasters.stackexchange.com/users/35144", "pm_score": 1, "selected": false, "text": "<p>There are 2 possible reasons:</p>\n\n<ol>\n<li>Your <em>sitemap.xml</em> still contains this URL. Find it and re...
2014/01/17
[ "https://webmasters.stackexchange.com/questions/57173", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35290/" ]
I was reviewing the logs of my website (WordPress), and I saw a line like this : ``` myWebsite:80 5.10.83.28 - - [17/Jan/2014:09:05:53 +0000] "GET myUrl == HTTP/1.1" 404 5716 "-" "Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)" ``` So a bot called `AhrefsBot` was visiting `myUrl`. The problem is...
There are a few possible reasons why a bot would try to visit a removed page: 1. The bot followed a link to that page from another website. Bots frequently omit referrer so it is difficult to tell if this is the case. Given that the bot in question has "backlink checker" as part of its tagline, this seems a likely cau...
57,178
<p>I've just changed my web hosting and edited my nameservers, etc. and uploaded the website onto the new hosting servers. This all went fine and without any problems. However, when testing the live site I found that <code>www.example.co.uk</code> is working but just typing <code>mydomain.co.uk</code> redirects back to...
[ { "answer_id": 57179, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 2, "selected": false, "text": "<p>The most effective way to handle this would likely be to add the <code>www</code> redirect in the <em>.htac...
2014/01/17
[ "https://webmasters.stackexchange.com/questions/57178", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34957/" ]
I've just changed my web hosting and edited my nameservers, etc. and uploaded the website onto the new hosting servers. This all went fine and without any problems. However, when testing the live site I found that `www.example.co.uk` is working but just typing `mydomain.co.uk` redirects back to the old server/website (...
The most effective way to handle this would likely be to add the `www` redirect in the *.htaccess* at the root of the new website (create the file if it doesn't exist) providing you're on an Apache server. ``` RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] ``...
57,181
<p>I followed the recommendation of Google concerning multilingual website, I have:</p> <ul> <li><code>www.example.com/fr</code> in french</li> <li><code>www.example.com/en</code> in english</li> <li><code>www.example.com</code> automatically redirects (header) either to <code>www.example.com/fr</code> or <code>www.e...
[ { "answer_id": 57281, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>Your general setup sounds fine. A few things to check:</p>\n\n<ul>\n<li>When you do your geo-IP...
2014/01/17
[ "https://webmasters.stackexchange.com/questions/57181", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35293/" ]
I followed the recommendation of Google concerning multilingual website, I have: * `www.example.com/fr` in french * `www.example.com/en` in english * `www.example.com` automatically redirects (header) either to `www.example.com/fr` or `www.example.com/en`. In my *sitemap.xml*, I have not mentionned `www.example.com` ...
Your general setup sounds fine. A few things to check: * When you do your geo-IP redirects, ensure that they are the "301 permanent" variety. If you are using 302 temporary redirects, Google will be hesitant to change the URLs * Test Googlebot specifically. I tend to use a command line program like `curl` to test the...
57,238
<p>When user creates a real-estate content page, the <code>title</code> will be created by the rules I will create.</p> <p>Lets say there will be 10,000 flats on sale in London.</p> <p>So to make this as good as I can - how do I make good rules for page <code>title</code> for all content created?</p> <p>I would make...
[ { "answer_id": 57224, "author": "Elliptical view", "author_id": 35190, "author_profile": "https://webmasters.stackexchange.com/users/35190", "pm_score": 0, "selected": false, "text": "<p>Can't really be sure what they are doing, but what I saw there was this:</p>\n\n<p><a href=\"http://t...
2014/01/19
[ "https://webmasters.stackexchange.com/questions/57238", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34106/" ]
When user creates a real-estate content page, the `title` will be created by the rules I will create. Lets say there will be 10,000 flats on sale in London. So to make this as good as I can - how do I make good rules for page `title` for all content created? I would make tokens that will handle this something like: ...
> > If there would be no forward slash char - it would be definitely a fragment identifier. > > > Indicated by the first `#` character, `/page` *is* the fragment identifier of this URI. The [fragment identifier component may contain `/`](https://stackoverflow.com/a/20441627/1591669). What this fragment identifie...
57,287
<p>I am currently using a <a href="http://en.wikipedia.org/wiki/Front_Controller_pattern" rel="nofollow">front controller</a>. All requests for my website go through it. I have a problem with image links like:</p> <pre><code>&lt;img src="img/image.jpg" /&gt; </code></pre> <p>Then my front controller will try to disp...
[ { "answer_id": 57316, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>It looks like your rewrite rules are designed to do a null rewrite for any file that actually exi...
2014/01/20
[ "https://webmasters.stackexchange.com/questions/57287", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35369/" ]
I am currently using a [front controller](http://en.wikipedia.org/wiki/Front_Controller_pattern). All requests for my website go through it. I have a problem with image links like: ``` <img src="img/image.jpg" /> ``` Then my front controller will try to dispatch the request to: *application/controller/ImgController....
It looks like your rewrite rules are designed to do a null rewrite for any file that actually exists, and pass everything else into *index.php*. I don't see a reason why that shouldn't work, but I usually see this implemented a a single rule with some not exists rules on it: ``` RewriteEngine On RewriteCond %{REQUEST_...
57,299
<p>I have several images related to one object and they all should be placed on one web-page. I'd like to know how do I place those images among the page body and its text. I can not do it manually to distribute the images evenly among the page so I'd do the following:</p> <p>APPROACH ONE: I'd place only one image wit...
[ { "answer_id": 57316, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>It looks like your rewrite rules are designed to do a null rewrite for any file that actually exi...
2014/01/21
[ "https://webmasters.stackexchange.com/questions/57299", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35141/" ]
I have several images related to one object and they all should be placed on one web-page. I'd like to know how do I place those images among the page body and its text. I can not do it manually to distribute the images evenly among the page so I'd do the following: APPROACH ONE: I'd place only one image with its corr...
It looks like your rewrite rules are designed to do a null rewrite for any file that actually exists, and pass everything else into *index.php*. I don't see a reason why that shouldn't work, but I usually see this implemented a a single rule with some not exists rules on it: ``` RewriteEngine On RewriteCond %{REQUEST_...
57,357
<p>On a site that has a <em>robots.txt</em> file that disallows all crawling...</p> <pre><code>User-agent: * Disallow: / </code></pre> <p>...does it matter what the <em>sitemap.xml</em> content is? Is it better, or does it make a difference at all, if requests to <em>sitemap.xml</em> return a 404, a 403, or an empty ...
[ { "answer_id": 57358, "author": "Ivo van der Veeken", "author_id": 28048, "author_profile": "https://webmasters.stackexchange.com/users/28048", "pm_score": 3, "selected": true, "text": "<p>From <a href=\"https://support.google.com/webmasters/answer/156184?hl=en\" rel=\"nofollow\">https:/...
2014/01/22
[ "https://webmasters.stackexchange.com/questions/57357", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35425/" ]
On a site that has a *robots.txt* file that disallows all crawling... ``` User-agent: * Disallow: / ``` ...does it matter what the *sitemap.xml* content is? Is it better, or does it make a difference at all, if requests to *sitemap.xml* return a 404, a 403, or an empty XML file?
From <https://support.google.com/webmasters/answer/156184?hl=en> > > Sitemaps are a way to tell Google about pages on your site we might > not otherwise discover. > > > This means you don't need a sitemap if you don't want Google to discover anything. Having a sitemap won't do anything so I wouldn't make one at ...
57,366
<p>I want to define a Product as the main content of a webpage using Schema.org markup. My idea with the following HTML is to use the structure:</p> <pre><code> - Webpage -- WebPageElement (mainContentOfPage of Webpage) --- Product (about of WebPageElement which is mainContentOfPage of Webpage) </code></pre> <p>How...
[ { "answer_id": 57367, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>I stumbled upon an article saying one may need to declare <em>itemprop</em> in the html element, like this:</p>\n...
2014/01/22
[ "https://webmasters.stackexchange.com/questions/57366", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35448/" ]
I want to define a Product as the main content of a webpage using Schema.org markup. My idea with the following HTML is to use the structure: ``` - Webpage -- WebPageElement (mainContentOfPage of Webpage) --- Product (about of WebPageElement which is mainContentOfPage of Webpage) ``` However, using this markup, G...
Last week’s Schema.org release ([version 2.0](http://schema.org/docs/releases.html#v2.0)) introduced two relevant properties: * [`mainEntity`](http://schema.org/mainEntity) * [`mainEntityOfPage`](http://schema.org/mainEntityOfPage) This allows you to omit `WebPageElement` (which is not very useful in the first place...
57,390
<blockquote> <p>In order to show you the most relevant results, we have omitted some entries very similar to the 21 already displayed.</p> <p>If you like, you can repeat the search with the omitted results included.</p> </blockquote> <p>When I do a direct search for my blog. This is very disturbing because I've created...
[ { "answer_id": 57367, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>I stumbled upon an article saying one may need to declare <em>itemprop</em> in the html element, like this:</p>\n...
2014/01/20
[ "https://webmasters.stackexchange.com/questions/57390", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
> > In order to show you the most relevant results, we have omitted some entries very similar to the 21 already displayed. > > > If you like, you can repeat the search with the omitted results included. > > > When I do a direct search for my blog. This is very disturbing because I've created more than a dozen ar...
Last week’s Schema.org release ([version 2.0](http://schema.org/docs/releases.html#v2.0)) introduced two relevant properties: * [`mainEntity`](http://schema.org/mainEntity) * [`mainEntityOfPage`](http://schema.org/mainEntityOfPage) This allows you to omit `WebPageElement` (which is not very useful in the first place...
57,419
<p>On my site (developed with <code>ASP.NET</code>, if that matters) I have a support form, which is nothing more than three fields (i.e., name, email, and message) plus a Send button. </p> <p>The form code generates emails from provided user input and sends them to: <code>support@mysite.com</code>. The form uses this...
[ { "answer_id": 57416, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 2, "selected": false, "text": "<p>This is the key phrase:</p>\n\n<blockquote>\n <p>mass ... advertising or solicitations</p>\n</blockquote>\n\n<p>Yo...
2014/01/24
[ "https://webmasters.stackexchange.com/questions/57419", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2545/" ]
On my site (developed with `ASP.NET`, if that matters) I have a support form, which is nothing more than three fields (i.e., name, email, and message) plus a Send button. The form code generates emails from provided user input and sends them to: `support@mysite.com`. The form uses this address to send the messages: `...
This is the key phrase: > > mass ... advertising or solicitations > > > You can try to contact them.
57,482
<p>I have some URLs which are now 404 due to site upgrade.</p> <p>I want all URLs starting with <code>www.example.com/archives/*</code> to point to <code>www.example.com/news</code> (notice that after archives there is a wildcard char).</p> <p>Can someone here please help me with the code for <em>.htaccess</em> rules...
[ { "answer_id": 57483, "author": "AgA", "author_id": 6776, "author_profile": "https://webmasters.stackexchange.com/users/6776", "pm_score": 1, "selected": false, "text": "<p>I assume you want to redirect permanently:</p>\n\n<pre><code>RedirectMatch 301 ^/archives/.* http://www.example.co...
2014/01/26
[ "https://webmasters.stackexchange.com/questions/57482", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35529/" ]
I have some URLs which are now 404 due to site upgrade. I want all URLs starting with `www.example.com/archives/*` to point to `www.example.com/news` (notice that after archives there is a wildcard char). Can someone here please help me with the code for *.htaccess* rules?
I assume you want to redirect permanently: ``` RedirectMatch 301 ^/archives/.* http://www.example.com/news ``` I've placed this rule in `www.tariffplansindia.com` test it there. Here is another: ``` RewriteEngine On RewriteCond %{HTTP_HOST} ^www.example.com/archives [NC] RewriteRule ^archives/(.*) http://example....
57,496
<p>I have</p> <pre><code>http//royatlon.north.com/cybersource/fp/clear.png?org_id=1snn5n9w&amp;amp;session_id=sterling40272003&amp;amp;m=1 </code></pre> <p>and I would like to rewrite it to this:</p> <pre><code>https://media.north.com/fp/clear.png?org_id=1snn5n9w&amp;amp;session_id=sterling40272003&amp;amp;m=1 </code><...
[ { "answer_id": 57509, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": false, "text": "<p>I think you're reasonably close. However, <code>&amp;</code> (ampersands) are not HTML encoded in the request, ...
2014/01/26
[ "https://webmasters.stackexchange.com/questions/57496", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35541/" ]
I have ``` http//royatlon.north.com/cybersource/fp/clear.png?org_id=1snn5n9w&amp;session_id=sterling40272003&amp;m=1 ``` and I would like to rewrite it to this: ``` https://media.north.com/fp/clear.png?org_id=1snn5n9w&amp;session_id=sterling40272003&amp;m=1 ``` How can I do this? I tried this: ``` RewriteCond %...
I think you're reasonably close. However, `&` (ampersands) are not HTML encoded in the request, so you should check just for `&` and not `&amp;`. Special HTML characters should only be HTML encoded in your source HTML document. I think the few omitted spaces (argument delimiters) are perhaps just due to the copy/paste...
57,506
<p>I have a shared hosting account that uses cPanel and I think su_php. By default, the permissions for my public_HTML directory are set to 750, which allows my site and all folders/files inside public_HTML to be viewable by anyone who visits the site. I'm assuming this is because su_php allows the server to run as my ...
[ { "answer_id": 57509, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": false, "text": "<p>I think you're reasonably close. However, <code>&amp;</code> (ampersands) are not HTML encoded in the request, ...
2014/01/26
[ "https://webmasters.stackexchange.com/questions/57506", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35544/" ]
I have a shared hosting account that uses cPanel and I think su\_php. By default, the permissions for my public\_HTML directory are set to 750, which allows my site and all folders/files inside public\_HTML to be viewable by anyone who visits the site. I'm assuming this is because su\_php allows the server to run as my...
I think you're reasonably close. However, `&` (ampersands) are not HTML encoded in the request, so you should check just for `&` and not `&amp;`. Special HTML characters should only be HTML encoded in your source HTML document. I think the few omitted spaces (argument delimiters) are perhaps just due to the copy/paste...
57,523
<p>I can log into <a href="http://www.whmcs.com/" rel="nofollow noreferrer">WHMCS</a> &amp; can access everything I should be able to access, but if i try to click View PDF Invoice, the following error will occur,</p> <blockquote> <p>Fatal error: Out of memory (allocated 67633152) (tried to allocate 76 bytes) in ...
[ { "answer_id": 57509, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": false, "text": "<p>I think you're reasonably close. However, <code>&amp;</code> (ampersands) are not HTML encoded in the request, ...
2014/01/27
[ "https://webmasters.stackexchange.com/questions/57523", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35552/" ]
I can log into [WHMCS](http://www.whmcs.com/) & can access everything I should be able to access, but if i try to click View PDF Invoice, the following error will occur, > > Fatal error: Out of memory (allocated 67633152) (tried to allocate 76 > bytes) in > /home/xxxx/public\_html/whmcs/includes/classes/class.tcpdf...
I think you're reasonably close. However, `&` (ampersands) are not HTML encoded in the request, so you should check just for `&` and not `&amp;`. Special HTML characters should only be HTML encoded in your source HTML document. I think the few omitted spaces (argument delimiters) are perhaps just due to the copy/paste...
57,548
<p>I have been hosting a photoblog using pixelpost, but have realised it was a haven for comments spam. I've since migrated the site to tumblr.</p> <p>The original site was an add-on domain to my hosting plan and the site was available at a domain name as well as through a subfolder on my main domain.</p> <p>This old...
[ { "answer_id": 58044, "author": "Sabina Timpea", "author_id": 35981, "author_profile": "https://webmasters.stackexchange.com/users/35981", "pm_score": 2, "selected": true, "text": "<p>Google Tag Manager does not automatically listen to clicks. You need to tell it to do that by triggering...
2014/01/28
[ "https://webmasters.stackexchange.com/questions/57548", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/15839/" ]
I have been hosting a photoblog using pixelpost, but have realised it was a haven for comments spam. I've since migrated the site to tumblr. The original site was an add-on domain to my hosting plan and the site was available at a domain name as well as through a subfolder on my main domain. This old photoblog is get...
Google Tag Manager does not automatically listen to clicks. You need to tell it to do that by triggering an "Event Listener" type tag. Then you can create a rule based on the event 'gtm.linkClick' and get the href using the 'element url' predefined macro.
57,606
<p>I have a site that appears and works fine.</p> <p>However if you search for it in Google a whole lot of other links come up, eg:</p> <p><code>mysite.com/kamagra-viagra.html</code></p> <p>Clicking this I get redirected to the Kamagra site.</p> <p>I have scanned my site for viruses and cant find anything.</p> <p>...
[ { "answer_id": 57607, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 2, "selected": false, "text": "<p>There are tons of possibilities. Your .htaccess file may be compromised and a redirect statement is being eval...
2014/01/29
[ "https://webmasters.stackexchange.com/questions/57606", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21289/" ]
I have a site that appears and works fine. However if you search for it in Google a whole lot of other links come up, eg: `mysite.com/kamagra-viagra.html` Clicking this I get redirected to the Kamagra site. I have scanned my site for viruses and cant find anything. I am using the ModX Evo CMS. Can anyone suggest ...
There are tons of possibilities. Your .htaccess file may be compromised and a redirect statement is being evaluated to send users away but that's a fairly blunt hack and easily found and fixed. More likely is one or more of your CMS core files has had obfuscated code injected and that code runs on each access to both ...
57,628
<p>For example, if I wrap my content with <code>&lt;div&gt;</code> tags (for no reason, just for arguments sake), would that cause a difference to search engines? Does thinner markup improve SEO? </p> <pre><code>&lt;body&gt; &lt;div&gt; &lt;div&gt; &lt;div&gt; &lt;main&gt; ...
[ { "answer_id": 57629, "author": "Sathiya Kumar V M", "author_id": 28169, "author_profile": "https://webmasters.stackexchange.com/users/28169", "pm_score": 3, "selected": false, "text": "<p>In SEO perspective wrapping contents with <code>&lt;div&gt;</code> tags is not an issue but large a...
2014/01/29
[ "https://webmasters.stackexchange.com/questions/57628", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35627/" ]
For example, if I wrap my content with `<div>` tags (for no reason, just for arguments sake), would that cause a difference to search engines? Does thinner markup improve SEO? ``` <body> <div> <div> <div> <main> <p>Text text text text text...</p> ...
In SEO perspective wrapping contents with `<div>` tags is not an issue but large amount unwanted coding will increase the bytes of data which may increase the PageSpeed. Here an extract from [this source](https://developers.google.com/speed/docs/best-practices/payload#MinifyHTML): > > Compacting HTML code, including ...
57,674
<p>I recently completely redesigned my website, <code>http://concourstee.fr</code>. We used to have a fairly good ranking in Google, but when redesigning the website I thought I'd try to make things better. (WordPress Yoast plugin for SEO, better use of keywords, etc.)</p> <p>So I moved the old website to <code>http:/...
[ { "answer_id": 57675, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 1, "selected": false, "text": "<p>The disallowing of indexing/following with the <code>&lt;META NAME=\"ROBOTS\" CONTENT=\"NONE\"&gt;</code> w...
2014/01/30
[ "https://webmasters.stackexchange.com/questions/57674", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35668/" ]
I recently completely redesigned my website, `http://concourstee.fr`. We used to have a fairly good ranking in Google, but when redesigning the website I thought I'd try to make things better. (WordPress Yoast plugin for SEO, better use of keywords, etc.) So I moved the old website to `http://concourstee.fr/old/` and ...
The disallowing of indexing/following with the `<META NAME="ROBOTS" CONTENT="NONE">` will be the reason that your website disappeared from Google's index. You've since amended this but you'll have to wait for GoogleBot to revisit your website, crawl all pages and reindex them again now. You can speed up this process wi...
57,678
<p>I am using this code in <em>.htaccess</em> but the last line not giving any response:</p> <pre><code>RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ user_pro.php?id=$1 [QSA,L] RewriteRule ^(.*)$/images image.php?id=$1 [QSA,L] #this line ...
[ { "answer_id": 57698, "author": "NorseGaud", "author_id": 35630, "author_profile": "https://webmasters.stackexchange.com/users/35630", "pm_score": 1, "selected": false, "text": "<p>First, make sure mod_rewrite is on: \n*<a href=\"https://httpd.apache.org/docs/current/mod/mod_rewrite.html...
2014/01/30
[ "https://webmasters.stackexchange.com/questions/57678", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35670/" ]
I am using this code in *.htaccess* but the last line not giving any response: ``` RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ user_pro.php?id=$1 [QSA,L] RewriteRule ^(.*)$/images image.php?id=$1 [QSA,L] #this line not giving any respon...
the `$` anchor signals the end of the subject (as `^` signals the start), thus your `expr` is incorrect. What you're lookng for is more likely something like ``` # to rewrite images/foo to image.php?id=foo RewriteRule ^images/(.*)$ image.php?id=$1 [QSA,L] # to rewrite foo/images to image.php?id=foo RewriteRule ^(.*)...
57,689
<p>I want to create an XML sitemap (for the sake of SEO), my first attempt to achieve this was by including the website main menu/navigation links using <code>&lt;?php include ("assets/includes/menu.inc"); ?&gt;</code>:</p> <pre><code>&lt;li&gt;&lt;a href="index.php"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="...
[ { "answer_id": 57690, "author": "Ivo van der Veeken", "author_id": 28048, "author_profile": "https://webmasters.stackexchange.com/users/28048", "pm_score": 0, "selected": false, "text": "<p>You can add sitemaps with any extension to GWT, as long as it's formatted as an XML. My site has a...
2014/01/30
[ "https://webmasters.stackexchange.com/questions/57689", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35677/" ]
I want to create an XML sitemap (for the sake of SEO), my first attempt to achieve this was by including the website main menu/navigation links using `<?php include ("assets/includes/menu.inc"); ?>`: ``` <li><a href="index.php">Home</a></li> <li><a href="gallery.php">Gallery</a></li> <li><a href="contact.php">Contact<...
> > to create a sitemap that will pull the links from the website main > .inc file? > > > The extension doesn't matter. So, you can have a php file like ``` <?php header ("Content-Type:text/xml"); echo '<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; ...
57,717
<p>I toyed around a with "Bing Webmaster Tools": <a href="https://www.bing.com/toolbox/webmaster" rel="nofollow">https://www.bing.com/toolbox/webmaster</a></p> <p>And then checked <code>access.log</code>. One <code>referrer</code> was <code>http://www.bingsandbox.com/</code></p> <hr> <p>Link: <a href="http://www.bi...
[ { "answer_id": 57690, "author": "Ivo van der Veeken", "author_id": 28048, "author_profile": "https://webmasters.stackexchange.com/users/28048", "pm_score": 0, "selected": false, "text": "<p>You can add sitemaps with any extension to GWT, as long as it's formatted as an XML. My site has a...
2014/01/31
[ "https://webmasters.stackexchange.com/questions/57717", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35702/" ]
I toyed around a with "Bing Webmaster Tools": <https://www.bing.com/toolbox/webmaster> And then checked `access.log`. One `referrer` was `http://www.bingsandbox.com/` --- Link: <http://www.bingsandbox.com/> [`whois`](http://www.manpagez.com/man/1/whois/) gives following result (web link: <http://whois.domaintools....
> > to create a sitemap that will pull the links from the website main > .inc file? > > > The extension doesn't matter. So, you can have a php file like ``` <?php header ("Content-Type:text/xml"); echo '<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'; ...
57,755
<p>My client used a third-party company that used duplicate link exchanges on their website previously. </p> <p>When my client gave their website to me to maintain it, I developed a different website that doesn't use link exchanges, and actually doesn't contain any duplicate content.</p> <p>Although the website has c...
[ { "answer_id": 57756, "author": "Osvaldo", "author_id": 6355, "author_profile": "https://webmasters.stackexchange.com/users/6355", "pm_score": 1, "selected": false, "text": "<p>To remove content from Google you should use <a href=\"https://support.google.com/webmasters/answer/156449?hl=e...
2014/02/01
[ "https://webmasters.stackexchange.com/questions/57755", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30930/" ]
My client used a third-party company that used duplicate link exchanges on their website previously. When my client gave their website to me to maintain it, I developed a different website that doesn't use link exchanges, and actually doesn't contain any duplicate content. Although the website has changed, the dupli...
To remove content from Google you should use [robots.txt](https://support.google.com/webmasters/answer/156449?hl=en) or a [noindex](https://support.google.com/webmasters/answer/93710) meta tag in the old site. To redirect pages from the old site to the new site you should use a [301 redirect](https://support.google.co...
57,762
<p>I've been having this problem where i couldn't add Datatables.net javascript into my Joomla article. I have been trying to include it through Jumi. </p> <p>To say that my editor strips of the tag is somewhat not right as I have been able to execute Google Chart API in Joomla which also uses javascript. </p> <p>An...
[ { "answer_id": 57756, "author": "Osvaldo", "author_id": 6355, "author_profile": "https://webmasters.stackexchange.com/users/6355", "pm_score": 1, "selected": false, "text": "<p>To remove content from Google you should use <a href=\"https://support.google.com/webmasters/answer/156449?hl=e...
2014/02/02
[ "https://webmasters.stackexchange.com/questions/57762", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34712/" ]
I've been having this problem where i couldn't add Datatables.net javascript into my Joomla article. I have been trying to include it through Jumi. To say that my editor strips of the tag is somewhat not right as I have been able to execute Google Chart API in Joomla which also uses javascript. Any clue why? The c...
To remove content from Google you should use [robots.txt](https://support.google.com/webmasters/answer/156449?hl=en) or a [noindex](https://support.google.com/webmasters/answer/93710) meta tag in the old site. To redirect pages from the old site to the new site you should use a [301 redirect](https://support.google.co...
57,774
<p>I'm a developer and I often write <a href="http://jsfiddle.net/" rel="nofollow">JSFiddle</a>s for example. I use Google Analytics on my personal website to monitor traffic. <code>jsfiddle.net</code> is not my own domain, but in a way, snippets I'm publishing on belongs to me.</p> <p>How can I make traffic my own JS...
[ { "answer_id": 57775, "author": "Steeve", "author_id": 35739, "author_profile": "https://webmasters.stackexchange.com/users/35739", "pm_score": 2, "selected": false, "text": "<p>It is simple. In your JSFiddle you put your code. I mean Google Analytics of your website. something like this...
2014/02/02
[ "https://webmasters.stackexchange.com/questions/57774", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35747/" ]
I'm a developer and I often write [JSFiddle](http://jsfiddle.net/)s for example. I use Google Analytics on my personal website to monitor traffic. `jsfiddle.net` is not my own domain, but in a way, snippets I'm publishing on belongs to me. How can I make traffic my own JSFiddles' generate counts for my own domain's on...
It is simple. In your JSFiddle you put your code. I mean Google Analytics of your website. something like this .change the id to yours. ``` <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.createE...
57,782
<p>Our website content and mobile app content are the same. Will Google assess a duplicate content penalty against our web site as a result of this?</p>
[ { "answer_id": 57783, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 1, "selected": false, "text": "<p>No, the content inside the mobile app is not indexed by Google. The Google App search is a search of available...
2014/02/03
[ "https://webmasters.stackexchange.com/questions/57782", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35757/" ]
Our website content and mobile app content are the same. Will Google assess a duplicate content penalty against our web site as a result of this?
This depends on what you class as an "App" if you class a mobile version of your website i.e. m.yoursite.com then yes this will be classed as duplicate content. However, if you mean an app in the Google App Store then no this will not count as duplicate content. If you are however refering to the first, then this can b...
57,852
<p>I'm struggling to submit my sitemaps to Google Webmaster Tools. Previously I received report that I have an error in all my sitemaps (the error was at <code>&lt;image:image&gt;</code> tag as I did not specified necessary <a href="http://www.google.com/schemas/sitemap-image/1.1" rel="nofollow">link</a> in the sitemap...
[ { "answer_id": 57865, "author": "PatomaS", "author_id": 19116, "author_profile": "https://webmasters.stackexchange.com/users/19116", "pm_score": 2, "selected": false, "text": "<p>No, the sitemap is not cached. consider the file you upload as a config file that a program/system is going t...
2014/02/04
[ "https://webmasters.stackexchange.com/questions/57852", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35141/" ]
I'm struggling to submit my sitemaps to Google Webmaster Tools. Previously I received report that I have an error in all my sitemaps (the error was at `<image:image>` tag as I did not specified necessary [link](http://www.google.com/schemas/sitemap-image/1.1) in the sitemap header). After the error was fixed I tried to...
No, the sitemap is not cached. consider the file you upload as a config file that a program/system is going to use. The process of recrawling your site may take some time, and adjusting the results according to the new sitemap may take some time, as mentioned, but the file itself is not cached.
57,870
<p>I currently disavow the domain <code>example.com</code> using <a href="https://www.google.com/webmasters/tools/disavow-links-main" rel="noreferrer">Google's disavow links tool</a>.</p> <p>What can I do if I want do disavow a subdomain? i.e. <code>spam.site.com</code>. I'm also assuming that if I were to disavow the...
[ { "answer_id": 57878, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 4, "selected": false, "text": "<p>After receiving <a href=\"https://plus.google.com/u/0/111386732836817610825/posts/eTzXKKetx5G\" rel=\"noref...
2014/02/05
[ "https://webmasters.stackexchange.com/questions/57870", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35757/" ]
I currently disavow the domain `example.com` using [Google's disavow links tool](https://www.google.com/webmasters/tools/disavow-links-main). What can I do if I want do disavow a subdomain? i.e. `spam.site.com`. I'm also assuming that if I were to disavow the domain it would include all subdomains?
After receiving [clarification on this from John Mueller at Google](https://plus.google.com/u/0/111386732836817610825/posts/eTzXKKetx5G), disavowing a root domain will also disavow all other sub domains under it. For example, disavowing:- ``` domain:example.com ``` Will also disavow:- ``` sub23.example.com sub4646...
57,892
<p>When I try to edit my idex.html I see strange characters in my atributs and tags</p> <pre><code>&lt;title&gt;&amp;#4321;&amp;#4304;&amp;#4304;&amp;#4322;&amp;#4308;&amp;#4321;&amp;#4322;&amp;#4304;&amp;#4322;&amp;#4317;-&amp;#4306;&amp;#4304;&amp;#4315;&amp;#4317;&amp;#4321;&amp;#4304;&amp;#4328;&amp;#4309;&amp;#43...
[ { "answer_id": 57893, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p>What you are seeing are HTML character entities. From <a href=\"https://en.wikipedia.org/wiki/List_of_XML_and...
2014/02/05
[ "https://webmasters.stackexchange.com/questions/57892", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31124/" ]
When I try to edit my idex.html I see strange characters in my atributs and tags ``` <title>&#4321;&#4304;&#4304;&#4322;&#4308;&#4321;&#4322;&#4304;&#4322;&#4317;-&#4306;&#4304;&#4315;&#4317;&#4321;&#4304;&#4328;&#4309;&#4308;&#4305;&#4312; &#4306;&#4304;&#4315;&#4317;&#4330;&#4307;&#4312;&#4321; &#4318;&#4320;&#4308;...
What you are seeing are HTML character entities. From [Wikipedia](https://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references): > > In SGML, **HTML** and XML documents, the logical constructs known as character data and attribute values consist of sequences of characters, in which each character ca...
57,980
<p>I have a question about external JavaScript and SEO. Assume I have a site called <code>example.com</code> with and index page of:</p> <pre><code>&lt;html&gt; &lt;body&gt; &lt;div class='main-container'&gt; &lt;script src='http://www.other.com/page.js'&gt;&lt;/script&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&...
[ { "answer_id": 57977, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>Definition of <a href=\"http://searchcloudcomputing.techtarget.com/definition/Infrastructure-as-a-Service-Ia...
2014/02/08
[ "https://webmasters.stackexchange.com/questions/57980", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31910/" ]
I have a question about external JavaScript and SEO. Assume I have a site called `example.com` with and index page of: ``` <html> <body> <div class='main-container'> <script src='http://www.other.com/page.js'></script> </div> </body> </html> ``` and ``` // at http://www.other.com/page.js document.write('bl...
Definition of [Infrastructure as a Service](http://searchcloudcomputing.techtarget.com/definition/Infrastructure-as-a-Service-IaaS) > > Infrastructure as a Service is a provision model in which an > organization outsources the equipment used to support operations, > including storage, hardware, servers and networki...
58,000
<p>I'm working on a project. I can upload a site files to the web server.</p> <p>I have a site which is running. I want to update my site but I know visitors are coming 24 hours a day. So, how could I update my site without losing visitors?</p> <p>When I visit big websites under maintenance, in general, I see some an...
[ { "answer_id": 58005, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 3, "selected": false, "text": "<p>If you want to notify your users that your site is under maintenance, you can temporarily redirect all your...
2014/02/09
[ "https://webmasters.stackexchange.com/questions/58000", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30586/" ]
I'm working on a project. I can upload a site files to the web server. I have a site which is running. I want to update my site but I know visitors are coming 24 hours a day. So, how could I update my site without losing visitors? When I visit big websites under maintenance, in general, I see some another page. I jus...
If you want to notify your users that your site is under maintenance, you can temporarily redirect all your pages to a maintenance page with an *.htaccess* file (if you use Apache as a web server). To do this, add these lines in your *.htaccess* file: ``` <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REMOT...
58,001
<p>A simple (probably stupid) question: is it possible to show different pages for <code>www</code> and <code>non-www</code> versions of a website?</p> <p>I mean for example, <code>www.example.com</code> will show the content in <code>/mainfolder</code> and <code>domain.com</code> will show the content in <code>/second...
[ { "answer_id": 58002, "author": "elixenide", "author_id": 34418, "author_profile": "https://webmasters.stackexchange.com/users/34418", "pm_score": 3, "selected": false, "text": "<p>Yes, this is definitely possible. But please note that, by convention, <code>www.domain.com</code> is just ...
2014/02/09
[ "https://webmasters.stackexchange.com/questions/58001", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35938/" ]
A simple (probably stupid) question: is it possible to show different pages for `www` and `non-www` versions of a website? I mean for example, `www.example.com` will show the content in `/mainfolder` and `domain.com` will show the content in `/secondfolder`. I **don't want to redirect**, like if the user goes to `www...
Yes, this is definitely possible. But please note that, by convention, `www.domain.com` is just an alias for `domain.com`. So, what you describe is not at all standard and violates most users' expectations. It also runs at least some risk of search engine penalties. So, in my opinion, it is not a good idea, but yes, it...
58,003
<p>I'm on an EC2 instance and have a domain <code>domain.com</code> linked to the EC2 nameservers and it happily is serving my pages if I type <code>domain.com</code> in the URL.</p> <p>However when the page is served it resolves the url to: <code>1.1.1.10/directory/page.php</code>.</p> <p>Using apache I've set up th...
[ { "answer_id": 58004, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 1, "selected": false, "text": "<p>You'll need to set up a DNS record on the server - an <code>A</code> record using the IP address as the des...
2014/02/09
[ "https://webmasters.stackexchange.com/questions/58003", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35939/" ]
I'm on an EC2 instance and have a domain `domain.com` linked to the EC2 nameservers and it happily is serving my pages if I type `domain.com` in the URL. However when the page is served it resolves the url to: `1.1.1.10/directory/page.php`. Using apache I've set up the following VirtualHost, following examples provid...
First, use `<VirtualHost *:80>` instead of `<VirtualHost 1.1.1.10:80>`. That way your virtual host applies no matter what the IP address of your server is. Second, you need to issue a redirect if the host name isn't what you expect. I would recommend having two virtual hosts. The first is the default one for any unexp...
58,013
<p>I want to add <code>www</code> in front of a subdomain e.g. <code>www.subdomain.domain.com</code>.</p> <p>My blogs are hosted on Blogger and am using GoDaddy for having custom domains.</p> <p>I have HOST @ entries for 'domain' pointing specified by blogger. The following subsdomains are configured by adding CNAME ...
[ { "answer_id": 58011, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 4, "selected": true, "text": "<blockquote>\n <p>will browsers recognize individual files as being the same as pre-cached ones, if they are serve...
2014/02/09
[ "https://webmasters.stackexchange.com/questions/58013", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/32105/" ]
I want to add `www` in front of a subdomain e.g. `www.subdomain.domain.com`. My blogs are hosted on Blogger and am using GoDaddy for having custom domains. I have HOST @ entries for 'domain' pointing specified by blogger. The following subsdomains are configured by adding CNAME alias as follows: ``` subdomain -> ghs...
> > will browsers recognize individual files as being the same as pre-cached ones, if they are served from different subdomains? > > > No. Two identical files served from different locations are different files as far as the browser (cache) is concerned. The URL is the key by which the file is cached by the brows...
58,037
<p>I have two domains running on the same server with the same IP (same content).</p> <p>For example: the sitemap of <code>example1.com</code> represents one website and <code>method1.com</code>, <code>method2.com</code> represent many pages will come. So can I use only one sitemap for both or make different sitemaps?...
[ { "answer_id": 58038, "author": "user29671", "author_id": 29671, "author_profile": "https://webmasters.stackexchange.com/users/29671", "pm_score": 2, "selected": false, "text": "<p>You will need to make different sitemaps as you cannot have URLs from different domains within.</p>\n" },...
2014/02/10
[ "https://webmasters.stackexchange.com/questions/58037", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35767/" ]
I have two domains running on the same server with the same IP (same content). For example: the sitemap of `example1.com` represents one website and `method1.com`, `method2.com` represent many pages will come. So can I use only one sitemap for both or make different sitemaps? ``` <urlset xmlns="http://www.sitemaps.or...
You will need to make different sitemaps as you cannot have URLs from different domains within.
58,059
<p>Google gives this example to markup your logo:</p> <pre><code>&lt;div itemscope itemtype="http://schema.org/Organization"&gt; &lt;a itemprop="url" href="http://www.example.com/"&gt;Home&lt;/a&gt; &lt;img itemprop="logo" src="http://www.example.com/logo.png" /&gt; &lt;/div&gt; </code></pre> <p><a href="http://g...
[ { "answer_id": 58082, "author": "Ranaivo", "author_id": 36009, "author_profile": "https://webmasters.stackexchange.com/users/36009", "pm_score": 0, "selected": false, "text": "<p>I advise you to use the code proposed by Google and it works.</p>\n\n<pre><code>&lt;div itemscope itemtype=\"...
2014/02/11
[ "https://webmasters.stackexchange.com/questions/58059", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35627/" ]
Google gives this example to markup your logo: ``` <div itemscope itemtype="http://schema.org/Organization"> <a itemprop="url" href="http://www.example.com/">Home</a> <img itemprop="logo" src="http://www.example.com/logo.png" /> </div> ``` <http://googlewebmastercentral.blogspot.ca/2013/05/using-schemaorg-markup...
This should work because it still uses the logo and URL `itemprops` within the `itemscope` of "Organisation" which is ultimately the markup it is looking for. ``` <div itemscope itemtype="http://schema.org/Organization"> <a itemprop="url" href="http://www.example.com/"> <img itemprop="logo" src="http://www...
58,085
<p>My current understanding of SEO is this: One of the ways Google determines a webpage's quality is by how many people click back onto the SERPs. For example, if loads of people click onto your blog after searching "inception explained" and 0% of them click back, then Google will be more likely to rank your page highl...
[ { "answer_id": 58112, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 1, "selected": false, "text": "<p>Your understanding of how Google ranks pages could be incorrect. Many people speculate that Google uses <a href=\...
2014/02/11
[ "https://webmasters.stackexchange.com/questions/58085", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35502/" ]
My current understanding of SEO is this: One of the ways Google determines a webpage's quality is by how many people click back onto the SERPs. For example, if loads of people click onto your blog after searching "inception explained" and 0% of them click back, then Google will be more likely to rank your page highly. ...
Your understanding of how Google ranks pages could be incorrect. Many people speculate that Google uses [bounce rate](http://en.wikipedia.org/wiki/Bounce_rate) as a ranking factory, however Matt Cutts, head of web spam at Google, has denied this on various occasions: > > **Is Bounce Rate a Signal in Determining What ...
58,213
<p>When I use <a href="http://dkimcore.org/c/keycheck" rel="nofollow noreferrer">http://dkimcore.org/c/keycheck</a> to test my DKIM it says</p> <pre><code>This is not a good DKIM key record. You should fix the errors shown in red. DNS query failed for 'key1._domainkey.board67.com':NXDOMAIN A public-key (p=) is requi...
[ { "answer_id": 58217, "author": "Tim Fountain", "author_id": 1426, "author_profile": "https://webmasters.stackexchange.com/users/1426", "pm_score": 4, "selected": true, "text": "<p>It's a little hard to tell without any context for the screenshot, but I think you've setup your DKIM recor...
2014/02/13
[ "https://webmasters.stackexchange.com/questions/58213", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36061/" ]
When I use <http://dkimcore.org/c/keycheck> to test my DKIM it says ``` This is not a good DKIM key record. You should fix the errors shown in red. DNS query failed for 'key1._domainkey.board67.com':NXDOMAIN A public-key (p=) is required ``` But I do have a public key ![enter image description here](https://i.stac...
It's a little hard to tell without any context for the screenshot, but I think you've setup your DKIM record on `_domainkey.board67.com.board67.com`, instead of `_domainkey.board67.com`: ``` $ dig TXT _domainkey.board67.com +short (no result) $ dig TXT _domainkey.board67.com.board67.com +short "t=y\;o=~\;" ``` You ...
58,347
<p>I am new to SEO, and I have a website like StackExchange. I found one thing remarkably about my site is that <code>www</code> redirection (301) is not active. Is it essential?</p>
[ { "answer_id": 58349, "author": "PatomaS", "author_id": 19116, "author_profile": "https://webmasters.stackexchange.com/users/19116", "pm_score": 2, "selected": false, "text": "<p>If you have something to redirect, then yes, otherwise, it's not.</p>\n\n<p>By that I mean, that just doing t...
2014/02/17
[ "https://webmasters.stackexchange.com/questions/58347", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36185/" ]
I am new to SEO, and I have a website like StackExchange. I found one thing remarkably about my site is that `www` redirection (301) is not active. Is it essential?
`www` is just a subdomain. A website owner will normally make the decision whether they want their domain to be `domain.com` or `www.domain.com`. If your website resolves to both the `no-www` version and the `www` version of your domain, then these are essentially two different URL's that your website is on so potenti...
58,362
<p>Since <a href="https://support.google.com/webmasters/answer/1623047" rel="nofollow">Google actively supports the Music microdata structure</a>, I would like to implement this on a site that publishes music mixtapes.</p> <p>In context of this website, music mixes are usually 60 minute compilations of music, weaved t...
[ { "answer_id": 58766, "author": "richhallstoke", "author_id": 35875, "author_profile": "https://webmasters.stackexchange.com/users/35875", "pm_score": 0, "selected": false, "text": "<p>Is the <a href=\"http://schema.org/MusicPlaylist\" rel=\"nofollow\">MusicPlaylist</a> schema a possible...
2014/02/17
[ "https://webmasters.stackexchange.com/questions/58362", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/24431/" ]
Since [Google actively supports the Music microdata structure](https://support.google.com/webmasters/answer/1623047), I would like to implement this on a site that publishes music mixtapes. In context of this website, music mixes are usually 60 minute compilations of music, weaved together in a seamless fashion, much ...
Google understands microdata, so even if there's a pice of it that it's not mentioned on their list, you still can use it. But in any case, using your restrictions, I think this may work. ``` <div id="container_for_compilation" itemscope itemtype="http://schema.org/CreativeWork"> <div id="image_for_compilation" it...
58,370
<p>I have a blog which can be accessed at</p> <pre><code>http://mysite.com/blog/ </code></pre> <p>I would like to access it like this because I think it looks cleaner</p> <pre><code>http://blog.mysite.com </code></pre> <p>I did some reading on domains, subdomains, and redirects and have created a subdomain with the...
[ { "answer_id": 58366, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>Search engines have no idea when a user clicks on links on other site or your site. They also have no idea w...
2014/02/18
[ "https://webmasters.stackexchange.com/questions/58370", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36207/" ]
I have a blog which can be accessed at ``` http://mysite.com/blog/ ``` I would like to access it like this because I think it looks cleaner ``` http://blog.mysite.com ``` I did some reading on domains, subdomains, and redirects and have created a subdomain with the desired URL and re-directed it to the blog path....
There is more than one way to think of Click Through Rates (CTR). I cannot comment about Alexa much, but I can comment about Google a bit more. If you do a search on Google, and you click a link, that is a click-through. Google measures impressions, meaning how many links to your site are created for each query. They ...
58,383
<p>I'm trying to redirect the URLs of a client's website like this:</p> <pre><code>www.localsite.com/immobile.php?id_immobile=24 </code></pre> <p>In something like this:</p> <pre><code>www.localsite.com/immobile/24.php </code></pre> <p>I'm using this rule in <em>.htaccess</em> but it returns a 404 error page.</p> ...
[ { "answer_id": 58366, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>Search engines have no idea when a user clicks on links on other site or your site. They also have no idea w...
2014/02/18
[ "https://webmasters.stackexchange.com/questions/58383", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36222/" ]
I'm trying to redirect the URLs of a client's website like this: ``` www.localsite.com/immobile.php?id_immobile=24 ``` In something like this: ``` www.localsite.com/immobile/24.php ``` I'm using this rule in *.htaccess* but it returns a 404 error page. ``` RewriteEngine On RewriteCond %{QUERY_STRING} ^id_immobil...
There is more than one way to think of Click Through Rates (CTR). I cannot comment about Alexa much, but I can comment about Google a bit more. If you do a search on Google, and you click a link, that is a click-through. Google measures impressions, meaning how many links to your site are created for each query. They ...
58,402
<p>I have the following code in my <em>.htaccess</em> file that caches several file extension types:</p> <pre><code>## EXPIRES CACHING ## &lt;IfModule mod_expires.c&gt; ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByTyp...
[ { "answer_id": 58403, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": true, "text": "<p>You can't control files on another domain with <em>.htaccess</em> or any other means without making changes o...
2014/02/18
[ "https://webmasters.stackexchange.com/questions/58402", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36185/" ]
I have the following code in my *.htaccess* file that caches several file extension types: ``` ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year"...
You can't control files on another domain with *.htaccess* or any other means without making changes on the other server. So, no, this is not possible.
58,458
<p>Currently I m using </p> <pre><code>&lt;meta name="keywords" lang="en" content="..."/&gt; &lt;meta name="description" lang="en" content="..."/&gt; </code></pre> <p>for meta lang declaration. But my website is multilingual. Now how can I change this meta tag to support multilingual meta lang tag?</p>
[ { "answer_id": 58459, "author": "Ivo van der Veeken", "author_id": 28048, "author_profile": "https://webmasters.stackexchange.com/users/28048", "pm_score": 1, "selected": false, "text": "<p>If different pages have different languages, you should use the <code>&lt;rel hreflang=\"xx\"&gt;<...
2014/02/19
[ "https://webmasters.stackexchange.com/questions/58458", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36185/" ]
Currently I m using ``` <meta name="keywords" lang="en" content="..."/> <meta name="description" lang="en" content="..."/> ``` for meta lang declaration. But my website is multilingual. Now how can I change this meta tag to support multilingual meta lang tag?
You have good intentions, but you are using some elements wrong, so let me clarify a few things and the answer to your question will be at the end. Each page on a site has a language, that means that there is one main language for the content of a given page. That language, should be defined on the right [meta tag](ht...
58,501
<p>I'm trying to send a particular IP, that is trying to get one page on my site, to another page, and do this through my .htaccess file. I've seen many general descriptions of how to do it (in many syntactically different ways) but frankly none of them work. I put these command s, of the sort</p> <pre><code>RewriteEn...
[ { "answer_id": 58508, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 1, "selected": true, "text": "<p>There's not really very much wrong with the code you have posted. There are certainly no errors in your code tha...
2014/02/20
[ "https://webmasters.stackexchange.com/questions/58501", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36303/" ]
I'm trying to send a particular IP, that is trying to get one page on my site, to another page, and do this through my .htaccess file. I've seen many general descriptions of how to do it (in many syntactically different ways) but frankly none of them work. I put these command s, of the sort ``` RewriteEngine On Rewrit...
There's not really very much wrong with the code you have posted. There are certainly no errors in your code that should leave your site non-functional. As it stands it is syntactically valid. However, check your line endings to make sure you have no spurious characters - this can cause problems. Try the following: `...
58,511
<p>The website I am referencing in my question is <a href="http://www.bgmenus.com" rel="nofollow">http://www.bgmenus.com</a>. </p> <p>I have successfully created clean urls like this for my listings: <a href="http://bgmenus.com/five-guys/341" rel="nofollow">http://bgmenus.com/five-guys/341</a></p> <p>I rewrote those ...
[ { "answer_id": 58512, "author": "krokola", "author_id": 36324, "author_profile": "https://webmasters.stackexchange.com/users/36324", "pm_score": 3, "selected": true, "text": "<p>You could check the $_SERVER['REQUEST_URI'] on the php script restaurants.php if the request url is the correc...
2014/02/20
[ "https://webmasters.stackexchange.com/questions/58511", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/34911/" ]
The website I am referencing in my question is <http://www.bgmenus.com>. I have successfully created clean urls like this for my listings: <http://bgmenus.com/five-guys/341> I rewrote those using this: `RewriteRule /([^/.]+)/?$ /restaurants.php?id=$1 [L,NC,QSA]` The issue is the old URLs still exist and work: <http...
You could check the $\_SERVER['REQUEST\_URI'] on the php script restaurants.php if the request url is the correct. For example: ``` if ($_SERVER['REQUEST_URI'] !== '/' . $name . '/' . $id) { header ('HTTP/1.1 301 Moved Permanently'); header ('Location: http://www.bgmenus.com/' . $name . '/' . $id); die(); ...
58,521
<p>There are many local and global company catalogs. Some of them generate info about my company automatically, some have to be manually filled out.</p> <p>Is there any benefit to registering and adding a link to my site in them? Will I get some juice?</p> <p>Do these catalogs even have any juice?</p>
[ { "answer_id": 58512, "author": "krokola", "author_id": 36324, "author_profile": "https://webmasters.stackexchange.com/users/36324", "pm_score": 3, "selected": true, "text": "<p>You could check the $_SERVER['REQUEST_URI'] on the php script restaurants.php if the request url is the correc...
2014/02/21
[ "https://webmasters.stackexchange.com/questions/58521", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35439/" ]
There are many local and global company catalogs. Some of them generate info about my company automatically, some have to be manually filled out. Is there any benefit to registering and adding a link to my site in them? Will I get some juice? Do these catalogs even have any juice?
You could check the $\_SERVER['REQUEST\_URI'] on the php script restaurants.php if the request url is the correct. For example: ``` if ($_SERVER['REQUEST_URI'] !== '/' . $name . '/' . $id) { header ('HTTP/1.1 301 Moved Permanently'); header ('Location: http://www.bgmenus.com/' . $name . '/' . $id); die(); ...
58,608
<p>I want to remove some of my old posts from Google index. I have added rel=nofollow tag in all my posts then from web master tool i have used removed URL option. After two days my post was removed from Google then i have also removed from my website.</p> <p>But after few days posts is re indexed in Google again whic...
[ { "answer_id": 58609, "author": "Jonathan", "author_id": 28521, "author_profile": "https://webmasters.stackexchange.com/users/28521", "pm_score": 1, "selected": false, "text": "<p>For the post to be removed you would be best to add a disallow to your <em>robots.txt</em> file</p>\n<pre><c...
2014/02/22
[ "https://webmasters.stackexchange.com/questions/58608", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/35813/" ]
I want to remove some of my old posts from Google index. I have added rel=nofollow tag in all my posts then from web master tool i have used removed URL option. After two days my post was removed from Google then i have also removed from my website. But after few days posts is re indexed in Google again which really s...
For the post to be removed you would be best to add a disallow to your *robots.txt* file ``` User-Agent: Googlebot Disallow: /url-of-page ``` Then submit another removal request. The reason the page is coming up in Webmaster Tools will probably be because Googlebot is following an external link - if you log in to W...
58,632
<p>So I have a web hotel with 1 main website </p> <pre><code>http://www.myrootsite.com/ </code></pre> <p>and a few websites in subdirectories, in a folder called projects. </p> <p>I have domain names pointing to the subdirectories, but when holding the mouse over a link in those websites the URLs are shown as:</p> ...
[ { "answer_id": 58618, "author": "PatomaS", "author_id": 19116, "author_profile": "https://webmasters.stackexchange.com/users/19116", "pm_score": 3, "selected": true, "text": "<p>The best you can do, is launch the new site, with legal content.</p>\n\n<p>You can use their tool to rate the ...
2014/02/23
[ "https://webmasters.stackexchange.com/questions/58632", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36391/" ]
So I have a web hotel with 1 main website ``` http://www.myrootsite.com/ ``` and a few websites in subdirectories, in a folder called projects. I have domain names pointing to the subdirectories, but when holding the mouse over a link in those websites the URLs are shown as: ``` http://www.myrootsite.com/project...
The best you can do, is launch the new site, with legal content. You can use their tool to rate the site with high ranking and that will compensate for the bad preceding reputation. Of course you should leave a good comment and be sure that the date and comment reflect the change on direction of the website. No need ...
58,668
<p>We've recently been doing a lot of work on our site's SEO (<code>www.betterthanreviews.com</code>). We recently did a push to update the rich snippets breadcrumb, meta description, and star rating. </p> <p>After giving Google some time to index the site, it has updated the breadcrumbs and meta descriptions for our ...
[ { "answer_id": 58680, "author": "closetnoc", "author_id": 36029, "author_profile": "https://webmasters.stackexchange.com/users/36029", "pm_score": 0, "selected": false, "text": "<p>Okay.</p>\n\n<p>Sorry Danny. I do not have a working copy. Here is what I see.</p>\n\n<p>I took a look at y...
2014/02/24
[ "https://webmasters.stackexchange.com/questions/58668", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/36194/" ]
We've recently been doing a lot of work on our site's SEO (`www.betterthanreviews.com`). We recently did a push to update the rich snippets breadcrumb, meta description, and star rating. After giving Google some time to index the site, it has updated the breadcrumbs and meta descriptions for our review pages, but the...
Okay. Danny, I did not mean to leave you hanging. I tested the following and it worked but with the error, Error: Incomplete microdata with schema.org. in <http://schema.org/review>. I assume that the review is missing a required element and i do not know what it is. You can poke around to see if you can figure out wh...