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
50,006
<p>In the head of my HTML page, I have:</p> <pre><code>&lt;script src="https://raw.github.com/cloudhead/less.js/master/dist/less-1.3.3.js"&gt;&lt;/script&gt; </code></pre> <p>When I load the page in my browser (Google Chrome v 27.0.1453.116) and enable the developer tools, it says:</p> <blockquote> <p>Refused to e...
[ { "answer_id": 50016, "author": "Tim Fountain", "author_id": 1426, "author_profile": "https://webmasters.stackexchange.com/users/1426", "pm_score": 3, "selected": false, "text": "<p>The file extension is irrelevant, it's the Content-Type header that matters, and that file is served with ...
2013/06/25
[ "https://webmasters.stackexchange.com/questions/50006", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10884/" ]
In the head of my HTML page, I have: ``` <script src="https://raw.github.com/cloudhead/less.js/master/dist/less-1.3.3.js"></script> ``` When I load the page in my browser (Google Chrome v 27.0.1453.116) and enable the developer tools, it says: > > Refused to execute script from '<https://raw.github.com/cloudhead/l...
The problem you have is out of your control since this is how the hosting is setup at Github on the path that you have mentioned, Extension type is not only the factor when it comes to executing files since the web hosting can over-rule how a browser renders a file. You could have a .zip file rendering as a .html file...
50,165
<p>This issue is on WordPress site.</p> <p>I am aware we can change the URL naming convention in WP but I have changed my URL format from date format to simple postname followed by slug as shown below.</p> <p>Old style:</p> <pre><code>www.example.com/2013/02/09/rin​gdroid </code></pre> <p>New style:</p> <pre><code...
[ { "answer_id": 50167, "author": "WebChemist", "author_id": 15405, "author_profile": "https://webmasters.stackexchange.com/users/15405", "pm_score": 1, "selected": false, "text": "<pre><code>RewriteEngine On\nRewriteRule ^(\\d+/){3}(.*)$ /$2 [R=301]\n</code></pre>\n\n<p>This will strip an...
2013/06/28
[ "https://webmasters.stackexchange.com/questions/50165", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29215/" ]
This issue is on WordPress site. I am aware we can change the URL naming convention in WP but I have changed my URL format from date format to simple postname followed by slug as shown below. Old style: ``` www.example.com/2013/02/09/rin​gdroid ``` New style: ``` www.example.com/rin​gdroid ``` Google previously...
``` RewriteEngine On RewriteBase / RewriteRule ^([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ /$4 [R=301,NC,L] ```
50,174
<p>Adding several Google Analytics custom campaign parameters can make URLs very long.* </p> <p>For example, in <a href="https://support.google.com/analytics/answer/1033863?hl=en&amp;topic=1032998&amp;ctx=topic" rel="nofollow">Google's own examples</a>:</p> <pre><code>http://www.example.com/?utm_campaign=spring&amp;u...
[ { "answer_id": 50177, "author": "Baumr", "author_id": 19629, "author_profile": "https://webmasters.stackexchange.com/users/19629", "pm_score": 1, "selected": true, "text": "<p>No, there are no alternatives as of yet, since<code>utm_source</code> and <code>utm_medium</code> <a href=\"http...
2013/06/28
[ "https://webmasters.stackexchange.com/questions/50174", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19629/" ]
Adding several Google Analytics custom campaign parameters can make URLs very long.\* For example, in [Google's own examples](https://support.google.com/analytics/answer/1033863?hl=en&topic=1032998&ctx=topic): ``` http://www.example.com/?utm_campaign=spring&utm_medium=referral&utm_source=exampleblog http://www.examp...
No, there are no alternatives as of yet, since`utm_source` and `utm_medium` [are required](https://support.google.com/analytics/answer/1033867?hl=en-GB).
50,263
<pre><code>user-agent: * disallow: </code></pre> <p>Is this the right way to allow all access to all content of a website to crawlers in a <code>robots.txt</code>?</p>
[ { "answer_id": 50240, "author": "Jorge Fuentes González", "author_id": 21138, "author_profile": "https://webmasters.stackexchange.com/users/21138", "pm_score": 0, "selected": false, "text": "<p>Some things can happen, I tell you 3 I thought:</p>\n\n<ul>\n<li><p>A bot is crawling your sit...
2013/07/01
[ "https://webmasters.stackexchange.com/questions/50263", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10346/" ]
``` user-agent: * disallow: ``` Is this the right way to allow all access to all content of a website to crawlers in a `robots.txt`?
The access denied errors in Google Webmaster Tools that you're seeing for only URL's containing `www` is likely because the Googlebot can't access them. Some common reasons for that are listed here: [Google Webmaster Tools: Access denied errors](https://support.google.com/webmasters/answer/2409441?hl=en) Specific to...
50,312
<p>I submitted my site's URL to my workplace's printed newsletter and when I get the printed version, they added a dot to the end of it. Some people will realize that the period is not a part of the URL but others will not. Is there an easy way to redirect from <code>http://example.com/home.</code> to <code>http://exam...
[ { "answer_id": 50313, "author": "riseagainst", "author_id": 18576, "author_profile": "https://webmasters.stackexchange.com/users/18576", "pm_score": 0, "selected": false, "text": "<p>Add this to your <em>.htaccess</em>:</p>\n\n<pre><code>RewriteEngine on\nRewriteCond %{HTTP_HOST} ^exampl...
2013/07/02
[ "https://webmasters.stackexchange.com/questions/50312", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29324/" ]
I submitted my site's URL to my workplace's printed newsletter and when I get the printed version, they added a dot to the end of it. Some people will realize that the period is not a part of the URL but others will not. Is there an easy way to redirect from `http://example.com/home.` to `http://example.com/home`? I h...
GoDaddy's Windows shared hosting accounts with IIS 7.0 support the [Microsoft URL Rewrite Module](http://support.godaddy.com/help/article/5443/microsoft-url-rewrite-module), which provides URL redirect functionality similar to Apache's [mod\_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) module, th...
50,322
<p>I have seen some webmasters using a CAPTCHA that doesn't change at all. And many of them use JavaScript to validate these value. For example:</p> <pre><code>if(captchaCode != "4ERJZ") </code></pre> <p>Since most of the web browsers have a inspect element or such feature how secure is using this type of CAPTCHAs?</...
[ { "answer_id": 50313, "author": "riseagainst", "author_id": 18576, "author_profile": "https://webmasters.stackexchange.com/users/18576", "pm_score": 0, "selected": false, "text": "<p>Add this to your <em>.htaccess</em>:</p>\n\n<pre><code>RewriteEngine on\nRewriteCond %{HTTP_HOST} ^exampl...
2013/07/03
[ "https://webmasters.stackexchange.com/questions/50322", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29329/" ]
I have seen some webmasters using a CAPTCHA that doesn't change at all. And many of them use JavaScript to validate these value. For example: ``` if(captchaCode != "4ERJZ") ``` Since most of the web browsers have a inspect element or such feature how secure is using this type of CAPTCHAs?
GoDaddy's Windows shared hosting accounts with IIS 7.0 support the [Microsoft URL Rewrite Module](http://support.godaddy.com/help/article/5443/microsoft-url-rewrite-module), which provides URL redirect functionality similar to Apache's [mod\_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) module, th...
50,326
<p>I am using tags for my posts on my WordPress site. The content of my post is set in <code>&lt;article&gt;</code> tags, which is fine and now, I want to put the author link and tags in a <code>&lt;footer&gt;</code> tag, but I don't know if this is good for SEO reasons.</p> <p>I know that Googlebots are putting less ...
[ { "answer_id": 50328, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 0, "selected": false, "text": "<p>Surely the purpose of this would be to aid crawlability to your most popular post tags and ease of use for ...
2013/07/03
[ "https://webmasters.stackexchange.com/questions/50326", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28922/" ]
I am using tags for my posts on my WordPress site. The content of my post is set in `<article>` tags, which is fine and now, I want to put the author link and tags in a `<footer>` tag, but I don't know if this is good for SEO reasons. I know that Googlebots are putting less weight if they see links in a footer, but wi...
Yes, that is a good approach in terms of semantics, and is exactly what the footer is for. Given the tags are related to the article then you would have the footer tag inside it like so: ``` <article> <p>Your article content <p>... <footer>The tags etc</footer> </article> ``` HTML5 Doctor has [more information...
50,340
<p>We have Google Custom Site Search implemented on our company website. When I'm looking at the results page, I noticed that the meta description is not being displayed. It just seems to be reading the links titles from our drop down menu and using this as a description.</p> <p>When I search for the same page via <co...
[ { "answer_id": 50328, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 0, "selected": false, "text": "<p>Surely the purpose of this would be to aid crawlability to your most popular post tags and ease of use for ...
2013/07/03
[ "https://webmasters.stackexchange.com/questions/50340", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13390/" ]
We have Google Custom Site Search implemented on our company website. When I'm looking at the results page, I noticed that the meta description is not being displayed. It just seems to be reading the links titles from our drop down menu and using this as a description. When I search for the same page via `google.com`,...
Yes, that is a good approach in terms of semantics, and is exactly what the footer is for. Given the tags are related to the article then you would have the footer tag inside it like so: ``` <article> <p>Your article content <p>... <footer>The tags etc</footer> </article> ``` HTML5 Doctor has [more information...
50,358
<p>I’m trying to set a song’s <a href="http://schema.org/duration" rel="nofollow"><code>duration</code></a> with Microdata. What is the best way to describe a duration in Microdata? </p> <p>Is it by using <code>itemprop="duration"</code> in <code>span</code>?</p> <pre class="lang-html prettyprint-override"><code>&l...
[ { "answer_id": 50365, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 2, "selected": false, "text": "<p>Complete details along with examples can be viewed on <a href=\"http://schema.org/MusicRecording\" rel=\"no...
2013/07/04
[ "https://webmasters.stackexchange.com/questions/50358", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29353/" ]
I’m trying to set a song’s [`duration`](http://schema.org/duration) with Microdata. What is the best way to describe a duration in Microdata? Is it by using `itemprop="duration"` in `span`? ```html <span itemprop="duration" content="PT4M5S">4:05</span> ``` Or using the `time` element? ```html <time itemprop="dura...
The [`duration` property](http://schema.org/duration) expects a [`Duration`](http://schema.org/Duration) as value, which has to be in the [ISO 8601 duration format](https://en.wikipedia.org/wiki/ISO_8601#Durations). The [`time` element](http://www.w3.org/TR/2014/REC-html5-20141028/text-level-semantics.html#the-time-el...
50,368
<p>Google and other SEs support <a href="http://schema.org/WebPage" rel="nofollow noreferrer"><strong>Schema.org</strong> for marking up structured data</a>, but it turns out that <a href="https://support.google.com/webmasters/answer/185417?hl=en" rel="nofollow noreferrer"><em>for breadcrumbs</em> Google recommends usi...
[ { "answer_id": 50384, "author": "GDVS", "author_id": 18004, "author_profile": "https://webmasters.stackexchange.com/users/18004", "pm_score": 3, "selected": true, "text": "<p>Yes, avoid Schema for now and use Data Vocabulary, for exactly the reason you cite. I've used the latter, and it ...
2013/07/04
[ "https://webmasters.stackexchange.com/questions/50368", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19629/" ]
Google and other SEs support [**Schema.org** for marking up structured data](http://schema.org/WebPage), but it turns out that [*for breadcrumbs* Google recommends using **Data-Vocabulary.org**](https://support.google.com/webmasters/answer/185417?hl=en) instead. Which should we use for having breadcrumbs appear in sea...
Yes, avoid Schema for now and use Data Vocabulary, for exactly the reason you cite. I've used the latter, and it works. John Mueller from Google [has said that he expects Schema will have to change](https://stackoverflow.com/questions/13088284/breadcrumb-with-schema-org), and [the discussion](http://www.w3.org/2011/we...
50,403
<p>I re-built a Flash website into an AJAX-based website, which generates all its content from JSON data using AJAX. </p> <p>It's a photography website and Google's Image Search is important for this site. But since the website content is generated dynamically, I thought I should also add fallback static content. I di...
[ { "answer_id": 50407, "author": "Nicholas Shanks", "author_id": 8494, "author_profile": "https://webmasters.stackexchange.com/users/8494", "pm_score": 1, "selected": false, "text": "<p>Your first question, \"Does Google penalize websites in Google Images\" doesn't make much sense. Google...
2013/07/05
[ "https://webmasters.stackexchange.com/questions/50403", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3549/" ]
I re-built a Flash website into an AJAX-based website, which generates all its content from JSON data using AJAX. It's a photography website and Google's Image Search is important for this site. But since the website content is generated dynamically, I thought I should also add fallback static content. I did hide tha...
First, are you aware that your website's *robots.txt* has the following in it? ``` User-agent: Googlebot-Image Disallow: / ``` This will prevent all images from being indexed in Google's Image Search. See this for more on that: [prevent images from appearing in Image Search](https://support.google.com/webmasters/ans...
50,472
<p>I'd greatly appreciate a response on the following question relating to site migration and SEO impact. Here's some background on how my domain name and site is currently configured:</p> <p>My domain name provider has the following settings:</p> <ul> <li>host name <code>@</code> is an A NAME record and points to IP...
[ { "answer_id": 51157, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>It looks like the rewrite rules will just serve the same content (or newer versions of the same c...
2013/07/08
[ "https://webmasters.stackexchange.com/questions/50472", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29435/" ]
I'd greatly appreciate a response on the following question relating to site migration and SEO impact. Here's some background on how my domain name and site is currently configured: My domain name provider has the following settings: * host name `@` is an A NAME record and points to IP address `x.x.x.x` * host name `...
Changing to a sub domain will of course have an impact on your current rankings and you will see a drop but of course your website will shoot back up again. Make sure you 301 redirect from your root domain to your sub domain but make sure it is not all pointed to one page e.g just the homepage[,](http://www.salon24man...
50,474
<p>My traffic is not from search engine and I want to prevent bots or others from displaying or accessing it.</p> <p>What would be a good <em>.htaccess</em> code to do so?</p> <p>I've heard</p> <pre><code>User-agent: ia_archiver Disallow: / </code></pre> <p>Don't really remove Alexa ranking because Alexa got the c...
[ { "answer_id": 50476, "author": "Sathiya Kumar V M", "author_id": 28169, "author_profile": "https://webmasters.stackexchange.com/users/28169", "pm_score": 0, "selected": false, "text": "<p>To prevent all robots from indexing a page on your site, place the following meta tag into the sec...
2013/07/08
[ "https://webmasters.stackexchange.com/questions/50474", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14013/" ]
My traffic is not from search engine and I want to prevent bots or others from displaying or accessing it. What would be a good *.htaccess* code to do so? I've heard ``` User-agent: ia_archiver Disallow: / ``` Don't really remove Alexa ranking because Alexa got the content from it's toolbar. Okay. What is then?
Use a [`robots.txt` file](http://www.robotstxt.org/) to prevent spiders from crawling and indexing your content. From [Alexa's "for webmasters" page](http://www.alexa.com/help/webmasters): ``` User-agent: ia_archiver Disallow: / ``` From [Googe's robots.txt help page](https://support.google.com/webmasters/answer/15...
50,487
<p>I have 100's of duplicate meta description issue in google webmaster tool because of the pagination. Pagination pages are showing as duplicate in tool. So I added the <code>rel="next"</code> and <code>rel="prev"</code> to the pagination link anchor tags. But it seems like not working.</p> <p>I red the <a href="htt...
[ { "answer_id": 50489, "author": "Marian Popovych", "author_id": 26642, "author_profile": "https://webmasters.stackexchange.com/users/26642", "pm_score": -1, "selected": false, "text": "<p>It should help. There is Google's official guide</p>\n\n<p><a href=\"http://googlewebmastercentral.b...
2013/07/08
[ "https://webmasters.stackexchange.com/questions/50487", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10717/" ]
I have 100's of duplicate meta description issue in google webmaster tool because of the pagination. Pagination pages are showing as duplicate in tool. So I added the `rel="next"` and `rel="prev"` to the pagination link anchor tags. But it seems like not working. I red the [Google office webmaster blog post](http://go...
Using rel prev and rel next isn't going to solve the duplicate title and meta description problem. Several people on Google's blog post that it doesn't prevent these errors in Webmaster Tools. For example: > > cynthiacoffield said... > I've had similar duplicate title tag issues that are resolved with rel prev/next ...
50,500
<p>I have found <a href="http://www.imgopt.com/" rel="nofollow noreferrer">this tool</a> that optimizes images for the web. What is surprising for me (of course, there will be other tools like this :)) is that it only optimizes the uploaded image if it is possible, I mean, if it considers that the image is already opt...
[ { "answer_id": 50514, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 4, "selected": true, "text": "<p>Based on your reference to the ImageMagick <code>convert</code> method and <code>quality</code> parameter, it appe...
2013/07/08
[ "https://webmasters.stackexchange.com/questions/50500", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26684/" ]
I have found [this tool](http://www.imgopt.com/) that optimizes images for the web. What is surprising for me (of course, there will be other tools like this :)) is that it only optimizes the uploaded image if it is possible, I mean, if it considers that the image is already optimized for the web it says "No savings". ...
Based on your reference to the ImageMagick `convert` method and `quality` parameter, it appears you're working with JPEG images. If that's the case, the [EXIF](https://en.wikipedia.org/wiki/Exchangeable_image_file_format) information for JPEG images does not have a standard compression level [tag](https://en.wikipedia....
50,518
<p>I know that Google don’t guarantee for indexing every single web page, but I need some clarification about that, because most of the SEO masters are saying</p> <p>“<em>Submitting Sitemap in GWT is the most important task for indexing a page</em>”. </p> <p>I had submitted my website’s site map before several months...
[ { "answer_id": 50525, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 4, "selected": true, "text": "<p>You have the incorrect URLs in your <em>sitemap.xml</em> files. The URLs you list in the sitemap are actually bei...
2013/07/09
[ "https://webmasters.stackexchange.com/questions/50518", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28169/" ]
I know that Google don’t guarantee for indexing every single web page, but I need some clarification about that, because most of the SEO masters are saying “*Submitting Sitemap in GWT is the most important task for indexing a page*”. I had submitted my website’s site map before several months (may be years). My si...
You have the incorrect URLs in your *sitemap.xml* files. The URLs you list in the sitemap are actually being 301 redirected to different URLs. e.g: The link you posted: <http://www.proboxinggear.com/store/product_info.php?products_id=28> is 301 redirecting to: <http://www.proboxinggear.com/store/amber-heavybag...
50,540
<p>In my blog's Google Webmaster Tools panel, I found the following code in my <em>robots.txt</em> of blocked URLs section.</p> <pre><code>User-agent: Mediapartners-Google Disallow: /search Allow: / </code></pre> <p>I know that <code>Disallow</code> will prevent Googlebot from indexing a webpage, but I don't understa...
[ { "answer_id": 50541, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 1, "selected": false, "text": "<p>It tells AdSense not to crawl anything files in the <code>/search</code> directory or below (i.e. any subdir...
2013/07/09
[ "https://webmasters.stackexchange.com/questions/50540", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28169/" ]
In my blog's Google Webmaster Tools panel, I found the following code in my *robots.txt* of blocked URLs section. ``` User-agent: Mediapartners-Google Disallow: /search Allow: / ``` I know that `Disallow` will prevent Googlebot from indexing a webpage, but I don't understand the usage of `Disallow: /search`. What i...
In the [`Disallow` field](http://www.robotstxt.org/orig.html#format) you specify **the beginning** of URL paths of URLs that should be blocked. So if you have `Disallow: /`, it blocks *everything*, as every URL path starts with `/`. If you have `Disallow: /a`, it blocks all URLs whose paths begin with `/a`. That coul...
50,577
<p>It may be a silly question but I need to clarify my doubt because it's related to <em>robots.txt</em>.</p> <p>I need to prevent some label path of my website using <em>robots.txt</em> file. </p> <pre><code>User-agent: * Disallow: /directory/wp-admin/path/label </code></pre> <p>If I give like this, would it affect...
[ { "answer_id": 50579, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": -1, "selected": false, "text": "<p>Robots.txt treats each path directive individually...</p>\n\n<p>So, for example:-</p>\n\n<pre><code>User-a...
2013/07/10
[ "https://webmasters.stackexchange.com/questions/50577", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28169/" ]
It may be a silly question but I need to clarify my doubt because it's related to *robots.txt*. I need to prevent some label path of my website using *robots.txt* file. ``` User-agent: * Disallow: /directory/wp-admin/path/label ``` If I give like this, would it affect all the paths separately? Which means, does G...
The path specified in the `Disallow:` field is simply a URL prefix. So, any URL that starts with this prefix will be blocked. ``` Disallow: /directory/wp-admin/path/label ``` From your example, this will therefore block all of the following URLs: ``` /directory/wp-admin/path/label /directory/wp-admin/path/labelfoo ...
50,590
<p>Considering upgrade of CMS to latest version- the process may take anywhere from 2 to 4 weeks.</p> <p>May suggest - we need to work on live server, what we have planned:</p> <ul> <li><p>take exact replica of site and move to a test domain, but on live server</p></li> <li><p>Block Google, Bing, Yahoo - <code>User-a...
[ { "answer_id": 50591, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p>You <em>must</em> make sure that this site is unavailable to search engines. The best way to do this is to pu...
2013/07/10
[ "https://webmasters.stackexchange.com/questions/50590", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23721/" ]
Considering upgrade of CMS to latest version- the process may take anywhere from 2 to 4 weeks. May suggest - we need to work on live server, what we have planned: * take exact replica of site and move to a test domain, but on live server * Block Google, Bing, Yahoo - `User-agent: Google Disallow: /`, `User-agent: Bin...
You *must* make sure that this site is unavailable to search engines. The best way to do this is to put the entire dev site behind a login mechanism. [Basic Authentication](http://en.wikipedia.org/wiki/Basic_access_authentication) is the simplest and most effective way to do this. It makes it impossible for search engi...
50,607
<p>We have affiliates that link to our site with a querystring. e.g.</p> <pre><code>&lt;a href="http://www.mysite.com/affiliate?id=123"&gt;Affiliate Link&lt;/a&gt; </code></pre> <p>In my robots.txt file, i have:</p> <pre><code>Disallow: /affiliate/*?* </code></pre> <p>What would a search engine do with the link? Wi...
[ { "answer_id": 50608, "author": "Marian Popovych", "author_id": 26642, "author_profile": "https://webmasters.stackexchange.com/users/26642", "pm_score": -1, "selected": false, "text": "<blockquote>\n <p>If the original link had a rel=\"nofollow\", will google completely ignore that link...
2013/07/11
[ "https://webmasters.stackexchange.com/questions/50607", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9809/" ]
We have affiliates that link to our site with a querystring. e.g. ``` <a href="http://www.mysite.com/affiliate?id=123">Affiliate Link</a> ``` In my robots.txt file, i have: ``` Disallow: /affiliate/*?* ``` What would a search engine do with the link? Will it hit our site, then stop because it's disallowed? I'm gu...
An affiliate ID used for tracking purposes can be considered similar to a session ID, in that different affiliate links can lead to the same page and content, thus resulting in [duplicate content](https://support.google.com/webmasters/answer/66359?hl=en). Therefore to disallow affiliate links from being crawled (resul...
50,623
<p>I have been testing a web site but every time I complain to the web developer that I am not able to see on the website which you have recently corrected,he told me that I am seeing that content from the browser cache. I should press F5 and get the recently corrected contents of the webpage.</p> <p>Can I fix somethi...
[ { "answer_id": 50608, "author": "Marian Popovych", "author_id": 26642, "author_profile": "https://webmasters.stackexchange.com/users/26642", "pm_score": -1, "selected": false, "text": "<blockquote>\n <p>If the original link had a rel=\"nofollow\", will google completely ignore that link...
2013/07/11
[ "https://webmasters.stackexchange.com/questions/50623", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/16362/" ]
I have been testing a web site but every time I complain to the web developer that I am not able to see on the website which you have recently corrected,he told me that I am seeing that content from the browser cache. I should press F5 and get the recently corrected contents of the webpage. Can I fix something (1) at ...
An affiliate ID used for tracking purposes can be considered similar to a session ID, in that different affiliate links can lead to the same page and content, thus resulting in [duplicate content](https://support.google.com/webmasters/answer/66359?hl=en). Therefore to disallow affiliate links from being crawled (resul...
50,624
<p>Using a very simple example with cars, this seems to make more sense:</p> <pre><code>site.com/cars/audi/convertibles/red/ </code></pre> <p>But since a person is likely to search for <em>red convertible</em> or <em>red audi convertible</em>, would it be better to have:</p> <pre><code>site.com/cars/red-audi-convert...
[ { "answer_id": 50640, "author": "Stephan Vierkant", "author_id": 29550, "author_profile": "https://webmasters.stackexchange.com/users/29550", "pm_score": 0, "selected": false, "text": "<p>Google uses the URL to generate breadcrumbs: <a href=\"https://support.google.com/webmasters/answer/...
2013/07/11
[ "https://webmasters.stackexchange.com/questions/50624", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/18576/" ]
Using a very simple example with cars, this seems to make more sense: ``` site.com/cars/audi/convertibles/red/ ``` But since a person is likely to search for *red convertible* or *red audi convertible*, would it be better to have: ``` site.com/cars/red-audi-convertible/ site.com/cars/audi/red-convertible/ site.com/...
This video from Matt Cutts describes the SEO effect and user-impact of the URL variations that you're contemplating: [Is it better to have keywords in the URL path or filename?](http://www.youtube.com/watch?v=971qGsTPs8M) According to that, there wouldn't really be any SEO advantages for one URL over the other. Howev...
50,635
<p>I had applied 'redirect 301' from main domain to subdomain and Google had indexed sumbdomain (and links under it) for years. Now, for some reason Google has started indexing the main domain while keeping all of subdomain links indexed except one - <code>subdomain.maindomain.com</code> (this one has been de-indexed a...
[ { "answer_id": 50636, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": true, "text": "<p>It looks like you are only redirecting the home page. Your rewrite rule states that for the redir...
2013/07/11
[ "https://webmasters.stackexchange.com/questions/50635", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29543/" ]
I had applied 'redirect 301' from main domain to subdomain and Google had indexed sumbdomain (and links under it) for years. Now, for some reason Google has started indexing the main domain while keeping all of subdomain links indexed except one - `subdomain.maindomain.com` (this one has been de-indexed and replaced by...
It looks like you are only redirecting the home page. Your rewrite rule states that for the redirect to work, the path of the URL may only contain an optional slash. So, if Googlebot somehow gets links deeper into the site, it would be able to crawl the site except for the home page. You should change your rewrite ru...
50,697
<p>I have StackOverflow style URL's in my site, like <code>mysite.com/article/42/the-article</code>.</p> <p>However, when I search for the article, I see that Google has fetched it like this <code>mysite.com/article/42/</code>.</p> <p>Am I doing something wrong here? Should I tell Google to fetch everything?</p> <h2...
[ { "answer_id": 50701, "author": "Nicholas Shanks", "author_id": 8494, "author_profile": "https://webmasters.stackexchange.com/users/8494", "pm_score": 2, "selected": false, "text": "<p>I recommend that you add the canonical form of the URL to each web page:</p>\n\n<pre><code>&lt;link rel...
2013/07/13
[ "https://webmasters.stackexchange.com/questions/50697", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29584/" ]
I have StackOverflow style URL's in my site, like `mysite.com/article/42/the-article`. However, when I search for the article, I see that Google has fetched it like this `mysite.com/article/42/`. Am I doing something wrong here? Should I tell Google to fetch everything? Edit: ----- I forgot to add that these URL's ...
I recommend that you add the canonical form of the URL to each web page: ``` <link rel="canonical" href="http://mysite.com/article/42/"> ``` You may also with to do a permanent redirect to the longer URL if you get a request to the shorter one (with the `L` flag if using `mod_rewrite`, and before you do the internal...
50,737
<p>I have recently added my website to Google, and I don't understand why he adds useless parameters to my URLs.</p> <p>Normal URL:</p> <pre><code>build/view/2/akali/mid </code></pre> <p>Google URL:</p> <pre><code>build/view/2/akali/mid?role=adc </code></pre> <p>That's boring because the parameter <code>role</code...
[ { "answer_id": 50738, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 1, "selected": false, "text": "<p>Google doesn't add parameter to URL alone. Googlebot follows links and display URL it finds.</p>\n\n<p>Sear...
2013/07/14
[ "https://webmasters.stackexchange.com/questions/50737", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29611/" ]
I have recently added my website to Google, and I don't understand why he adds useless parameters to my URLs. Normal URL: ``` build/view/2/akali/mid ``` Google URL: ``` build/view/2/akali/mid?role=adc ``` That's boring because the parameter `role` take the value `adc` instead of `mid`. How can I do to avoid thi...
In addition to change the option on Google Webmaster Tool (URL Parameters -> edit -> No URLs), don't forget to use [the canonical tag](https://support.google.com/webmasters/answer/139394?hl=en) to help Google to erase the bad pages indexed.
50,764
<p>The tutorial I am reading claims that the description of a web page (the little blurb google does about your site when you see it as a result in a search) is stored in a metadata tag as so: </p> <pre><code>&lt;meta name="description" content="Description of a website&gt;" </code></pre> <p>However, when I look at ...
[ { "answer_id": 50765, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>This of course up to the search engine. Google tends to take the first bit of text in the content. I don't know i...
2013/07/07
[ "https://webmasters.stackexchange.com/questions/50764", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
The tutorial I am reading claims that the description of a web page (the little blurb google does about your site when you see it as a result in a search) is stored in a metadata tag as so: ``` <meta name="description" content="Description of a website>" ``` However, when I look at the source of any actual websites...
I'm afraid all the previous answers are wrong! The chain of events of how a snippet is displayed in a search result is as follows: * If you have a valid tag and it matches the content of the page, it will display this. **Meta description tags are not useless as people have posted below - only meta keyword tags are.** ...
50,848
<p>This is my first question on here so I hope I'm not breaking any rules, but I have a problem:</p> <p>I have a site that uses an Adobe Site Catalyst for its online analytics. The suite supports tagging through JavaScript and when implemented, it looks something like this that is placed on <code>http://www.mydomain.c...
[ { "answer_id": 51085, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": false, "text": "<p>I've encountered this as well. It's annoying that Google is reporting 404 errors on something yo...
2013/07/16
[ "https://webmasters.stackexchange.com/questions/50848", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
This is my first question on here so I hope I'm not breaking any rules, but I have a problem: I have a site that uses an Adobe Site Catalyst for its online analytics. The suite supports tagging through JavaScript and when implemented, it looks something like this that is placed on `http://www.mydomain.com`: ``` <scri...
I've encountered this as well. It's annoying that Google is reporting 404 errors on something you never actually link to, but only based on their heuristic that finds links in JavaScript code. These reported errors don't seem to indicate actual problems than need to be addressed. [Google's John Mueller posted this on ...
50,858
<p>I am in the process of moving my DNS records from Network Solutions to the Amazon Route 53 service. While I know and understand a little about the basic kinds of records, I am stumped on how to create the record that will point to the MX record on Network Solutions (if I'm even saying that right).</p> <p>On Network...
[ { "answer_id": 50859, "author": "Daniël W. Crompton", "author_id": 29072, "author_profile": "https://webmasters.stackexchange.com/users/29072", "pm_score": 1, "selected": false, "text": "<p>You created a <code>CNAME</code> alias which points to the domain name of the MX record, this won'...
2013/07/17
[ "https://webmasters.stackexchange.com/questions/50858", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29713/" ]
I am in the process of moving my DNS records from Network Solutions to the Amazon Route 53 service. While I know and understand a little about the basic kinds of records, I am stumped on how to create the record that will point to the MX record on Network Solutions (if I'm even saying that right). On Network Solutions...
You created a `CNAME` alias which points to the domain name of the MX record, this won't do what you want. A mail server explicitly looks up MX records so you need to put the alias into the MX record, for my Google Apps account I have the following in my zone file: ``` mail.example.com. 300 IN MX 5 alt1.aspmx.l....
50,882
<p>I would like to get your inputs on the "preferred" way of linking to dynamically generated excel files using PHP.</p> <p>Using PHPExcel (or any other Excel writer for that matter) I have to generate a downloadable Excel file with PHP. The obvious method would be to create a link to that PHP file with a parameter su...
[ { "answer_id": 50883, "author": "Serge Velikan", "author_id": 29739, "author_profile": "https://webmasters.stackexchange.com/users/29739", "pm_score": 0, "selected": false, "text": "<p>This is a question in an Excel file generating speed.\nIf your .xls is generated quickly - you may use ...
2013/07/18
[ "https://webmasters.stackexchange.com/questions/50882", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29793/" ]
I would like to get your inputs on the "preferred" way of linking to dynamically generated excel files using PHP. Using PHPExcel (or any other Excel writer for that matter) I have to generate a downloadable Excel file with PHP. The obvious method would be to create a link to that PHP file with a parameter such as ``...
I'm going to take a wild guess and say that Google probably sees both documents correctly as a xls spreadsheet (provided that the Content-Type headers on the download.php url are set correctly). However, generating the file will mean you'll have to decide where to store it. If you store it on the filesystem, you'll li...
50,889
<p>I have the following <code>.htaccess</code> file:</p> <pre><code>AddDefaultCharset utf-8 RewriteEngine on Options +SymLinksIfOwnerMatch RewriteBase / # redirect all www-requests to no-www # - RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] RewriteRule ^(.*)$ http://example.com/$1 [R=301,L] # redirect all home p...
[ { "answer_id": 50893, "author": "joshuahedlund", "author_id": 10576, "author_profile": "https://webmasters.stackexchange.com/users/10576", "pm_score": 0, "selected": false, "text": "<p>I'm familiar with regex, though not an expert, but it looks like you might be getting a loop from the c...
2013/07/18
[ "https://webmasters.stackexchange.com/questions/50889", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29736/" ]
I have the following `.htaccess` file: ``` AddDefaultCharset utf-8 RewriteEngine on Options +SymLinksIfOwnerMatch RewriteBase / # redirect all www-requests to no-www # - RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] RewriteRule ^(.*)$ http://example.com/$1 [R=301,L] # redirect all home pages to / (root) # - Rewr...
> > cyclic redirection when trying to access `http://example.com/admin`. The real document that should be fetched by the browser is `http://example.com/admin/index.php` > > > Since `/admin` is a physical directory, mod\_dir will "fix" the URL by *appending* a trailing slash. This is achieved via a 301 redirect. H...
50,894
<p>I have a website where the main menu has 10 level 1 items and each has roughly 10 level 2 items plus there are links in the header and footer and side bar plus some links in the content. All these links are standard anchor tags in the HTML source.</p> <p>I keep hearing / being told to slash the number of links for ...
[ { "answer_id": 50893, "author": "joshuahedlund", "author_id": 10576, "author_profile": "https://webmasters.stackexchange.com/users/10576", "pm_score": 0, "selected": false, "text": "<p>I'm familiar with regex, though not an expert, but it looks like you might be getting a loop from the c...
2013/07/18
[ "https://webmasters.stackexchange.com/questions/50894", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29740/" ]
I have a website where the main menu has 10 level 1 items and each has roughly 10 level 2 items plus there are links in the header and footer and side bar plus some links in the content. All these links are standard anchor tags in the HTML source. I keep hearing / being told to slash the number of links for SEO purpos...
> > cyclic redirection when trying to access `http://example.com/admin`. The real document that should be fetched by the browser is `http://example.com/admin/index.php` > > > Since `/admin` is a physical directory, mod\_dir will "fix" the URL by *appending* a trailing slash. This is achieved via a 301 redirect. H...
50,896
<p>In developing some server side validation I discovered that (the latest Windows versions as of this writing of) Firefox, Chrome and Internet Explorer handle vertical tab characters differently in <code>input type=text</code> form fields.</p> <p>I had a hard time trying to paste the character into any of the browser...
[ { "answer_id": 51047, "author": "benrifkah", "author_id": 29731, "author_profile": "https://webmasters.stackexchange.com/users/29731", "pm_score": 1, "selected": false, "text": "<p><strong>Updated Answer</strong></p>\n\n<p>tkent, a chromium developer who worked to resolve that browser's ...
2013/07/18
[ "https://webmasters.stackexchange.com/questions/50896", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29731/" ]
In developing some server side validation I discovered that (the latest Windows versions as of this writing of) Firefox, Chrome and Internet Explorer handle vertical tab characters differently in `input type=text` form fields. I had a hard time trying to paste the character into any of the browsers so I used JavaScrip...
**Updated Answer** tkent, a chromium developer who worked to resolve that browser's value truncation issue, found WHATWG specifications stating that the Vertical Tab (U+000B) is legal and should be unmodified in various contexts. Pertinent to this question on input type=text is the following: > > <http://www.whatwg....
50,898
<p>In my blog’s Webmaster Tools, there is a notification in <em>Crawl Errors</em> section, that is Google couldn't crawl your site because we were unable to access the <em>robots.txt</em> file.</p> <p>My blog’s <em>robots.txt</em> file is: </p> <pre><code>User-agent: Mediapartners-Google Disallow: User-agent: * Dis...
[ { "answer_id": 50900, "author": "zigojacko", "author_id": 12183, "author_profile": "https://webmasters.stackexchange.com/users/12183", "pm_score": 1, "selected": false, "text": "<p>There is no such official command as <code>Allow</code> in <code>robots.txt</code>. By default, everything ...
2013/07/19
[ "https://webmasters.stackexchange.com/questions/50898", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28169/" ]
In my blog’s Webmaster Tools, there is a notification in *Crawl Errors* section, that is Google couldn't crawl your site because we were unable to access the *robots.txt* file. My blog’s *robots.txt* file is: ``` User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://e...
If you have a message saying that "Google couldn't crawl your site because we were unable to access the *robots.txt* file". Then it is not the contents of the *robots.txt* file that is in question, it is that Google simply couldn't access the file. And when Google can't access a *robots.txt* file then it won't crawl th...
50,930
<p>Where should the <code>&lt;title&gt;</code> tag be placed for best SEO in relevance to <code>&lt;meta name=description content="" /&gt;</code> tag?</p> <p>Does placing it upper the <code>&lt;meta name=description content="" /&gt;</code> or below it, or does it have not have any relevance at all.</p>
[ { "answer_id": 50933, "author": "Jaryd Buggins", "author_id": 15359, "author_profile": "https://webmasters.stackexchange.com/users/15359", "pm_score": 2, "selected": false, "text": "<p>The order in which the meta data appears will have no impact, you just need to ensure that it appears i...
2013/07/20
[ "https://webmasters.stackexchange.com/questions/50930", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19501/" ]
Where should the `<title>` tag be placed for best SEO in relevance to `<meta name=description content="" />` tag? Does placing it upper the `<meta name=description content="" />` or below it, or does it have not have any relevance at all.
I’d have thought exactly the same: that there are no real pros *or* cons in *where* you place the `TITLE` element within the HTML document’s HEAD area. However, although this is nothing whatsoever to do with SEO, I do remember reading that in an HTML document, the best practise is to include the `TITLE` **after** the f...
50,966
<p>I am using Google Analytics to track visitors of my website. I also want to track IP address of the visitor but Google doesn't allow this. Now I am thinking that I must save IP address of the visitor on my database before sending visit information to Google Analytics. So when I retrieve information I can glue the IP...
[ { "answer_id": 50968, "author": "user29671", "author_id": 29671, "author_profile": "https://webmasters.stackexchange.com/users/29671", "pm_score": 1, "selected": false, "text": "<p>I don't think you can get IP address from Google Analytics, it is not shown by default and using custom var...
2013/07/21
[ "https://webmasters.stackexchange.com/questions/50966", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29817/" ]
I am using Google Analytics to track visitors of my website. I also want to track IP address of the visitor but Google doesn't allow this. Now I am thinking that I must save IP address of the visitor on my database before sending visit information to Google Analytics. So when I retrieve information I can glue the IP ad...
Hypothetically it would be possible to set a unique identifier in your database where you are storing your IP addresses and then use the same id as a [custom variable](https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingCustomVariables) in analytics. You would set this up as follows and call thi...
50,990
<p>I used to have an URL structure like this:</p> <pre><code>mydomain.com/search.php?key=value </code></pre> <p>which I've since changed to:</p> <pre><code>mydomain.com/key/value. </code></pre> <p>I've changed all the internal links in my site, but Google still holds results which point to the old URL structure, w...
[ { "answer_id": 50991, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>Do a 301 redirect from the old URL to the new URL. Google will then replace the old URLs with the new in the...
2013/07/22
[ "https://webmasters.stackexchange.com/questions/50990", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9356/" ]
I used to have an URL structure like this: ``` mydomain.com/search.php?key=value ``` which I've since changed to: ``` mydomain.com/key/value. ``` I've changed all the internal links in my site, but Google still holds results which point to the old URL structure, which makes me concerned that when crawling the ne...
Do a 301 redirect from the old URL to the new URL. Google will then replace the old URLs with the new in their index. It won't happen quickly, but it will happen.
51,014
<p>I have the following <code>get</code> form on my website for language switching.</p> <pre><code>&lt;form method="get" action="?"&gt; &lt;label for="language"&gt;Language: &lt;/label&gt; &lt;select id="language" name="lang"&gt; &lt;option disabled="disabled" value="es"&gt;Espanol&lt;/option&gt; ...
[ { "answer_id": 51015, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>Whatever you marked options <code>disabled</code>, Googlebot follows links and finds links to 404 HTTP stat...
2013/07/23
[ "https://webmasters.stackexchange.com/questions/51014", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4229/" ]
I have the following `get` form on my website for language switching. ``` <form method="get" action="?"> <label for="language">Language: </label> <select id="language" name="lang"> <option disabled="disabled" value="es">Espanol</option> <option disabled="disabled" value="da">Dansk</option> ...
If the option is disabled, then it shouldn't matter what the value is, since real users can't actually choose it. Just remove the value from those options while they are disabled to prevent Googlebot from crawling: ``` <option disabled="disabled" value="">Francais</option> ```
51,067
<p>I spent hours in finding how to make my url pretty but no luck. I am hosted in DreamHost and using php under fcgi. I'm triying to make my:<br> <a href="http://www.wallpapers-football.net/wallpapers.php?id=705&amp;cat=National%20Team%20Wallpapers" rel="nofollow">http://www.wallpapers-football.net/wallpapers.php?id=7...
[ { "answer_id": 51068, "author": "Reinstate Monica -- notmaynard", "author_id": 38756, "author_profile": "https://webmasters.stackexchange.com/users/38756", "pm_score": 0, "selected": false, "text": "<p>Depending on your version (are you using Apache?) you may need to include the leading ...
2013/07/23
[ "https://webmasters.stackexchange.com/questions/51067", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I spent hours in finding how to make my url pretty but no luck. I am hosted in DreamHost and using php under fcgi. I'm triying to make my: <http://www.wallpapers-football.net/wallpapers.php?id=705&cat=National%20Team%20Wallpapers> URL into pretty one : <http://www.wallpapers-football.net/705/National%20Team%2...
Try something like (untested): `RewriteRule ^/([0-9]+)/(.*)\.html$ /wallpapers.php?id=$1&cat=$2 [L]` The first match should match any #'d category (and it would have to be a number), while the second grouping will match the remaining string.
51,076
<p>How do I remove the duplicate meta tags and descriptions found in the HTML Improvements tab on GWT?</p> <p>The issues reported are because some people were linking to us with spaces or dashes in the URLs instead of "+" or also without the trailing slash.</p> <p>I have fixed these issues by permanently redirecting ...
[ { "answer_id": 51079, "author": "user29671", "author_id": 29671, "author_profile": "https://webmasters.stackexchange.com/users/29671", "pm_score": 3, "selected": true, "text": "<p>If they have been fixed then it is just a matter of time before Google recrawls the urls, sees the changes a...
2013/07/24
[ "https://webmasters.stackexchange.com/questions/51076", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3022/" ]
How do I remove the duplicate meta tags and descriptions found in the HTML Improvements tab on GWT? The issues reported are because some people were linking to us with spaces or dashes in the URLs instead of "+" or also without the trailing slash. I have fixed these issues by permanently redirecting the errant URLs w...
If they have been fixed then it is just a matter of time before Google recrawls the urls, sees the changes and then updates webmaster tools information. Though, I would give it at least a couple a weeks to update as the HTML improvements section is not live data.
51,096
<p>I've recently added a mobile version of a web-app. Most web-page URL's like <code>mydomain.com/folder/page</code> now have another version <code>mydomain.com/mobile/folder/page</code></p> <p>In the web-page I've added:</p> <pre><code> &lt;link rel="alternate" media="only screen and (max-width: 640px)" href="/mobi...
[ { "answer_id": 51097, "author": "user29671", "author_id": 29671, "author_profile": "https://webmasters.stackexchange.com/users/29671", "pm_score": 2, "selected": false, "text": "<p>Adding a mobile sitemap won't hurt anything, though as you have canonical tags pointing to the desktop vers...
2013/07/24
[ "https://webmasters.stackexchange.com/questions/51096", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9356/" ]
I've recently added a mobile version of a web-app. Most web-page URL's like `mydomain.com/folder/page` now have another version `mydomain.com/mobile/folder/page` In the web-page I've added: ``` <link rel="alternate" media="only screen and (max-width: 640px)" href="/mobile/folder/page" /> ``` And in the mobile ver...
Adding a mobile sitemap won't hurt anything, though as you have canonical tags pointing to the desktop version of the pages then you won't see proper index stats in Webmaster Tools. Also, the `site:search` might be showing no pages because they have already been consolidated into the desktop versions. Your log files wo...
51,099
<p>In failing to check my robots.txt on a community site, it had:</p> <pre><code>User-agent: * Disallow: / </code></pre> <p>I only clued into this because of a message in my AdSense account saying that five URL's couldn't be crawled. Only five, out of about 600 that are currently indexed.</p> <p>Even though I mista...
[ { "answer_id": 51100, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 1, "selected": false, "text": "<p>You just indicated to search engines to not crawl your webpages, not to desindex them. That's why, URLs are...
2013/07/24
[ "https://webmasters.stackexchange.com/questions/51099", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/16214/" ]
In failing to check my robots.txt on a community site, it had: ``` User-agent: * Disallow: / ``` I only clued into this because of a message in my AdSense account saying that five URL's couldn't be crawled. Only five, out of about 600 that are currently indexed. Even though I mistakenly had `Disallow: /`, why were ...
Robots.txt just tells search engines not to crawl your pages. It does *not* tell them to not index your pages. So if your pages have links from other websites the search engines will know they exist. And because off-page factors affect rank, sometimes greatly, your pages can rank well for long-tail search terms without...
51,106
<p>I have a page which displays summary versions of content from other pages on the site. The page is essentially a category directory, it's links to other pages followed by a summary of that page.</p> <p>I've seen the <code>&lt;link rel="canonical" ...</code> tag, but I think this applies only to a whole page and not...
[ { "answer_id": 51107, "author": "Milad Safaei", "author_id": 29884, "author_profile": "https://webmasters.stackexchange.com/users/29884", "pm_score": 1, "selected": false, "text": "<p>I think you should know the meaning and usage of rel canonical tool better.\n<code>rel=\"canonical\"</co...
2013/07/24
[ "https://webmasters.stackexchange.com/questions/51106", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29886/" ]
I have a page which displays summary versions of content from other pages on the site. The page is essentially a category directory, it's links to other pages followed by a summary of that page. I've seen the `<link rel="canonical" ...` tag, but I think this applies only to a whole page and not only to part of it. Wh...
You cannot use rel canonical on a `<div>`. [Google only recognizes the rel canonical meta tag in the `<head>` of a document](http://www.mattcutts.com/blog/rel-canonical-html-head/). They have this policy to minimize the risk that websites have rel canonical tags added in the middle of the body due to cross site scripti...
51,112
<p>I have a domain name, that points to the address of my VPS. And when I visit the website the URL changes to the IP address of the VPS I own. I would like it to keep the URL as the domain name. How do I configure this?</p>
[ { "answer_id": 51114, "author": "user29671", "author_id": 29671, "author_profile": "https://webmasters.stackexchange.com/users/29671", "pm_score": 0, "selected": false, "text": "<p>Your site is performing a meta refresh to the content at the IP address. If you don't have hosting at the s...
2013/07/24
[ "https://webmasters.stackexchange.com/questions/51112", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29888/" ]
I have a domain name, that points to the address of my VPS. And when I visit the website the URL changes to the IP address of the VPS I own. I would like it to keep the URL as the domain name. How do I configure this?
``` <HTML> <HEAD><META HTTP-EQUIV=Refresh CONTENT="0; url=http://192.184.88.89/"> </HEAD> </HTML> ``` You need to remove this. Looks like you have done URL forwarding via domain panel.
51,113
<p>Our server is configured with multiple domains which reside in subfolders of the <code>public_html</code> folder. So <code>domain1.com</code> is located in <code>/home/user/public_html/domain1.com</code> and <code>domain2.com</code> is located in <code>/home/user/public_html/domain2.com</code> and so on.</p> <p>I'...
[ { "answer_id": 51142, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Apache only looks for <code>.htaccess</code> files within the document root. It sounds like you ...
2013/07/24
[ "https://webmasters.stackexchange.com/questions/51113", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20043/" ]
Our server is configured with multiple domains which reside in subfolders of the `public_html` folder. So `domain1.com` is located in `/home/user/public_html/domain1.com` and `domain2.com` is located in `/home/user/public_html/domain2.com` and so on. I've placed a *.htaccess* file in `/home/user/public_html` so I can ...
You're not matching the .svn folder correctly: ``` RewriteEngine on RewriteRule ^(.*/)*\.svn/ /non-existant ``` I would actually redirect as a 403 Forbidden: ``` RewriteRule ^(.*/)*\.svn/ /non-existant [F,L] ```
51,132
<p>I have a website with httpd (front end) and Apache tomcat (back end).</p> <p>I'm trying to install Google Sitemap Generator and create sitemap for the website.</p> <p>I followed the following link for installation:</p> <p><a href="http://googlesitemapgenerator.googlecode.com/svn/trunk/doc/gsg-installation.html" r...
[ { "answer_id": 51123, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p>Yes. Duplicate content is duplicate content. You're not adding any value to Google's index by republishing co...
2013/07/25
[ "https://webmasters.stackexchange.com/questions/51132", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29899/" ]
I have a website with httpd (front end) and Apache tomcat (back end). I'm trying to install Google Sitemap Generator and create sitemap for the website. I followed the following link for installation: <http://googlesitemapgenerator.googlecode.com/svn/trunk/doc/gsg-installation.html> But I'm not able to load `http:/...
Yes. Duplicate content is duplicate content. You're not adding any value to Google's index by republishing content already found elsewhere. That's low quality content in Google's eyes and exactly what they don't want. If you're going to do this you would be best served blocking these pages from being crawled and indexe...
51,209
<p><strong>In short</strong>: Should I resubmit my sitemap through Google Webmasters Tools every time I replace a <em>sitemap.xml</em> with an existing <em>sitemap.xml</em> (i.e., <code>www.domain.com/sitemap.xml</code>)? Or does it check it automatically?</p> <p><strong>Detail explanation:</strong> Once a week, I a...
[ { "answer_id": 51210, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": false, "text": "<p>Google periodically checks your submitted sitemap.xml file for updates. You only need to submit ...
2013/07/26
[ "https://webmasters.stackexchange.com/questions/51209", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28883/" ]
**In short**: Should I resubmit my sitemap through Google Webmasters Tools every time I replace a *sitemap.xml* with an existing *sitemap.xml* (i.e., `www.domain.com/sitemap.xml`)? Or does it check it automatically? **Detail explanation:** Once a week, I add new articles to my website, and each time after uploading ...
Search engines will crawl your site more frequently if your content changes more often. If you're just adding new URL's, then there's no need to regenerate your sitemap.xml each time. However, you should update the last modification date in your sitemap by modifying the [lastmod](http://www.sitemaps.org/protocol.html...
51,221
<p>After searching my site on Google I have found that the URL that is shown doesn't contain <code>www</code> at the beginning, why? </p> <p>This is my virtualhost:</p> <pre><code>&lt;VirtualHost *:80&gt; ServerName estebancortijo.com Redirect / http://www.estebancortijo.com/ &lt;/VirtualHost&gt; &lt;VirtualHos...
[ { "answer_id": 51222, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>If you want to explicitly tell Google to show your domain with the <code>www</code> you can <a href=\"https:...
2013/07/27
[ "https://webmasters.stackexchange.com/questions/51221", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26684/" ]
After searching my site on Google I have found that the URL that is shown doesn't contain `www` at the beginning, why? This is my virtualhost: ``` <VirtualHost *:80> ServerName estebancortijo.com Redirect / http://www.estebancortijo.com/ </VirtualHost> <VirtualHost *:80> ServerName www.estebancortijo.com ...
If you want to explicitly tell Google to show your domain with the `www` you can [set your preferred domain in your Google Webmaster Account](https://support.google.com/webmasters/answer/44231?hl=en). > > The preferred domain is the one that you would liked used to index > your site's pages (sometimes this is referr...
51,223
<p>In a MediaWiki instance of mine, I found myself using many English terms' Chinese translation repeatedly. </p> <p>Is there a way to centralize a glossary of such English terms and their Chinese translation such that, in an arbitrary MediaWiki article, primarily written in Chinese, one could display a term's Chines...
[ { "answer_id": 51526, "author": "Asahiko", "author_id": 7047, "author_profile": "https://webmasters.stackexchange.com/users/7047", "pm_score": 2, "selected": true, "text": "<p>How about making templates like <code>Template:English word</code> with its contents looking like this?</p>\n\n<...
2013/07/27
[ "https://webmasters.stackexchange.com/questions/51223", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30156/" ]
In a MediaWiki instance of mine, I found myself using many English terms' Chinese translation repeatedly. Is there a way to centralize a glossary of such English terms and their Chinese translation such that, in an arbitrary MediaWiki article, primarily written in Chinese, one could display a term's Chinese translati...
How about making templates like `Template:English word` with its contents looking like this? ``` 中文<noinclude>[[Category:Glossary]]</noinclude> ``` In your wiki pages, write, for example, ``` 当前的{{English word}}维基 ``` which should result in > > 当前的中文维基 > > > The noinclude portion in the template code is op...
51,253
<p>Google PageSpeed says this:</p> <blockquote> <p>Avoid landing page redirects</p> <p>To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required redirections cacheable if possible.</p> <p><code>http://xyz.com/</code> is a cacheabl...
[ { "answer_id": 51260, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 2, "selected": false, "text": "<p>Using server-side scripting (i.e., PHP) is not the fastest way to do redirects with because first the request is ...
2013/07/28
[ "https://webmasters.stackexchange.com/questions/51253", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29983/" ]
Google PageSpeed says this: > > Avoid landing page redirects > > > To speed up page load times for visitors of your site, remove as many > landing page redirections as possible, and make any required > redirections cacheable if possible. > > > `http://xyz.com/` is a cacheable (30 days) redirect to `http://www.x...
Using server-side scripting (i.e., PHP) is not the fastest way to do redirects with because first the request is received by the web server, then the PHP code is interpreted, and then the results are sent back to the client. Instead, you can do the redirect in your web server configuration, bypassing the need to run P...
51,338
<p>This is <strong>not</strong> about redirecting <code>/index.php?id=6252</code> to <code>/category-name</code>.</p> <p>It's about redirecting:</p> <pre><code>/category-name?ref=blabla&amp;something=useless-stuff /category-name? /category-name???????? </code></pre> <p>to:</p> <pre><code>/category-name </code></pre...
[ { "answer_id": 51353, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 1, "selected": false, "text": "<p>If a URL points to a non existing page, the correct thing to do is send a <a href=\"https://en.wikipedia.org/wiki...
2013/07/30
[ "https://webmasters.stackexchange.com/questions/51338", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30000/" ]
This is **not** about redirecting `/index.php?id=6252` to `/category-name`. It's about redirecting: ``` /category-name?ref=blabla&something=useless-stuff /category-name? /category-name???????? ``` to: ``` /category-name ``` in a small website that does not use GET methods at all. I have never seen this techniqu...
Google recommends that you [trim unnecessary query parameters](https://support.google.com/webmasters/answer/76329) from your URLs whenever possible. Overuse of query parameters can cause some of your content to not be indexed, or for you to suffer the duplicate content penalty. On a related note, if you haven't done s...
51,478
<p>Does <a href="http://googlewebmastercentral.blogspot.co.uk/2011/12/introducing-smartphone-googlebot-mobile.html" rel="noreferrer">Googlebot-Mobile</a> have a viewport resolution it sends across? If so, what is it?</p> <p>It's a general question with broad relevance, but I am asking with reference to responsive desi...
[ { "answer_id": 51479, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": false, "text": "<p>Google's bots do not view a page in any resolution due to the fact they do not render the page as you wo...
2013/08/02
[ "https://webmasters.stackexchange.com/questions/51478", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19629/" ]
Does [Googlebot-Mobile](http://googlewebmastercentral.blogspot.co.uk/2011/12/introducing-smartphone-googlebot-mobile.html) have a viewport resolution it sends across? If so, what is it? It's a general question with broad relevance, but I am asking with reference to responsive design: particularly when serving differen...
The *current* GoogleBot Smartphone agent, as tested with the 'Fetch as Google' Tool is essentially a fake iPhone using a [headless](http://en.wikipedia.org/wiki/Headless_computer) Webkit Engine, running on a Linux x86\_64 desktop machine. The default *non-responsive* viewport width is that of an iPhone at 980px. With...
51,484
<p>What is the general practice for a situation where you have a parent company that engages in different services and needs websites for each of their services.</p> <p>Which of the two options below is normally followed/advised ?</p> <p>Option 1:</p> <pre><code>www.maincompany.com www.service1.com www.service2.com ...
[ { "answer_id": 51488, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 4, "selected": true, "text": "<p>Of the two options above, I would use subdomains; e.g. <code>service1.maincompany.com</code> to attempt to keep ...
2013/08/02
[ "https://webmasters.stackexchange.com/questions/51484", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/17835/" ]
What is the general practice for a situation where you have a parent company that engages in different services and needs websites for each of their services. Which of the two options below is normally followed/advised ? Option 1: ``` www.maincompany.com www.service1.com www.service2.com www.service3.com ``` Optio...
Of the two options above, I would use subdomains; e.g. `service1.maincompany.com` to attempt to keep the SEO benefits concentrated in one place. However, [unless there is a compelling reason to use subdomains you probably shouldn't](https://webmasters.stackexchange.com/questions/44624/how-does-google-regard-subdomains-...
51,570
<p>On my site is a page that hosts all my ad entries. Each URL and its content is different. Google was indexing all the different URLs until entry 4570. As I can see in GWT Google Index they also stopped crawling the new entries (70,000) at this moment.</p> <p>I would like to understand why Google stopped. I added a ...
[ { "answer_id": 51572, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 2, "selected": false, "text": "<p>Without seeing your site, it sounds like you are getting hit with a low-quality content penalty and that's why ...
2013/08/05
[ "https://webmasters.stackexchange.com/questions/51570", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30221/" ]
On my site is a page that hosts all my ad entries. Each URL and its content is different. Google was indexing all the different URLs until entry 4570. As I can see in GWT Google Index they also stopped crawling the new entries (70,000) at this moment. I would like to understand why Google stopped. I added a sitemap at...
Without seeing your site, it sounds like you are getting hit with a low-quality content penalty and that's why Google is no longer indexing you. Adding URLs with Fetch will work in the short run but if the penalty is the cause then I would expect you to see those URLs being dropped out over over time. Other problems m...
51,573
<p>I can't seem to find any documentation that officially comments on this tag. Maybe a few forum posts here or there, but nothing on Webmaster Guidelines and even here on Pro Webmasters, I'm not seeing anything relating to it.</p> <p>I encountered this as I was sifting through links to un-do some rather horrible SEO ...
[ { "answer_id": 51574, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p>It basically tells the user agent that link should be nofollow'd and also points to an external website. Sear...
2013/08/05
[ "https://webmasters.stackexchange.com/questions/51573", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29853/" ]
I can't seem to find any documentation that officially comments on this tag. Maybe a few forum posts here or there, but nothing on Webmaster Guidelines and even here on Pro Webmasters, I'm not seeing anything relating to it. I encountered this as I was sifting through links to un-do some rather horrible SEO choices by...
It basically tells the user agent that link should be nofollow'd and also points to an external website. Search engines will know not to pass link juice to the linked-to URL because of the `nofollow` value. The `external` value can be used for a variety of things. Often times it is used with JavaScript to automatically...
51,589
<p>In the WordPress SEO plugin by Yoast, there is an option that could noindex the subpages of archives. From example, it would noindex the following:</p> <pre class="lang-none prettyprint-override"><code>http://example.com/page/2/ http://example.com/page/3/ http://example.com/page/4/ </code></pre> <p>… and so on. Is...
[ { "answer_id": 51593, "author": "JCL1178", "author_id": 5757, "author_profile": "https://webmasters.stackexchange.com/users/5757", "pm_score": 3, "selected": false, "text": "<p>Yoast <a href=\"http://yoast.com/articles/wordpress-seo/#noindexfollow\" rel=\"noreferrer\">discusses</a> <a hr...
2013/08/06
[ "https://webmasters.stackexchange.com/questions/51589", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29268/" ]
In the WordPress SEO plugin by Yoast, there is an option that could noindex the subpages of archives. From example, it would noindex the following: ```none http://example.com/page/2/ http://example.com/page/3/ http://example.com/page/4/ ``` … and so on. Is there a good and legitimate reason to do this, in terms of S...
Yoast [discusses](http://yoast.com/articles/wordpress-seo/#noindexfollow) [why this setting](http://yoast.com/wordpress-archive-pages/) exists on his site. If your archive pages have any kind of static content or introduction, you run the risk of that content getting indexed on the second and subsequent pages of your a...
51,651
<p>I'm kinda new to this so bear with me. I just finished setting up SSL on my website. The problem is that if the user types <code>www.mydomain.com</code> into their browser, it doesn't connect securely with HTTPS.</p> <p>However, if I type <code>https://www.mydomain.com</code> then it works just fine, and continues ...
[ { "answer_id": 51653, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p>Assuming you are using Apache, you can place the following snippet in the .htaccess file in your root directo...
2013/08/07
[ "https://webmasters.stackexchange.com/questions/51651", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30265/" ]
I'm kinda new to this so bear with me. I just finished setting up SSL on my website. The problem is that if the user types `www.mydomain.com` into their browser, it doesn't connect securely with HTTPS. However, if I type `https://www.mydomain.com` then it works just fine, and continues to work on subsequent pages, so ...
Assuming you are using Apache, you can place the following snippet in the .htaccess file in your root directory: ``` RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://example.com/$1 [R=301,L] ```
51,724
<p>I would like to know if I can get a report from google analytics that can show me how Internet Explorer 8.0 (for example) usage as a percentage of total visits is trending over time. Even just the two columns of data would be fine.</p> <p>ie.</p> <pre><code> Visits from IE 8.0 | Total Visits ---------...
[ { "answer_id": 51715, "author": "adam-asdf", "author_id": 16906, "author_profile": "https://webmasters.stackexchange.com/users/16906", "pm_score": 1, "selected": false, "text": "<p>I have a client and friend who owns a franchise; until recently they were on a subdomain set up.</p>\n\n<p>...
2013/08/09
[ "https://webmasters.stackexchange.com/questions/51724", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30306/" ]
I would like to know if I can get a report from google analytics that can show me how Internet Explorer 8.0 (for example) usage as a percentage of total visits is trending over time. Even just the two columns of data would be fine. ie. ``` Visits from IE 8.0 | Total Visits ------------------------------...
Page Rank is calculated on the value of incoming links to the URL; amount of traffic and content **does not** factor into this calculation. So there must be more 'quality' websites that are linking to your sub domain than your main domain. If you have Google webmaster tools set up on the main domain and on the sub dom...
51,788
<p>The display name of the page in Mediawiki can be changed using the magic word:</p> <pre><code>{{DISPLAYTITLE:name_with_underscore}} </code></pre> <p>But the list of pages on the category page displays the original name (without the underscore in my example).</p> <p>Is there a way to display a custom name in this ...
[ { "answer_id": 56117, "author": "Tobias", "author_id": 32550, "author_profile": "https://webmasters.stackexchange.com/users/32550", "pm_score": 0, "selected": false, "text": "<p>IIR, you can add the index entry as an additional parameter in the category link; e.g., consider a page \"<cod...
2013/08/12
[ "https://webmasters.stackexchange.com/questions/51788", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6786/" ]
The display name of the page in Mediawiki can be changed using the magic word: ``` {{DISPLAYTITLE:name_with_underscore}} ``` But the list of pages on the category page displays the original name (without the underscore in my example). Is there a way to display a custom name in this list?
The other answers are incorrect. What you request is not yet possible, though it's a long-standing feature request that will probably be solved eventually. * [Provide a way to alter page titles in category listings, e.g. via display title](https://phabricator.wikimedia.org/T31975) * [Request to show {{DISPLAYTITLE}} a...
51,790
<p>If my company is called <code>foo.com</code> and I am on the homepage/index page of the site, what should the <code>&lt;h1&gt;</code> and <code>&lt;h2&gt;</code> tabs be?</p> <pre><code>&lt;h1&gt;foo&lt;/h1&gt; &lt;h2&gt;home&lt;/h2&gt; </code></pre> <p>If I am on the settings page for example, should I use the fo...
[ { "answer_id": 51791, "author": "organicit", "author_id": 11307, "author_profile": "https://webmasters.stackexchange.com/users/11307", "pm_score": 0, "selected": false, "text": "<p>I have to believe there has to be a more detailed thread regarding this StackExchange. Please dig a little...
2013/08/12
[ "https://webmasters.stackexchange.com/questions/51790", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5126/" ]
If my company is called `foo.com` and I am on the homepage/index page of the site, what should the `<h1>` and `<h2>` tabs be? ``` <h1>foo</h1> <h2>home</h2> ``` If I am on the settings page for example, should I use the following? ``` <h1>foo</h1> <h2>settings</h2> ``` Or should I be using the `<h1>` and `<h2>` t...
Google and other search engines usually read things like recommendations from the W3C and RFCs. According to a W3C recommendation for [The global structure of an HTML document](http://www.w3.org/TR/html401/struct/global.html#h-7.5.5): > > A heading [h1,etc] element briefly describes the topic of the section it > int...
51,800
<p>I had a website which contains several subdomains.</p> <pre class="lang-none prettyprint-override"><code>http://sub1.example.com/stories/23/job-done.html http://sub2.example.com/stories/23/job-done.html </code></pre> <p>At present I decided to restructure my website to change all subdomains and links to a differ...
[ { "answer_id": 51801, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": true, "text": "<p>Your third option will be the option to consider here. A proper 301 redirect to the new content will let the crawl...
2013/08/12
[ "https://webmasters.stackexchange.com/questions/51800", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30396/" ]
I had a website which contains several subdomains. ```none http://sub1.example.com/stories/23/job-done.html http://sub2.example.com/stories/23/job-done.html ``` At present I decided to restructure my website to change all subdomains and links to a different structure like, ```none http://stories.example.com/23/job-...
Your third option will be the option to consider here. A proper 301 redirect to the new content will let the crawlers know, that the content has moved. They will keep the page rank and move it to the new domain. As far as your Webmaster Tools are concerned, you will have to use the [Change of Address](https://support....
51,837
<p>The website I'm creating (test6.lazyfoxdesign.co.uk) is responsive and makes heavy use of images for the background. I use high resolution images and scale them down using CSS for smaller resolutions. In all web browsers, except desktop Safari images are nice and sharp.</p> <p>I attached screenshot of the issue. Go...
[ { "answer_id": 51838, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 1, "selected": false, "text": "<p>Any differences are going to be due to the scaling algorithms used by the browsers - which you can't really do ...
2013/08/13
[ "https://webmasters.stackexchange.com/questions/51837", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30406/" ]
The website I'm creating (test6.lazyfoxdesign.co.uk) is responsive and makes heavy use of images for the background. I use high resolution images and scale them down using CSS for smaller resolutions. In all web browsers, except desktop Safari images are nice and sharp. I attached screenshot of the issue. Google Chrom...
I had the same issue and it is still not 100% perfect but with this approach I was able to increase the quality. I have to mention that we scaled the images with CSS (transform:scale(value)): Maybe this helps: ``` filter: none; -webkit-filter: blur(0px); -moz-filter: blur(0px); -ms-filter: blur(0px); filter:prog...
51,887
<p>I run a small web crawler and had to decide on what user agent to use for it. <a href="http://www.useragentstring.com/pages/Crawlerlist/">Lists of crawler agents</a> as well as <a href="http://en.wikipedia.org/wiki/User_agent#Format_for_Automated_Agents_.28Bots.29">Wikipedia</a> suggest the following format:</p> <...
[ { "answer_id": 51891, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": false, "text": "<p>I downloaded all the user agents from <a href=\"http://www.user-agents.org/\" rel=\"noreferrer\">...
2013/08/15
[ "https://webmasters.stackexchange.com/questions/51887", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30455/" ]
I run a small web crawler and had to decide on what user agent to use for it. [Lists of crawler agents](http://www.useragentstring.com/pages/Crawlerlist/) as well as [Wikipedia](http://en.wikipedia.org/wiki/User_agent#Format_for_Automated_Agents_.28Bots.29) suggest the following format: ``` examplebot/1.2 (+http://ww...
I downloaded all the user agents from <http://www.user-agents.org/> and ran a script to count the number of them that used the `+` style links vs plain links. I excluded the "non-standard" user agent strings that don't match RFC 2616. Here are the results: ``` Total: 2471 Standard: 2064 Non-standard: 407 No link: 13...
51,889
<p>My site is merging with my friends one so the domain and the site title will change, currently my page title's are structured</p> <pre><code>&lt;title&gt;Contact Us | Example Industries&lt;/title&gt; </code></pre> <p>But when we change the name of the company I was thinking of changing it to</p> <pre><code>&lt;ti...
[ { "answer_id": 51891, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": false, "text": "<p>I downloaded all the user agents from <a href=\"http://www.user-agents.org/\" rel=\"noreferrer\">...
2013/08/15
[ "https://webmasters.stackexchange.com/questions/51889", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30094/" ]
My site is merging with my friends one so the domain and the site title will change, currently my page title's are structured ``` <title>Contact Us | Example Industries</title> ``` But when we change the name of the company I was thinking of changing it to ``` <title>Contact Us | Cool New Site Name</title> ``` I ...
I downloaded all the user agents from <http://www.user-agents.org/> and ran a script to count the number of them that used the `+` style links vs plain links. I excluded the "non-standard" user agent strings that don't match RFC 2616. Here are the results: ``` Total: 2471 Standard: 2064 Non-standard: 407 No link: 13...
51,897
<p>I want to hide my site as the referrer to another site, ie. i dont want my site showing up under the referrals tab in Google analytics, is there a simple way to do this ? ie. an html element somthing like <code>rel="noref"</code> ?</p> <p>Obviously if the user had a the Google Analytics block plugin installed it wo...
[ { "answer_id": 51898, "author": "Jaryd Buggins", "author_id": 15359, "author_profile": "https://webmasters.stackexchange.com/users/15359", "pm_score": 3, "selected": true, "text": "<p>I believe I have a solution that will work. As this is a Google Analytics specific problem you can use <...
2013/08/15
[ "https://webmasters.stackexchange.com/questions/51897", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14905/" ]
I want to hide my site as the referrer to another site, ie. i dont want my site showing up under the referrals tab in Google analytics, is there a simple way to do this ? ie. an html element somthing like `rel="noref"` ? Obviously if the user had a the Google Analytics block plugin installed it would be fine, but i ca...
I believe I have a solution that will work. As this is a Google Analytics specific problem you can use [UTM tagging](https://support.google.com/analytics/answer/1033867?hl=en-GB) to adjust the source so that it will not show up as referral, but as direct traffic instead. Simply append the linking URLs with: ``` ?utm_...
51,899
<p>Looking at my webmaster tools, Google kindly recommended that I could further increase the performance of some of my sites and to look at the recommendations provided by their <a href="https://developers.google.com/speed/pagespeed/service" rel="nofollow noreferrer">PageSpeed service</a>.</p> <p>So I did.</p> <p>Th...
[ { "answer_id": 51898, "author": "Jaryd Buggins", "author_id": 15359, "author_profile": "https://webmasters.stackexchange.com/users/15359", "pm_score": 3, "selected": true, "text": "<p>I believe I have a solution that will work. As this is a Google Analytics specific problem you can use <...
2013/08/15
[ "https://webmasters.stackexchange.com/questions/51899", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/16214/" ]
Looking at my webmaster tools, Google kindly recommended that I could further increase the performance of some of my sites and to look at the recommendations provided by their [PageSpeed service](https://developers.google.com/speed/pagespeed/service). So I did. Their optimization suggestions showed a negative improve...
I believe I have a solution that will work. As this is a Google Analytics specific problem you can use [UTM tagging](https://support.google.com/analytics/answer/1033867?hl=en-GB) to adjust the source so that it will not show up as referral, but as direct traffic instead. Simply append the linking URLs with: ``` ?utm_...
51,904
<p>I use the following code on my site to remove php extension from links:</p> <pre><code>RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^\.]+)$ $1.php [NC,L] </code></pre> <p>It was working fine, but my ...
[ { "answer_id": 51950, "author": "Spacedust", "author_id": 30500, "author_profile": "https://webmasters.stackexchange.com/users/30500", "pm_score": 0, "selected": false, "text": "<p>Solution:</p>\n\n<pre><code>Options +FollowSymLinks -MultiViews\n# Turn mod_rewrite on\nRewriteEngine On\nR...
2013/08/15
[ "https://webmasters.stackexchange.com/questions/51904", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30500/" ]
I use the following code on my site to remove php extension from links: ``` RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^\.]+)$ $1.php [NC,L] ``` It was working fine, but my host GoDaddy upgraded thei...
You may want to also shut off fastCGI with these in the .htaccess file ``` AddHandler x-httpd-php5-cgi .php AddHandler x-httpd-php5-cgi .php5 ```
51,934
<p>In a few pages in a website, similar products are displayed in the same page. Each item has its own description (almost identical) and its own SKU (also almost identical).</p> <p>How can I use Microdata correctly here?</p> <p>I have tried, for testing purposes, to add the code for image, description and SKU for al...
[ { "answer_id": 51985, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 4, "selected": true, "text": "<p>Yes, it's OK to have <a href=\"http://schema.org/Product\" rel=\"nofollow noreferrer\">Schema Product Properties</...
2013/08/16
[ "https://webmasters.stackexchange.com/questions/51934", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/18576/" ]
In a few pages in a website, similar products are displayed in the same page. Each item has its own description (almost identical) and its own SKU (also almost identical). How can I use Microdata correctly here? I have tried, for testing purposes, to add the code for image, description and SKU for all 3 items in one ...
Yes, it's OK to have [Schema Product Properties](http://schema.org/Product) for multiple products on a page, as demonstrated here: [Schema.org Markup of a SERP / Product Listing](http://scottgale.com/schema-org-markup-serp/2013/03/17/) (And in the top example of [this](https://webmasters.stackexchange.com/questions/...
51,947
<p>Once again I'm at it with increasing people's local rankings and I've learnt so much about local rankings in the past 2 weeks it feels like my brain is gonna pop anyway, question is fairly simple for someone who engages in local rankings and I appreciate the question may be a little guess work but isn't SEO mostly g...
[ { "answer_id": 52074, "author": "Daniël W. Crompton", "author_id": 29072, "author_profile": "https://webmasters.stackexchange.com/users/29072", "pm_score": 2, "selected": false, "text": "<p>Althought Google and other search engines index <code>META</code> tags and they more heavily index...
2013/08/16
[ "https://webmasters.stackexchange.com/questions/51947", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20604/" ]
Once again I'm at it with increasing people's local rankings and I've learnt so much about local rankings in the past 2 weeks it feels like my brain is gonna pop anyway, question is fairly simple for someone who engages in local rankings and I appreciate the question may be a little guess work but isn't SEO mostly gues...
Althought Google and other search engines index `META` tags and they more heavily index [microdata](https://support.google.com/webmasters/answer/176035?hl=en)/micro formats and [richdata](https://support.google.com/webmasters/answer/99170?hl=en). So, although it's not bad to have your phone number in your `META` tags, ...
51,961
<p>In my website I have embedded my logo like this:</p> <pre><code>&lt;a href="/"&gt; &lt;img src="/media/56920/ks_small.jpg" alt="MysiteName_Logo"&gt; &lt;/a&gt; </code></pre> <p>My problem is that Google is not indexing this image - when I search for my website name in Google Images my logo doesn't show as...
[ { "answer_id": 51963, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": true, "text": "<p>Below is some reasons why you may not find your images found in Google images index</p>\n\n<p><em><strong...
2013/08/17
[ "https://webmasters.stackexchange.com/questions/51961", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14590/" ]
In my website I have embedded my logo like this: ``` <a href="/"> <img src="/media/56920/ks_small.jpg" alt="MysiteName_Logo"> </a> ``` My problem is that Google is not indexing this image - when I search for my website name in Google Images my logo doesn't show as a result. What can I do to overcome this?
Below is some reasons why you may not find your images found in Google images index ***Robots*** Check your robots.txt and ensure you do not have `Disallow: /*.jpg$` as this would definitely stop your images appearing in Google image search. ***Duplicate Image*** Ensure that your image is unique, duplicate images a...
51,967
<p>I made a simple new website which went live about a month and a half ago (replacing the last one). The site contains new pages, like for example the navigation markup:</p> <pre><code>&lt;div class="header"&gt; &lt;div class="navigation menu"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="index.php"&gt...
[ { "answer_id": 51970, "author": "Rob", "author_id": 8466, "author_profile": "https://webmasters.stackexchange.com/users/8466", "pm_score": 0, "selected": false, "text": "<p>Maybe not the best or correct way to do this but I had the same issue. What I finally did was redirect to the homep...
2013/08/17
[ "https://webmasters.stackexchange.com/questions/51967", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26902/" ]
I made a simple new website which went live about a month and a half ago (replacing the last one). The site contains new pages, like for example the navigation markup: ``` <div class="header"> <div class="navigation menu"> <ul> <li><a href="index.php">Home page</a></li> <li><a href=...
This is going to happen for a looong time. Other sites might be linking to the old URLs, which will prompt Google to crawl them and/or your site might just be having problems (in Googles eyes) and is giving you the benefit of the doubt that the pages might return. Either way, Google continues to crawl old pages for a l...
51,987
<p>Let's say that there is already a niche website on the internet called:</p> <pre><code>http://fruitblenders.info </code></pre> <p>Then if I want to register...</p> <pre><code>http://fruitblenders.co </code></pre> <p>...but have my own/original content on it, will it affect my ranking?</p>
[ { "answer_id": 51988, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p><strong>Local Rankings</strong>\nIt may affect your rankings if its a local business name as this would ...
2013/08/17
[ "https://webmasters.stackexchange.com/questions/51987", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29268/" ]
Let's say that there is already a niche website on the internet called: ``` http://fruitblenders.info ``` Then if I want to register... ``` http://fruitblenders.co ``` ...but have my own/original content on it, will it affect my ranking?
**Local Rankings** It may affect your rankings if its a local business name as this would effect the unstructured data (Just company name mentions, locally, or at least confuse Google a little.) **Web Rankings** If your website is aimed for everyone across the globe then definitely not, Google will treat your site as...
52,027
<p>I am trying to load a local html file within an iframe but nothing happens. I hear this is a security feature of my OS (windows 8). I am designing a website that is not domain registered yet and need to load this local html file within my iframe as it contains my menu bar which i do not want to copy and past to all ...
[ { "answer_id": 52029, "author": "gronostaj", "author_id": 23282, "author_profile": "https://webmasters.stackexchange.com/users/23282", "pm_score": 2, "selected": false, "text": "<p>It's a security feature of Chrome.</p>\n\n<p>Preferred solution: use relative paths, just as you do with <c...
2013/08/19
[ "https://webmasters.stackexchange.com/questions/52027", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30547/" ]
I am trying to load a local html file within an iframe but nothing happens. I hear this is a security feature of my OS (windows 8). I am designing a website that is not domain registered yet and need to load this local html file within my iframe as it contains my menu bar which i do not want to copy and past to all 8 (...
It's a security feature of Chrome. Preferred solution: use relative paths, just as you do with `<a>` tags. Temporary pseudo-solution: run Chrome with `--allow-file-access-from-files` switch. It will make it work, but that's not a real solution, because the real cause of the problem is you using absolute local paths.
52,059
<p>At the bottom of my web pages is:</p> <pre><code>&lt;script type="text/javascript"&gt; if (!NREUMQ.f) {NREUMQ.f=function() {NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script"); e.type="text/javascript"; e.src=(("http:"===document.location.protocol)?"http:":"https:") + "//" + "js-agent....
[ { "answer_id": 52068, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": true, "text": "<p>NewRelic is a service side process monitor that logs various system resources among many other things, it...
2013/08/19
[ "https://webmasters.stackexchange.com/questions/52059", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21363/" ]
At the bottom of my web pages is: ``` <script type="text/javascript"> if (!NREUMQ.f) {NREUMQ.f=function() {NREUMQ.push(["load",new Date().getTime()]);var e=document.createElement("script"); e.type="text/javascript"; e.src=(("http:"===document.location.protocol)?"http:":"https:") + "//" + "js-agent.newrelic.com/nr-100....
NewRelic is a service side process monitor that logs various system resources among many other things, it attaches itself to various server programs and monitors them. So in other words its a process running in the background along side your server setup. If your using shared hosting then its doubtful that you can do ...
52,113
<p>We have a partnership arrangement with another site where we pay them for users sent to us. However, they claim our referral numbers for them are lower than theirs by 50%. They are tracking clicks in Google Analytics (using events) while we are using visits in Google Analytics.</p> <p>Are we doing something wrong w...
[ { "answer_id": 52183, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<p><strong><code>Are we doing something wrong with our Google Analytics installation?</code></strong></p>\n\n<p>Your...
2013/08/20
[ "https://webmasters.stackexchange.com/questions/52113", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27846/" ]
We have a partnership arrangement with another site where we pay them for users sent to us. However, they claim our referral numbers for them are lower than theirs by 50%. They are tracking clicks in Google Analytics (using events) while we are using visits in Google Analytics. Are we doing something wrong with our Go...
I managed to solve this problem by using Google Campaign links together with bit.ly (or goo.gl) redirection services. * Generally the user will not notice bit.ly is being used You get a neutral way of measure things with open information, just add a + sign to the URL (like for example <http://goo.gl/3xeKVE+>). Latter ...
52,116
<p>Today I was looking at what googles shows in relation to my site and I discovered something which I wasn't expecting.</p> <p>Here is what my site map looks like.</p> <pre><code>?xml version="1.0" encoding="UTF-8"?&gt; &lt;urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"&gt; &lt;url&gt; &lt;loc&gt;http:...
[ { "answer_id": 52183, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<p><strong><code>Are we doing something wrong with our Google Analytics installation?</code></strong></p>\n\n<p>Your...
2013/08/20
[ "https://webmasters.stackexchange.com/questions/52116", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20402/" ]
Today I was looking at what googles shows in relation to my site and I discovered something which I wasn't expecting. Here is what my site map looks like. ``` ?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://domain.com/pub</loc> <lastmod>2013-06-...
I managed to solve this problem by using Google Campaign links together with bit.ly (or goo.gl) redirection services. * Generally the user will not notice bit.ly is being used You get a neutral way of measure things with open information, just add a + sign to the URL (like for example <http://goo.gl/3xeKVE+>). Latter ...
52,125
<p>I have a page with a main image on it that I want to be indexed. I also have a list of other images (thumbnails) on the same web page that should not be indexed or associated with the current page/main image because this is the same list of thumbnails for every page on the website.</p> <p>How can I stop Google from...
[ { "answer_id": 52150, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>Yes, If you want to block certain images of the main webpage then you should use Noindex and Nofollow. </p>\n" ...
2013/08/20
[ "https://webmasters.stackexchange.com/questions/52125", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/1053/" ]
I have a page with a main image on it that I want to be indexed. I also have a list of other images (thumbnails) on the same web page that should not be indexed or associated with the current page/main image because this is the same list of thumbnails for every page on the website. How can I stop Google from indexing ...
``` User-agent: * Disallow: /wp-content/uploads/*/ ``` Something like this. Use this code in `robots.txt`, adding this, you disallow to index the folder `/wp-content/uploads/` to all crawlers. You can found the `robots.txt` file in your `public_html` folder. If this doesn't exist, create it :D
52,134
<pre><code>User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /account.php Disallow: /cart.php </code></pre> <p>Is the above actually blocking crawlers? i just saw the extra "disallow" after the Google</p>
[ { "answer_id": 52136, "author": "Lee", "author_id": 30611, "author_profile": "https://webmasters.stackexchange.com/users/30611", "pm_score": -1, "selected": false, "text": "<p>Actually, you have three lines here:</p>\n\n<pre>\nUser-agent: Mediapartners-Google Disallow: User-agent: *\nDis...
2013/08/21
[ "https://webmasters.stackexchange.com/questions/52134", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30610/" ]
``` User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /account.php Disallow: /cart.php ``` Is the above actually blocking crawlers? i just saw the extra "disallow" after the Google
When you have Disallow followed by nothing, that effectively means "allow all": ``` Disallow: ``` If you want to block all, that's: ``` User-agent: * Disallow: / ``` So, in your example, you are allowing Mediapartners-Google access to everything, and then disallowing all other crawlers from these two pages: ```...
52,137
<p>As you know, URL Length is important for SEO.</p> <p>There is a ambiguity in URL length calculation for Unicode URLs.</p> <p>How search engines view my Unicode URLs?</p> <p>For Example the following URLs are same, which of them are calculated by search engines? </p> <ol> <li><code>http://aroushaafzar.ir/خدمات/طر...
[ { "answer_id": 52136, "author": "Lee", "author_id": 30611, "author_profile": "https://webmasters.stackexchange.com/users/30611", "pm_score": -1, "selected": false, "text": "<p>Actually, you have three lines here:</p>\n\n<pre>\nUser-agent: Mediapartners-Google Disallow: User-agent: *\nDis...
2013/08/19
[ "https://webmasters.stackexchange.com/questions/52137", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
As you know, URL Length is important for SEO. There is a ambiguity in URL length calculation for Unicode URLs. How search engines view my Unicode URLs? For Example the following URLs are same, which of them are calculated by search engines? 1. `http://aroushaafzar.ir/خدمات/طراحی-وب-سایت.html` => Length: 47 charact...
When you have Disallow followed by nothing, that effectively means "allow all": ``` Disallow: ``` If you want to block all, that's: ``` User-agent: * Disallow: / ``` So, in your example, you are allowing Mediapartners-Google access to everything, and then disallowing all other crawlers from these two pages: ```...
52,201
<p>When I search for my domain on Google, eg: <code>mydomain.com</code>, my site shows up with a title like "MyDomain" instead of that page's actual title.</p> <p>Any clues on why this happens and how to fix it?</p> <p>Edit:</p> <p>This is the code from head:</p> <pre><code> &lt;head&gt; &lt;meta charset="utf-8...
[ { "answer_id": 52202, "author": "InanisAtheos", "author_id": 15282, "author_profile": "https://webmasters.stackexchange.com/users/15282", "pm_score": 1, "selected": false, "text": "<p>Is there a <code>&lt;title&gt;&lt;/title&gt;</code> tag with some content, on your page? You need to giv...
2013/08/22
[ "https://webmasters.stackexchange.com/questions/52201", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30658/" ]
When I search for my domain on Google, eg: `mydomain.com`, my site shows up with a title like "MyDomain" instead of that page's actual title. Any clues on why this happens and how to fix it? Edit: This is the code from head: ``` <head> <meta charset="utf-8" /> <title>Συγκριση τιμών - Τιμές προϊόντων,Αναζήτ...
[According to Google](https://plus.google.com/+PierreFar/posts/62V16LPwzKv): * Our algorithms generate thee alternative titles so that your page is no longer constrained with having just the one title for all the different queries your page ranks for. This has the nice side effect of making the result look more releva...
52,317
<p>So I'm working on a register form and I have four fields: name, username, email and password. I pick up the values of these fields in jQuery and depending on if all the fields are filled, I pass them onto a PHP script via ajax. Is that safe for form validations? I was worried about data getting manipulated by the us...
[ { "answer_id": 52318, "author": "Ashisha Nautiyal", "author_id": 28512, "author_profile": "https://webmasters.stackexchange.com/users/28512", "pm_score": -1, "selected": false, "text": "<p>Use the <code>POST</code> method of AJAX. It is safe. It looks good enough for form validation to...
2013/08/26
[ "https://webmasters.stackexchange.com/questions/52317", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30762/" ]
So I'm working on a register form and I have four fields: name, username, email and password. I pick up the values of these fields in jQuery and depending on if all the fields are filled, I pass them onto a PHP script via ajax. Is that safe for form validations? I was worried about data getting manipulated by the user....
Though you'll probably block out most attacks with the check provided above, you should not treat the data as safe afterwards. The actual issue here isn't so much the above validations, but what you do with the data after this. If, for instance, you were to use this 'validated' data in a SQL statement and simply inser...
52,327
<p>Since bots have a fixed budget to spend to crawl websites on a regular basis, does it makes sense to mark <code>mailto</code> links with <code>rel='nofollow'</code> to make sure them don't spend time on these (especially if these are present on every page)?</p> <p>Example:</p> <pre><code>&lt;a href="mailto:someone...
[ { "answer_id": 52328, "author": "Debashis Dip", "author_id": 30765, "author_profile": "https://webmasters.stackexchange.com/users/30765", "pm_score": 4, "selected": true, "text": "<p>I don't think so. Site crawlers don't go inside mailto hrefs.</p>\n" }, { "answer_id": 52329, ...
2013/08/26
[ "https://webmasters.stackexchange.com/questions/52327", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10346/" ]
Since bots have a fixed budget to spend to crawl websites on a regular basis, does it makes sense to mark `mailto` links with `rel='nofollow'` to make sure them don't spend time on these (especially if these are present on every page)? Example: ``` <a href="mailto:someone@mycompany.com" rel="nofollow">Contact</a> ``...
I don't think so. Site crawlers don't go inside mailto hrefs.
52,349
<p>Google's <a href="http://developers.google.com/speed/pagespeed/insights/">PageSpeed Insights</a> allows one to check a website's speed issues for both desktop and smartphone devices.</p> <p>I have some media query CSS for smartphones on my website, but I am unsure about PageSpeed's smartphone screen size. Does anyo...
[ { "answer_id": 52351, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 3, "selected": true, "text": "<p>As stated in Google's PageSpeed Insights <a href=\"https://developers.google.com/speed/docs/insights/faq#howonline...
2013/08/26
[ "https://webmasters.stackexchange.com/questions/52349", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10346/" ]
Google's [PageSpeed Insights](http://developers.google.com/speed/pagespeed/insights/) allows one to check a website's speed issues for both desktop and smartphone devices. I have some media query CSS for smartphones on my website, but I am unsure about PageSpeed's smartphone screen size. Does anyone know the screen wi...
As stated in Google's PageSpeed Insights [FAQ](https://developers.google.com/speed/docs/insights/faq#howonlinemobile): > > **Does PageSpeed Insights use a real device?** > PageSpeed Insights' analysis does not use real devices. PageSpeed Insights fetches a site > with a webkit renderer (the same rendering engine ...
52,370
<p>I have a website which deals with mobile phones related information.</p> <p>Now I have a webpage which has all articles related to a mobile phone. Now this page can potentially have two parents one being the "All articles page" and other being the "XYZ Mobile Phone Page". So which of the following breadcrumbs would...
[ { "answer_id": 52367, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>Users often find my site through search engines. As such it is usually not a good idea to switch...
2013/08/27
[ "https://webmasters.stackexchange.com/questions/52370", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20767/" ]
I have a website which deals with mobile phones related information. Now I have a webpage which has all articles related to a mobile phone. Now this page can potentially have two parents one being the "All articles page" and other being the "XYZ Mobile Phone Page". So which of the following breadcrumbs would suit more...
Users often find my site through search engines. As such it is usually not a good idea to switch the language of the site based on the HTTP headers automatically. The HTTP headers can be a good guide for suggesting a language to a user, but [a site that relies on search engine traffic should have the language of the co...
52,406
<p>Please explain which is the best URL structure and why:</p> <pre><code>website.com/apartments-to-let/manhattan </code></pre> <p>or</p> <pre><code>website.com/apartments-to-let-manhattan </code></pre> <p>This is a property site. Is it best for the bots to break the properties/URL's down in categories?</p>
[ { "answer_id": 52410, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>Regarding SEO or bots, there is no difference between these two URLs. To implement good URL format, you nee...
2013/08/28
[ "https://webmasters.stackexchange.com/questions/52406", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30189/" ]
Please explain which is the best URL structure and why: ``` website.com/apartments-to-let/manhattan ``` or ``` website.com/apartments-to-let-manhattan ``` This is a property site. Is it best for the bots to break the properties/URL's down in categories?
Regarding SEO or bots, there is no difference between these two URLs. To implement good URL format, you need to think about your users. You also need to be logical, i.e. adding a subdirectory means you define a new set of webpages. For example, adding `/manhattan/` in your URL means all webpages under this subdirector...
52,408
<p>Please advise which is better for a page with multiple property listings:</p> <pre><code>example.com/apartments-to-let/area </code></pre> <p>vs</p> <pre><code>example.com/apartment-to-let-area </code></pre> <p>Isn't the plural better since it is an accurate description of what is on the page? Singular versions o...
[ { "answer_id": 52412, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>Once again, please think about logic and users before SEO. Therefore, the plural version is better of cours...
2013/08/28
[ "https://webmasters.stackexchange.com/questions/52408", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30189/" ]
Please advise which is better for a page with multiple property listings: ``` example.com/apartments-to-let/area ``` vs ``` example.com/apartment-to-let-area ``` Isn't the plural better since it is an accurate description of what is on the page? Singular versions of my search terms have higher traffic.
Once again, please think about logic and users before SEO. Therefore, the plural version is better of course, you specified in the question by yourself. Moreover, search engines know recognizing words in singular or plural, that's why there is no difference regarding SEO between these two URLs. Thus, you can easily ch...
52,429
<p>I work with a lot of musicians building websites for them. Within the last year or so, I've noticed that Google has started adding an informational overview of some bands and musicians when you search for their name directly.</p> <p>Clearly the descriptions generally come from Wikipedia and the photos from google ...
[ { "answer_id": 52433, "author": "joshuahedlund", "author_id": 10576, "author_profile": "https://webmasters.stackexchange.com/users/10576", "pm_score": 2, "selected": false, "text": "<p>The results in the boxes on the right hand side of Google search results are part of what is called the...
2013/08/28
[ "https://webmasters.stackexchange.com/questions/52429", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30834/" ]
I work with a lot of musicians building websites for them. Within the last year or so, I've noticed that Google has started adding an informational overview of some bands and musicians when you search for their name directly. Clearly the descriptions generally come from Wikipedia and the photos from google images, and...
Wow - [this recent video](https://www.youtube.com/watch?v=r-VL7NKJqcs#t=95) is an amazing wealth of information on the subject. Highlights about the Knowledge Graph: * Yes, for now they are pulling a large amount of the data from Wikipedia * No, they are not exclusively using Wikipedia * You can tap into the Knowledg...
52,489
<p>I use schema.org structured data markup on all of my product pages. The products are well indexed in Google, and the meta data shows up mostly as expected. </p> <p>My question is a sub-question to the question <a href="https://webmasters.stackexchange.com/questions/52468/is-there-a-problem-in-having-same-product-wi...
[ { "answer_id": 52506, "author": "riseagainst", "author_id": 18576, "author_profile": "https://webmasters.stackexchange.com/users/18576", "pm_score": 3, "selected": true, "text": "<p>I actually posted that question, and another: <a href=\"https://webmasters.stackexchange.com/questions/519...
2013/08/30
[ "https://webmasters.stackexchange.com/questions/52489", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/15209/" ]
I use schema.org structured data markup on all of my product pages. The products are well indexed in Google, and the meta data shows up mostly as expected. My question is a sub-question to the question [Is there a problem in having same product with different names in different pages?](https://webmasters.stackexchang...
I actually posted that question, and another: [Is it okay to have more than one Product (with image, description and SKU) per page?](https://webmasters.stackexchange.com/questions/51934/structured-data-is-it-okay-to-have-more-than-one-image-description-and-sku-per) As Dan has answered my question, it appears to be oka...
52,495
<p>I've started using google pagespeed service and now when I check my site on <a href="http://validator.w3.org/" rel="nofollow">http://validator.w3.org/</a> with doctype HTML5 and encoding UTF8 - I'm getting more than 80+ errors and 95% of them are errors to do with pagespeed</p> <p>Egs of errors are</p> <p>Attribut...
[ { "answer_id": 52506, "author": "riseagainst", "author_id": 18576, "author_profile": "https://webmasters.stackexchange.com/users/18576", "pm_score": 3, "selected": true, "text": "<p>I actually posted that question, and another: <a href=\"https://webmasters.stackexchange.com/questions/519...
2013/08/30
[ "https://webmasters.stackexchange.com/questions/52495", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9552/" ]
I've started using google pagespeed service and now when I check my site on <http://validator.w3.org/> with doctype HTML5 and encoding UTF8 - I'm getting more than 80+ errors and 95% of them are errors to do with pagespeed Egs of errors are Attribute pagespeed\_no\_defer not allowed on element script at this point A...
I actually posted that question, and another: [Is it okay to have more than one Product (with image, description and SKU) per page?](https://webmasters.stackexchange.com/questions/51934/structured-data-is-it-okay-to-have-more-than-one-image-description-and-sku-per) As Dan has answered my question, it appears to be oka...
52,502
<p>I realize some of the ways are:</p> <ul> <li>Use the minified versions of all the <code>.css</code> and <code>.js</code></li> <li>Load the common library elements (jQuery, etc.) from some common source. Not sure what the source that's most likely to already be in the browser cache is.</li> </ul> <p><strong>Update:...
[ { "answer_id": 52508, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<blockquote>\n <p><em><strong>Use the minified versions of all the <code>.css</code> and <code>.js</code></em></str...
2013/08/30
[ "https://webmasters.stackexchange.com/questions/52502", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7031/" ]
I realize some of the ways are: * Use the minified versions of all the `.css` and `.js` * Load the common library elements (jQuery, etc.) from some common source. Not sure what the source that's most likely to already be in the browser cache is. **Update:** [Here's an example.](http://bizstrap.themeleaf.com/index.htm...
There's a thread on [***ideas to speed up a website***](https://webmasters.stackexchange.com/questions/15380/ideas-to-improve-website-loading-speed) on Pro Webmasters already so I won't cover aspects already covered since your question is primary focusing on bootstrap speed. A snippet of a good answer left by John Cond...
52,505
<p>I'm doing a marketing campaign for an app where I'm targeting different schools. I want to know how many people have clicked on each link. The number of schools is pretty big, so I don't want to create a separate redirect or bit.ly for them each. </p> <p>Ideally, this is how it could work:</p> <p>Set up <code>.hta...
[ { "answer_id": 52507, "author": "Jaryd Buggins", "author_id": 15359, "author_profile": "https://webmasters.stackexchange.com/users/15359", "pm_score": 0, "selected": false, "text": "<p>Your solution sounds to be along the right lines. If you want to track the number of clicks on the link...
2013/08/30
[ "https://webmasters.stackexchange.com/questions/52505", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23848/" ]
I'm doing a marketing campaign for an app where I'm targeting different schools. I want to know how many people have clicked on each link. The number of schools is pretty big, so I don't want to create a separate redirect or bit.ly for them each. Ideally, this is how it could work: Set up `.htaccess` to redirect `my...
> > ***Set up .htaccess to redirect mysite.com/download to go to the app > store, then I post different links for different schools with the > formats like mysite.com/download/someschool...*** > > > Assuming that you're redirecting everything after `/download/` to an external site (i.e., the AppStore), this is t...
52,516
<h2>Problem Description</h2> <p>Hi, The current setting of my <strong>.htaccess</strong> file does not allow any kind of 404 (as far as I know). </p> <p>I mean, it captures every kind of url like <code>mysite.com/asfasfasf</code> then sends it to <code>index.php?lang=asfasfasf</code> then index.php 301-redirects to <...
[ { "answer_id": 52517, "author": "GµårÐïåñ", "author_id": 30787, "author_profile": "https://webmasters.stackexchange.com/users/30787", "pm_score": 0, "selected": false, "text": "<p>I know many developers have chose to simply process the link, if invalid load the main page and dispense wit...
2013/08/31
[ "https://webmasters.stackexchange.com/questions/52516", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/29584/" ]
Problem Description ------------------- Hi, The current setting of my **.htaccess** file does not allow any kind of 404 (as far as I know). I mean, it captures every kind of url like `mysite.com/asfasfasf` then sends it to `index.php?lang=asfasfasf` then index.php 301-redirects to `mysite.com/en`. Anyway, Questio...
Well the correct way in your case (which is: the user consciously requests an invalid resource) is to return a 404-response code. The body of the response is a description for the user of your site. If your `404.php` is just like a template and contains mostly HTML-code then you could just `include` it. Otherwise showi...
52,539
<p>When I do a Google search for my individual event pages, the page is usually found but the URL shown under the title seems to always link to my events index. (Title links to the individual page are OK) </p> <p>My site is the bottom example. How do I go about getting my slugged URL to show as per the example above i...
[ { "answer_id": 52517, "author": "GµårÐïåñ", "author_id": 30787, "author_profile": "https://webmasters.stackexchange.com/users/30787", "pm_score": 0, "selected": false, "text": "<p>I know many developers have chose to simply process the link, if invalid load the main page and dispense wit...
2013/08/31
[ "https://webmasters.stackexchange.com/questions/52539", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30922/" ]
When I do a Google search for my individual event pages, the page is usually found but the URL shown under the title seems to always link to my events index. (Title links to the individual page are OK) My site is the bottom example. How do I go about getting my slugged URL to show as per the example above it? ![ent...
Well the correct way in your case (which is: the user consciously requests an invalid resource) is to return a 404-response code. The body of the response is a description for the user of your site. If your `404.php` is just like a template and contains mostly HTML-code then you could just `include` it. Otherwise showi...
52,570
<p>I'm adding schema.org semantic markups, and would like to link several of which are in quite different parts of webpage together.</p> <p><a href="http://tinyurl.com/n4a8gvs" rel="noreferrer">This works</a> when I specify them as parent/child:</p> <pre><code>&lt;div itemscope itemtype="http://schema.org/ExerciseAct...
[ { "answer_id": 52572, "author": "riseagainst", "author_id": 18576, "author_profile": "https://webmasters.stackexchange.com/users/18576", "pm_score": 1, "selected": false, "text": "<p>If I understand your question correctly, just don't close that div.</p>\n\n<pre><code>&lt;div itemscope i...
2013/09/02
[ "https://webmasters.stackexchange.com/questions/52570", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30921/" ]
I'm adding schema.org semantic markups, and would like to link several of which are in quite different parts of webpage together. [This works](http://tinyurl.com/n4a8gvs) when I specify them as parent/child: ``` <div itemscope itemtype="http://schema.org/ExerciseAction"> <span itemprop="distance">11 km</span> <di...
You could use the `itemref` attribute. From the [Microdata](http://www.w3.org/TR/microdata/) ([W3C Working Group Note](http://www.w3.org/TR/2013/NOTE-microdata-20131029/)) spec: * [4.2 The basic syntax](http://www.w3.org/TR/2013/NOTE-microdata-20131029/#the-basic-syntax): > > Properties that are not descendants of ...
52,591
<p>This is the current <em>robots.txt</em> file I am using on a site of mine. I have excluded large parts of the IP.Board forum in order to try and cut down on duplicate content. I've also excluded some WordPress search pages (as well as admin pages).</p> <p>However, I want the Google Images to be able to crawl anywhe...
[ { "answer_id": 52593, "author": "user2434", "author_id": 30624, "author_profile": "https://webmasters.stackexchange.com/users/30624", "pm_score": 0, "selected": false, "text": "<p>Thing looks fine but why do you disallow <code>/forums/gallery/</code>? Is that a media gallery containing i...
2013/09/03
[ "https://webmasters.stackexchange.com/questions/52591", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19198/" ]
This is the current *robots.txt* file I am using on a site of mine. I have excluded large parts of the IP.Board forum in order to try and cut down on duplicate content. I've also excluded some WordPress search pages (as well as admin pages). However, I want the Google Images to be able to crawl anywhere, and I also wa...
> > Does the position of things in the file matter? > > > No. The groups can be in any order. > > I'm now a little confused after reading that the addition of User-agent: Googlebot may override certain other values. > > > Any one crawler will only look at one group in the robots.txt file. The crawler will on...
52,606
<p>We currently have SSI set up to work in our HTML pages as follows</p> <pre><code>&lt;!--#INCLUDE file="/includes/header.inc"--&gt; </code></pre> <p>We also use PHP on our server, and are trying to avoid creating two separate templates for PHP and HTML to include the same file. I know that in PHP I could include th...
[ { "answer_id": 52623, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 4, "selected": true, "text": "<blockquote>\n <p><em><strong>This won't work in an HTML page, so is it possible to configure IIS 7 to have the #inc...
2013/09/03
[ "https://webmasters.stackexchange.com/questions/52606", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30972/" ]
We currently have SSI set up to work in our HTML pages as follows ``` <!--#INCLUDE file="/includes/header.inc"--> ``` We also use PHP on our server, and are trying to avoid creating two separate templates for PHP and HTML to include the same file. I know that in PHP I could include the file with the following comman...
> > ***This won't work in an HTML page, so is it possible to configure IIS 7 to have the #include directive work in both HTML and PHP pages? Is there a better way to do this period?*** > > > Something that might simplify things for you overall would be to configure IIS to use PHP code inside `.html` files instead ...
52,608
<p>I have a web application that will be used internally that points to images on a network drive.</p> <p>It works when I test it in VS, but the images don't load once published.</p> <p>I'm sure it's a setting in IIS but I can't figure out what it is.</p> <p>Each computer is already logged into the domain, and those...
[ { "answer_id": 52613, "author": "krowe", "author_id": 30669, "author_profile": "https://webmasters.stackexchange.com/users/30669", "pm_score": 1, "selected": false, "text": "<p>For a URL, you need to escape the slashes and specify a protocol (file:// in this case). Example:</p>\n\n<pre><...
2013/09/03
[ "https://webmasters.stackexchange.com/questions/52608", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/30975/" ]
I have a web application that will be used internally that points to images on a network drive. It works when I test it in VS, but the images don't load once published. I'm sure it's a setting in IIS but I can't figure out what it is. Each computer is already logged into the domain, and those who have access should ...
For a URL, you need to escape the slashes and specify a protocol (file:// in this case). Example: ``` <img src="file://///server01\fshare\dir1\dir2\my_img.jpg" /> ``` Please note that we ended up with 5 slashes after the protocol (`file:`)
52,624
<p>When I search on Google my companies website its rank gets distorted on my computer through previous searches, my location etc. I use private mode in my browser, but I think this is still not an accurate search.</p> <p>I found some sites online that seem to check the ranking for me, but the ones I found all seem a ...
[ { "answer_id": 52627, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": false, "text": "<p>If I've understood the question correctly then I think your referring to Google's caching that it thinks...
2013/09/04
[ "https://webmasters.stackexchange.com/questions/52624", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9479/" ]
When I search on Google my companies website its rank gets distorted on my computer through previous searches, my location etc. I use private mode in my browser, but I think this is still not an accurate search. I found some sites online that seem to check the ranking for me, but the ones I found all seem a little bit...
If I've understood the question correctly then I think your referring to Google's caching that it thinks your logged in when your not and it favours results that you've clicked and searched before. Sadly this is a bit buggy on Google's behalf, lucky enough there's a work around or least what I do. Install Google Chrom...
52,667
<p>I am using DNSimple and S3/Cloudfront.</p> <p>Following their recommended configuration looks like this:</p> <pre><code>myapex.com ------ REDIRECT --&gt; www.myapex.com www.myapex.com -- CNAME -----&gt; lkj32lkj323323.cloudfront.net </code></pre> <p>This is all bacon gravy.</p> <p>I'm about to make the change th...
[ { "answer_id": 52669, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 4, "selected": true, "text": "<blockquote>\n <p><em><strong>They all point to Google services though, as we use Google for our email. Am I likely ...
2013/09/05
[ "https://webmasters.stackexchange.com/questions/52667", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23986/" ]
I am using DNSimple and S3/Cloudfront. Following their recommended configuration looks like this: ``` myapex.com ------ REDIRECT --> www.myapex.com www.myapex.com -- CNAME -----> lkj32lkj323323.cloudfront.net ``` This is all bacon gravy. I'm about to make the change though, and I got nervous because I have a lot o...
> > ***They all point to Google services though, as we use Google for our email. Am I likely to break email or other services by removing an old A record?*** > > > If your [MX records](http://support.google.com/a/bin/answer.py?hl=en&answer=48090#J) remain pointed to the Google mail server hosts, then you should be...
52,693
<p>I have a few doubts regarding <em>robots.txt</em>. Say, my domain is <code>stackoverflow.com</code>,</p> <p>A) Will the code below do the following for all the crawlers?</p> <pre><code>User-agent: * Disallow: / Allow: /$ Allow: /a/$ Allow: /a/login.php Allow: /a/login.php?return=/pligg/ </code></pre> <ol> <li><...
[ { "answer_id": 52697, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>A) Yes for the most important ones (Googlebot...).</p>\n\n<ol>\n<li>Yes</li>\n</ol>\n\n<p>B) The right file...
2013/09/05
[ "https://webmasters.stackexchange.com/questions/52693", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31031/" ]
I have a few doubts regarding *robots.txt*. Say, my domain is `stackoverflow.com`, A) Will the code below do the following for all the crawlers? ``` User-agent: * Disallow: / Allow: /$ Allow: /a/$ Allow: /a/login.php Allow: /a/login.php?return=/pligg/ ``` 1. Accepting `http://stackoverflow.com/` will accept `http...
A) Yes for the most important ones (Googlebot...). 1. Yes B) The right file name is *robots.txt*. Otherwise, the right code to do what you want is the following: ``` User-agent: * Disallow: / Allow: /a/$ Allow: /a/login.php Allow: /a/login.php?return=/pligg/ ```
52,695
<p>I've seen similar questions asked here but I am still unable to solve this issue. I'm running Typekit and FontAwesome (from CDN) and I get the following error</p> <pre><code>XMLHttpRequest cannot load http://resource.com/example/example. Origin http://mydomain.com is not allowed by Access-Control-Allow-Origin. </c...
[ { "answer_id": 53210, "author": "Matteo Guarnerio", "author_id": 31363, "author_profile": "https://webmasters.stackexchange.com/users/31363", "pm_score": 1, "selected": false, "text": "<p>It seems to be a browser problem. Modern browsers blocks cross domain requests.</p>\n\n<p>Try to use...
2013/09/05
[ "https://webmasters.stackexchange.com/questions/52695", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/31036/" ]
I've seen similar questions asked here but I am still unable to solve this issue. I'm running Typekit and FontAwesome (from CDN) and I get the following error ``` XMLHttpRequest cannot load http://resource.com/example/example. Origin http://mydomain.com is not allowed by Access-Control-Allow-Origin. ``` Now, the ty...
Commonly you need to define [CORS](https://www.keycdn.com/support/cors/) on your server if you want to allow ​3rd party URLs to load other assets. Just check the following configuration examples where you set the CORS header to allow everything (\*). Just replace the `*` with the desired domain if you want to be restri...