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
47,239
<p>I own 2 domain names "domain1.com" and "domain2.com", I want to redirect subdomain.domain1.com to domain2.com/directory using DNS (preferably). Can anyone assist (I am an amateur at domain management)?</p>
[ { "answer_id": 47240, "author": "Nilabh", "author_id": 24140, "author_profile": "https://webmasters.stackexchange.com/users/24140", "pm_score": 1, "selected": false, "text": "<p>You can use a simple redirect pointing subdomain.domain1.com to domain2.com/directory.</p>\n\n<p>In order to d...
2013/04/12
[ "https://webmasters.stackexchange.com/questions/47239", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27053/" ]
I own 2 domain names "domain1.com" and "domain2.com", I want to redirect subdomain.domain1.com to domain2.com/directory using DNS (preferably). Can anyone assist (I am an amateur at domain management)?
You can use a simple redirect pointing subdomain.domain1.com to domain2.com/directory. In order to do this open your public\_html folder. You will see a .htaccess file present under the public\_html folder. Add this code in the .htaccess file: ``` RewriteCond %{HTTP_HOST} ^subdomain\.domain\.com RewriteRule ^(.*)$ ...
47,252
<p>Been using CloudFlare for one of our sites for about a week now, and CloudFlare reports 450% more real visitor page views than Google Analytics (so that's not bots or blocked threats).</p> <p>I understand that there will be discrepancy because CloudFlare is measuring all page requests, Google Analytics is firing of...
[ { "answer_id": 47253, "author": "Andrew Lott", "author_id": 23812, "author_profile": "https://webmasters.stackexchange.com/users/23812", "pm_score": 3, "selected": false, "text": "<p>CloudFlare acknowledge this and provide the <a href=\"https://www.cloudflare.com/analytics\" rel=\"norefe...
2013/04/12
[ "https://webmasters.stackexchange.com/questions/47252", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23822/" ]
Been using CloudFlare for one of our sites for about a week now, and CloudFlare reports 450% more real visitor page views than Google Analytics (so that's not bots or blocked threats). I understand that there will be discrepancy because CloudFlare is measuring all page requests, Google Analytics is firing off a JavaSc...
CloudFlare acknowledge this and provide the [following explanation](https://www.cloudflare.com/analytics): > > CloudFlare Analytics vs. Other Services > > > Google Analytics and other web-based analytics programs track visitors > that trigger JavaScript. As a result, threats, bots and automated > crawlers are not...
47,257
<p>I added the code listed on the Tracking Info tab on the GA page.</p> <pre><code>&lt;script&gt; (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.pa...
[ { "answer_id": 47258, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>Your screenshot show that your code is <code>UA-26738353-2</code>, but your javascript snippet ha...
2013/04/12
[ "https://webmasters.stackexchange.com/questions/47257", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26913/" ]
I added the code listed on the Tracking Info tab on the GA page. ``` <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefor...
Your screenshot show that your code is `UA-26738353-2`, but your javascript snippet has UA-`26738353-3`. It also indicates that the tracking for for imagedoku.com. Make sure you are looking at the tracking info under the correct site in Google analytics, and that if you are, the tracking snippet that you are using matc...
47,295
<p>What is a simple way to temporarily change the timezone in Chrome so as to test how a site renders for different locations?</p> <p>On OSX Mountain Lion, I've tried as bash script with:</p> <pre><code>export TZ='Indian/Mauritius' date open /Applications/Google\ Chrome.app ~/status.html </code></pre> <p>where stat...
[ { "answer_id": 47298, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>Well the easiest method would be just to change the time on your local machine, I'm sure you know how to...
2013/04/13
[ "https://webmasters.stackexchange.com/questions/47295", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27087/" ]
What is a simple way to temporarily change the timezone in Chrome so as to test how a site renders for different locations? On OSX Mountain Lion, I've tried as bash script with: ``` export TZ='Indian/Mauritius' date open /Applications/Google\ Chrome.app ~/status.html ``` where status.html \* contains ``` <!DOCTY...
Turns out one needs to kill all existing Chrome processes first. ``` export TZ='Indian/Mauritius' killall Chrome date open /Applications/Google\ Chrome.app ~/status.html ```
47,297
<p><code>.cur</code> is an image extension for mouse cursors.</p> <p>I have purchased a custom domain via Blogger. Unlike WordPress, Blogger does not have any directory of webfiles or something where things can be uploaded.</p> <p>I need to change the default cursor of my mouse in my website. Unfortunately, Google's ...
[ { "answer_id": 47298, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>Well the easiest method would be just to change the time on your local machine, I'm sure you know how to...
2013/04/13
[ "https://webmasters.stackexchange.com/questions/47297", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/22590/" ]
`.cur` is an image extension for mouse cursors. I have purchased a custom domain via Blogger. Unlike WordPress, Blogger does not have any directory of webfiles or something where things can be uploaded. I need to change the default cursor of my mouse in my website. Unfortunately, Google's Picasa or Imageshack/Phobuck...
Turns out one needs to kill all existing Chrome processes first. ``` export TZ='Indian/Mauritius' killall Chrome date open /Applications/Google\ Chrome.app ~/status.html ```
47,315
<p>I am building an image based website with no text space available on the Home Page. Can I turn the main Nav Menu links into H1 tags too? Will the site be punished by Search Engines from an SEO point of view for doing it this way?</p> <pre><code>&lt;h1&gt; &lt;a href="#"&gt;Landscape Photography&lt;/a&gt; &lt;a href...
[ { "answer_id": 47497, "author": "DavidScherer", "author_id": 27161, "author_profile": "https://webmasters.stackexchange.com/users/27161", "pm_score": 1, "selected": false, "text": "<p>Having the FB page can be beneficial in that every time a user <code>Likes</code> something on your site...
2013/04/14
[ "https://webmasters.stackexchange.com/questions/47315", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9666/" ]
I am building an image based website with no text space available on the Home Page. Can I turn the main Nav Menu links into H1 tags too? Will the site be punished by Search Engines from an SEO point of view for doing it this way? ``` <h1> <a href="#">Landscape Photography</a> <a href="#">Product Photography</a> <a hre...
Having the FB page can be beneficial in that every time a user `Likes` something on your site, their news feed updates with a link back to what they liked. So if on each page you have a like button linked directly to that page, if a user clicks it, a message is posted in their news feed and those of their close friends...
47,331
<p>On our site we currently have approx. 50% of our IE7 users running Windows 7. However, Win7 was released with IE8 meaning that something is not right. Based on this, we made the assumption that the modern IE browsers enter IE7 compatibility mode on our site. So we placed the "X-UA-Compatible=edge" meta tag on our si...
[ { "answer_id": 47333, "author": "dave", "author_id": 27118, "author_profile": "https://webmasters.stackexchange.com/users/27118", "pm_score": 0, "selected": false, "text": "<p>Is there any other way to make sure that IE doesn't enter compatibility mode?\n Yes. Use a doctype that makes...
2013/04/15
[ "https://webmasters.stackexchange.com/questions/47331", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20111/" ]
On our site we currently have approx. 50% of our IE7 users running Windows 7. However, Win7 was released with IE8 meaning that something is not right. Based on this, we made the assumption that the modern IE browsers enter IE7 compatibility mode on our site. So we placed the "X-UA-Compatible=edge" meta tag on our site ...
Ok, so we have confirmed that our calculations were incorrect. Our provider was giving us reports based on the number of "visits". A visit is calculated based on the amount of time a user spends on our website. However, IE7 users might be rare but they might spend more time on a website compared to a Chrome user. This ...
47,358
<p>Our site has a profile update page which allows the user to change their password and other basic information. This page has been in production since 2006. Recent changes to Chrome have broken the way the page works, and I don't see any easy fix for this.</p> <p>Here is the situation: when the user goes to this pag...
[ { "answer_id": 47371, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Put each field into its own form, and use nonsensical field names and ids. Then, onchange, use j...
2013/04/16
[ "https://webmasters.stackexchange.com/questions/47358", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12611/" ]
Our site has a profile update page which allows the user to change their password and other basic information. This page has been in production since 2006. Recent changes to Chrome have broken the way the page works, and I don't see any easy fix for this. Here is the situation: when the user goes to this page, there a...
It appears that Chrome now ignores `autocomplete="off"` unless it is on the `<form autocomplete="off">` tag (which applies to the entire form). You used to be able to add the tag to any `<input>` field, which gave you a lot more control. You may also need to start the document with this DTD: ``` <!DOCTYPE html> ```
47,359
<p>For example, jQuery tabs uses a link as each tab, that opens the tabbed content. Or often times developers will use a link as the anchor text for a hover tooltip, even though it doesn't actually link anywhere. Given that the functionality uses javascript, for the most part links aren't needed, however there the mo...
[ { "answer_id": 47371, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 1, "selected": false, "text": "<p>Put each field into its own form, and use nonsensical field names and ids. Then, onchange, use j...
2013/04/16
[ "https://webmasters.stackexchange.com/questions/47359", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27136/" ]
For example, jQuery tabs uses a link as each tab, that opens the tabbed content. Or often times developers will use a link as the anchor text for a hover tooltip, even though it doesn't actually link anywhere. Given that the functionality uses javascript, for the most part links aren't needed, however there the most ap...
It appears that Chrome now ignores `autocomplete="off"` unless it is on the `<form autocomplete="off">` tag (which applies to the entire form). You used to be able to add the tag to any `<input>` field, which gave you a lot more control. You may also need to start the document with this DTD: ``` <!DOCTYPE html> ```
47,401
<p>I see many websites, seemingly arbitrarily adding the no cache meta tag on every page.</p> <p>Like this:</p> <pre><code>&lt;META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"&gt; &lt;META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"&gt; &lt;META HTTP-EQUIV="EXPIRES" CONTENT="-1"&gt; </code></pre> <p>What is it good for...
[ { "answer_id": 47402, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": true, "text": "<p>Caching speeds up repeat views and not first time visits so in terms of SEO value it means little since t...
2013/04/16
[ "https://webmasters.stackexchange.com/questions/47401", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23028/" ]
I see many websites, seemingly arbitrarily adding the no cache meta tag on every page. Like this: ``` <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="EXPIRES" CONTENT="-1"> ``` What is it good for and why are they doing it? Is it bad or good for ...
Caching speeds up repeat views and not first time visits so in terms of SEO value it means little since the first view time is the most important factor. Caching is good however because it means when people switch from page to page they are only loading the resources they need so this will boost user experience. Usin...
47,405
<p>My website is 100% https. I have links to other http domains. The referrer header is not set when linking from a https page to a http page. From <a href="http://en.wikipedia.org/wiki/HTTP_referrer" rel="noreferrer">http://en.wikipedia.org/wiki/HTTP_referrer</a></p> <blockquote> <p>If a website is accessed from a HTT...
[ { "answer_id": 47421, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": false, "text": "<p>Sadly you can not referrer on HTTPS to sites using HTTP. You can however do HTTPS to HTTPS or HTTP to HT...
2013/04/16
[ "https://webmasters.stackexchange.com/questions/47405", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27165/" ]
My website is 100% https. I have links to other http domains. The referrer header is not set when linking from a https page to a http page. From <http://en.wikipedia.org/wiki/HTTP_referrer> > > If a website is accessed from a HTTP Secure (HTTPS) connection and a > link points to anywhere except another secure locatio...
I was able to set up a link from an HTTPS page to a HTTP page on another domain and still pass the first page's URL as a referrer using the following technique. Definitions ----------- **Origin page**: HTTPS page where the link to the HTTP hosted destination page is situated. In this example: `https://example1.com/or...
47,446
<p>I am using WordPress and WP Pro-Quiz to create a quiz.</p> <p>Each answer has a radio button on the side (<code>input type="radio"</code>). When I click anywhere on the same row from the touch-screen on my computer, the radio button is being checked.</p> <p>But when I click on the row on my mobile device (in this ...
[ { "answer_id": 47451, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>Radio buttons can be fiddly on Apple devices you should opt to use <a href=\"https://developer.apple.com...
2013/04/18
[ "https://webmasters.stackexchange.com/questions/47446", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12083/" ]
I am using WordPress and WP Pro-Quiz to create a quiz. Each answer has a radio button on the side (`input type="radio"`). When I click anywhere on the same row from the touch-screen on my computer, the radio button is being checked. But when I click on the row on my mobile device (in this case an iPod touch), the rad...
If you use a `<label>` tag for the text next to the radio button, it should make that text clickable, even in mobile browsers. ``` <input type="radio" name="gender" id="male" value="male"><label for="male">Male</label><br> <input type="radio" name="gender" id="female" value="female"><label for="female">Female</label><...
47,521
<p>Due to nature of my blog I don't need to display any content, I only need to display a title inside a <code>&lt;header&gt;</code> and some meta info inside <code>&lt;footer&gt;</code> both inside <code>article</code>. Above them there is an image and some social sharing stuff.</p> <p>Will this somehow confuse Googl...
[ { "answer_id": 47528, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": true, "text": "<p>At the moment as far as we know there are not benefits from using HTML5 markups such as header and footer...
2013/04/20
[ "https://webmasters.stackexchange.com/questions/47521", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26987/" ]
Due to nature of my blog I don't need to display any content, I only need to display a title inside a `<header>` and some meta info inside `<footer>` both inside `article`. Above them there is an image and some social sharing stuff. Will this somehow confuse Google crawlers? Or is it fine?
At the moment as far as we know there are not benefits from using HTML5 markups such as header and footer. Using such markups just allows for better semantic markup. Google, Bing and Yahoo have no problem reading header and footers within article tags, but you should only use the header and footer if it makes sense to...
47,523
<p>I'm getting the following warning over and over again in google webmaster tools </p> <pre><code>Googlebot encountered extremely large numbers of links on your site. </code></pre> <p>The examples he's showing don't give me much clue on what is really wrong here. How would you suggest me to resolve this issue?</p> ...
[ { "answer_id": 47524, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": false, "text": "<p>There is generally no solution for this \"problem\". If your site has a large number of pages, ...
2013/04/20
[ "https://webmasters.stackexchange.com/questions/47523", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9356/" ]
I'm getting the following warning over and over again in google webmaster tools ``` Googlebot encountered extremely large numbers of links on your site. ``` The examples he's showing don't give me much clue on what is really wrong here. How would you suggest me to resolve this issue? UPDATE: My site has a large am...
Essentially this message means that we (Google) discovered a surprisingly large number of unique URLs while crawling previously-known URLs. This message is sent out before we attempt to crawl those new, unique URLs (since that can take quite some time), it can be useful to inform you of issues with regards to crawlabil...
47,558
<p>Tags are causing duplicate content on my website and I want to make sure that I block them from being indexed. Is this the right syntax to use for blocking those Tags from being crawled?</p> <pre><code>User-agent: * Disallow: /blog/tag </code></pre>
[ { "answer_id": 47561, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p><strong>2009 - Google, Bing, and Yahoo announce Support for Canonical Links</strong></p>\n\n<p>There is ...
2013/04/21
[ "https://webmasters.stackexchange.com/questions/47558", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9666/" ]
Tags are causing duplicate content on my website and I want to make sure that I block them from being indexed. Is this the right syntax to use for blocking those Tags from being crawled? ``` User-agent: * Disallow: /blog/tag ```
**2009 - Google, Bing, and Yahoo announce Support for Canonical Links** There is no need to use robots.txt to tackle the duplicate content problem, in February 2009, Google, Yahoo and Microsoft (for their Bing search engine) announced support for the canonical link element which aims to tackle the problem of duplicate...
47,597
<p>I am pretty new in WordPress and on my blog I am using permalinks.</p> <p>I have seen that there are 5 topologies of permalinks and I don't know if some types are better than others for search engines for indexation.</p> <p>At the moment I am using this typology: </p> <pre><code>example.com/2013/04/22/articolo d'...
[ { "answer_id": 47602, "author": "John", "author_id": 27322, "author_profile": "https://webmasters.stackexchange.com/users/27322", "pm_score": 1, "selected": false, "text": "<p>As long as the URLs are <em>static</em> there are only minor differences.</p>\n\n<p>URL become part of the SERP ...
2013/04/22
[ "https://webmasters.stackexchange.com/questions/47597", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/24423/" ]
I am pretty new in WordPress and on my blog I am using permalinks. I have seen that there are 5 topologies of permalinks and I don't know if some types are better than others for search engines for indexation. At the moment I am using this typology: ``` example.com/2013/04/22/articolo d'esempio/ ``` that is compo...
As long as the URLs are *static* there are only minor differences. URL become part of the SERP and like with your page's title not all characters are shown. So I decided against having the date as part of my URL to make the URL shorter. This makes them also better readable when written somewhere else. Also I replace ...
47,599
<p>I run many blogs for online earnings but my blog in blogger page views:</p> <pre><code>Total Pageviews 90,085 </code></pre> <p>And that same blog page views in Google AdSense <em>Total Pageviews 19,347</em> are different why? they reduced show for earnings? </p> <p>My Google AdSense Code:</p> <pre><code>&lt;scr...
[ { "answer_id": 47600, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>The smaller number of views from AdSense is due to it filtering out many that it thinks they are spam. It also m...
2013/04/22
[ "https://webmasters.stackexchange.com/questions/47599", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/18645/" ]
I run many blogs for online earnings but my blog in blogger page views: ``` Total Pageviews 90,085 ``` And that same blog page views in Google AdSense *Total Pageviews 19,347* are different why? they reduced show for earnings? My Google AdSense Code: ``` <script type="text/javascript"><!-- google_ad_width=336; ...
I agree with the other answers - and there are timing differences too. AdSense "days" are based on the same 24 hours (I think starting and ending at midnight Pacific Time, ie UTC-8). Blogger stats days may well be based on differnt times - and Analytics days seem to be based on the day/time of the visitor. All in all,...
47,615
<p>What is the default Web browser on Android devices?</p> <p>Are there weird Web browser set by default that I should be aware of (to test my mobile Website on it)?</p>
[ { "answer_id": 47617, "author": "Itai", "author_id": 5806, "author_profile": "https://webmasters.stackexchange.com/users/5806", "pm_score": 5, "selected": true, "text": "<p>That depends on the device and version. The most common, particularly for less new devices is the Android Browser. ...
2013/04/22
[ "https://webmasters.stackexchange.com/questions/47615", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19559/" ]
What is the default Web browser on Android devices? Are there weird Web browser set by default that I should be aware of (to test my mobile Website on it)?
That depends on the device and version. The most common, particularly for less new devices is the Android Browser. Like Chrome, it is based on Webkit and identifies itself as: ``` Mozilla/5.0 (Linux; U; Android x.x; Build/xx) AppleWebKit/530.17 (KHTML like Gecko) Version/4.0 Mobile Safari 530/17 ``` Most recent - at...
47,639
<p>I have the following domains, all inside one single VPS (one IP address):</p> <pre><code> www.example.com classmates.com john.classmates.com mary.classmates.com blog.classmates.com </code></pre> <p>If I need <code>https</code> for the following domains:</p> <pre><code> https://www.example.com https://clas...
[ { "answer_id": 47640, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": true, "text": "<p>Two:</p>\n\n<ol>\n<li>A \"regular\" SSL certificate for www.example.com</li>\n<li>A <a href=\"http://en.wikip...
2013/04/23
[ "https://webmasters.stackexchange.com/questions/47639", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4166/" ]
I have the following domains, all inside one single VPS (one IP address): ``` www.example.com classmates.com john.classmates.com mary.classmates.com blog.classmates.com ``` If I need `https` for the following domains: ``` https://www.example.com https://classmates.com https://john.classmates.com https:/...
Two: 1. A "regular" SSL certificate for www.example.com 2. A [wildcard SSL certificate](http://en.wikipedia.org/wiki/Wildcard_certificate) for classmates.com and all of its subdomains
47,728
<p>I've been searching for an answer for a long time now so I'll just try here...</p> <p>I'm trying to get an Ruby on Rails application running with passenger and nginx but I'm getting 403 forbidden when I'm trying to enter my site. (Server is running Fedora 17 x64). and this is how I've done this far.</p> <p>I foll...
[ { "answer_id": 47767, "author": "c s h", "author_id": 16540, "author_profile": "https://webmasters.stackexchange.com/users/16540", "pm_score": 1, "selected": false, "text": "<p>I have had the same issue a few months back. The name servers took over a week but the contact info took way lo...
2013/04/23
[ "https://webmasters.stackexchange.com/questions/47728", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/103116/" ]
I've been searching for an answer for a long time now so I'll just try here... I'm trying to get an Ruby on Rails application running with passenger and nginx but I'm getting 403 forbidden when I'm trying to enter my site. (Server is running Fedora 17 x64). and this is how I've done this far. I followed the instructi...
It varies from company to company. I have spent quite some time with GoDaddy, NameCheap and Whois.net. Once I updated nameserver records for a domain registered with GoDaddy, it barely took 2-3 hours. On contrary, NameCheap took almost 2 days to update the records for another domain I was configuring. I think the best...
47,770
<p>My wife works at a high school in Germany. I recently noticed that it's extremely hard to find <a href="http://www.jhg.pvmedia.info/startseite/" rel="nofollow">that school's homepage</a> using Google. I looked at the source code of the page and I believe I've found the reason: There are two <code>&lt;meta name="robo...
[ { "answer_id": 47783, "author": "DisgruntledGoat", "author_id": 233, "author_profile": "https://webmasters.stackexchange.com/users/233", "pm_score": 2, "selected": false, "text": "<p>The behaviour for two conflicting meta tags isn't defined, as far as I know, but most likely the most res...
2013/04/26
[ "https://webmasters.stackexchange.com/questions/47770", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27468/" ]
My wife works at a high school in Germany. I recently noticed that it's extremely hard to find [that school's homepage](http://www.jhg.pvmedia.info/startseite/) using Google. I looked at the source code of the page and I believe I've found the reason: There are two `<meta name="robots">` tags; one is ``` <meta name="r...
While the German Wikipedia claims that `all` is a valid value, I've no idea where that information comes from, and German Wikipedia does not cite any source. It is AFAIK wrong, and IMHO a good example for why one should not rely on Wikipedia for this type of information. If you want to use the robot meta tag to direct...
47,820
<p>I am building a site that lets people Trade, Buy and Sell Magic the Gathering cards ( a collectable card game) and I'm struggling to fit my main Index pages Title in a manner that will not get concatenated in the results view. </p> <p>So generally the Magic the Gathering name is shortened to "MTG" and I want to use...
[ { "answer_id": 47827, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": true, "text": "<p>I don't think the spaces around the slash are needed. It doesn't look odd to me personally, and t...
2013/04/27
[ "https://webmasters.stackexchange.com/questions/47820", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27062/" ]
I am building a site that lets people Trade, Buy and Sell Magic the Gathering cards ( a collectable card game) and I'm struggling to fit my main Index pages Title in a manner that will not get concatenated in the results view. So generally the Magic the Gathering name is shortened to "MTG" and I want to use both of t...
I don't think the spaces around the slash are needed. It doesn't look odd to me personally, and the slash can separate words to Google's algorithms. The lack of space after the pipe does look odd to me, but Googles's algorithms shouldn't have any problem with it. I would not recommend repeating any keywords in the tit...
47,867
<p>Last week I launched a website and created a <code>robots.txt</code>:</p> <pre><code>User-agent: * Disallow: Sitemap: http://mywebsite.tld/sitemap_robots.xml </code></pre> <p>Now I've checked the indexed pages (<code>Google -&gt; site:mywebsite.tld</code>) and found links to subfolders and non-public/internal file...
[ { "answer_id": 47868, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>In order to block all robots in your website, the correct code is:</p>\n\n<pre><code>User-agent: *\nDisallo...
2013/04/29
[ "https://webmasters.stackexchange.com/questions/47867", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/25593/" ]
Last week I launched a website and created a `robots.txt`: ``` User-agent: * Disallow: Sitemap: http://mywebsite.tld/sitemap_robots.xml ``` Now I've checked the indexed pages (`Google -> site:mywebsite.tld`) and found links to subfolders and non-public/internal files, that are place outside of the web root of the we...
In order to block all robots in your website, the correct code is: ``` User-agent: * Disallow: / ``` Don't forget the `/` (slash) after `Disallow:`. To block only subdirectories and their internal webpages with *robots.txt*, you have to list them one by one. Thus you need to know their names: ``` User-agent: * Dis...
47,885
<p>I want to set up a Google Analytic's Experiment to test variations of product page. Parts of the URL changes depending on what product you are viewing - here are some examples...</p> <ul> <li><code>example.com/products/shirt/100</code></li> <li><code>example.com/products/pants/200</code></li> <li><code>example.com/...
[ { "answer_id": 47886, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>You can make it in Java:</p>\n\n<p>Here is a class to read pages from th internet:</p>\n\n<pre><code> import j...
2013/04/09
[ "https://webmasters.stackexchange.com/questions/47885", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5944/" ]
I want to set up a Google Analytic's Experiment to test variations of product page. Parts of the URL changes depending on what product you are viewing - here are some examples... * `example.com/products/shirt/100` * `example.com/products/pants/200` * `example.com/products/hat/300` I want to experiment on everything t...
What do you mean, you want to experiment on everything that comes after the folder */products/* of your website? If you mean, is to make all of the pages that comes after that folder, become variations, then I'm sorry because the variations are only limited to 9 pages. Some other articles like [Split Testing With Googl...
47,896
<p>I have a directory that I don't want Google to index because it could confuse people who don't know the site. However, I want everyone else to get updates when I post them on our Facebook page. The problem is that the general exception to the directory is also blocking Facebook access, which causes links to this dir...
[ { "answer_id": 47886, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>You can make it in Java:</p>\n\n<p>Here is a class to read pages from th internet:</p>\n\n<pre><code> import j...
2013/04/30
[ "https://webmasters.stackexchange.com/questions/47896", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7962/" ]
I have a directory that I don't want Google to index because it could confuse people who don't know the site. However, I want everyone else to get updates when I post them on our Facebook page. The problem is that the general exception to the directory is also blocking Facebook access, which causes links to this direct...
What do you mean, you want to experiment on everything that comes after the folder */products/* of your website? If you mean, is to make all of the pages that comes after that folder, become variations, then I'm sorry because the variations are only limited to 9 pages. Some other articles like [Split Testing With Googl...
47,950
<p>here is my htaccess file......</p> <pre><code>RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR] RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$ RewriteRule ^patients/billing/(.*)\.html$ $1.php [L,NC] RewriteCond %{REQUEST_URI} ^/patients/findadoctor/a\.html$ [OR] Rewr...
[ { "answer_id": 47952, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 4, "selected": true, "text": "<p>This is no doubt dependent on your remaining 200+ lines, but what you have posted so far would seem to be reduci...
2013/05/01
[ "https://webmasters.stackexchange.com/questions/47950", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27615/" ]
here is my htaccess file...... ``` RewriteCond %{REQUEST_URI} ^/patients/billing/FAQ_billing\.html$ [OR] RewriteCond %{REQUEST_URI} ^/patients/billing/getintouch\.html$ RewriteRule ^patients/billing/(.*)\.html$ $1.php [L,NC] RewriteCond %{REQUEST_URI} ^/patients/findadoctor/a\.html$ [OR] RewriteCond %{REQU...
This is no doubt dependent on your remaining 200+ lines, but what you have posted so far would seem to be reducible to just 2 lines: ``` RewriteRule ^patients/billing/(FAQ_billing|getintouch)\.html$ $1.php [L,NC] RewriteRule ^patients/findadoctor/([a-z])\.html$ findadoctor.php?id=$1 [L,NC] ``` This shouldn't be redu...
47,965
<p>I would like to prevent scrapers grabbing all my content except Google, Bing and other search engines. I am thinking of going with Fail2ban and limiting hits from an IP maybe at around 1000 per day. Is this a good idea? Would there be a better way?</p>
[ { "answer_id": 48257, "author": "CodeMonkey", "author_id": 23822, "author_profile": "https://webmasters.stackexchange.com/users/23822", "pm_score": 1, "selected": false, "text": "<p>A CDN service could sit in front of your site and filter out known crawlers; they also filter out spammers...
2013/05/01
[ "https://webmasters.stackexchange.com/questions/47965", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27371/" ]
I would like to prevent scrapers grabbing all my content except Google, Bing and other search engines. I am thinking of going with Fail2ban and limiting hits from an IP maybe at around 1000 per day. Is this a good idea? Would there be a better way?
There are many ways this can be done within Apache using Modules, or alternatively you can setup IP tables to do the job though personally I just use the modules. **[mod\_security](http://johnleach.co.uk/words/1073/rate-limiting-with-apache-and-mod-security)** I've personally used this and it does the job well, a goo...
47,995
<p>Right from the day I installed WordPress on my site, I started getting spam comments/trackbacks. I have also prevented anonymous comments. I get the following email whenever a new spam is posted:</p> <pre><code> New trackback on the post `"&lt;post name&gt;"` is waiting for your approval `&lt;url&gt;` Website : ja...
[ { "answer_id": 47996, "author": "user555", "author_id": 27664, "author_profile": "https://webmasters.stackexchange.com/users/27664", "pm_score": 5, "selected": true, "text": "<p>I would recommend you to install and enable Akismet: <a href=\"http://wordpress.org/extend/plugins/akismet/\" ...
2013/05/02
[ "https://webmasters.stackexchange.com/questions/47995", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5640/" ]
Right from the day I installed WordPress on my site, I started getting spam comments/trackbacks. I have also prevented anonymous comments. I get the following email whenever a new spam is posted: ``` New trackback on the post `"<post name>"` is waiting for your approval `<url>` Website : jackettl36 (IP: 112.111.173....
I would recommend you to install and enable Akismet: <http://wordpress.org/extend/plugins/akismet/> Akismet checks your comments against the Akismet web service to see if they look like spam or not and lets you review the spam it catches under your blog's "Comments" admin screen.
48,042
<p>This question is specifically about domain name choice.</p> <p>My client wants to maximize his site SEO, and he has two domain names, one of which he has for two years and is in the second page of Google search and another one which is better as domain name but unranked.</p> <p>The question:</p> <ul> <li>Is it be...
[ { "answer_id": 48045, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 4, "selected": true, "text": "<p>It's no secret that Google put more trust in sites and domains that are aged, if you had asked the same q...
2013/05/03
[ "https://webmasters.stackexchange.com/questions/48042", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27702/" ]
This question is specifically about domain name choice. My client wants to maximize his site SEO, and he has two domain names, one of which he has for two years and is in the second page of Google search and another one which is better as domain name but unranked. The question: * Is it better to choose the new bette...
It's no secret that Google put more trust in sites and domains that are aged, if you had asked the same question 1-2 years ago then I would of told you `pianotuningtoronto.ca` however times have changed and Google cares little for EMD 'Exact Match Domains', so there is little to no benefit in actually using keywords in...
48,062
<p>My <em>robots.txt</em> is: </p> <pre><code>User-agent: * Disallow: / Sitemap: http://example.com/sitemap.xml Sitemap: http://example.com/sitemap.xml.gz </code></pre> <p>It has been the same for well over a week now, but when I go to fetch Google, I am still getting the same error message: Googlebot is blocked fr...
[ { "answer_id": 48069, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>I can confirm that your <em>robots.txt</em> and HTML are not blocking Google from scanning your site, so...
2013/05/04
[ "https://webmasters.stackexchange.com/questions/48062", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27707/" ]
My *robots.txt* is: ``` User-agent: * Disallow: / Sitemap: http://example.com/sitemap.xml Sitemap: http://example.com/sitemap.xml.gz ``` It has been the same for well over a week now, but when I go to fetch Google, I am still getting the same error message: Googlebot is blocked from `http://www.example.com/`. Ac...
Your *robots.txt* own these lines: ``` User-agent: * Disallow: / ``` It indicates to Googlebot and other search spiders to not index your website. Just put these lines instead and wait: ``` User-agent: * Allow: / ``` That way, all search spiders (Googlebot included) will index your website.
48,067
<p>I'm using MVC that is compressing and minifying all my <code>js</code> files into one file so basically there is only one request.</p> <p>As far as I see every page has Google Analytics code below their <code>js</code> includes. If I will not do that but instead add it in my main <code>js</code> file will it cause ...
[ { "answer_id": 48068, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": true, "text": "<p>Taken from <a href=\"https://stackoverflow.com/questions/7347208/is-it-safe-to-minify-javascript-code-tha...
2013/05/04
[ "https://webmasters.stackexchange.com/questions/48067", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/11428/" ]
I'm using MVC that is compressing and minifying all my `js` files into one file so basically there is only one request. As far as I see every page has Google Analytics code below their `js` includes. If I will not do that but instead add it in my main `js` file will it cause any problems?
Taken from [Stack Overflow](https://stackoverflow.com/questions/7347208/is-it-safe-to-minify-javascript-code-that-might-run-alongside-other-scripts) > > You ALWAYS have to worry about collissions of variables defined in the > global scope in JavaScript, REGARDLESS of whether you minify your > scripts or not. Use a ...
48,081
<p>For some queries Google Search will return result with a person's information on a right. It looks a bit differently for different queries but most of the time something like this (<a href="https://www.google.com/search?q=huskystarcraft" rel="nofollow noreferrer">https://www.google.com/search?q=huskystarcraft</a>):<...
[ { "answer_id": 48068, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": true, "text": "<p>Taken from <a href=\"https://stackoverflow.com/questions/7347208/is-it-safe-to-minify-javascript-code-tha...
2013/05/04
[ "https://webmasters.stackexchange.com/questions/48081", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27722/" ]
For some queries Google Search will return result with a person's information on a right. It looks a bit differently for different queries but most of the time something like this (<https://www.google.com/search?q=huskystarcraft>): ![H to the usky Husky!](https://i.stack.imgur.com/MNGV7.png) Assuming Google grabs the...
Taken from [Stack Overflow](https://stackoverflow.com/questions/7347208/is-it-safe-to-minify-javascript-code-that-might-run-alongside-other-scripts) > > You ALWAYS have to worry about collissions of variables defined in the > global scope in JavaScript, REGARDLESS of whether you minify your > scripts or not. Use a ...
48,108
<p>Two years ago I've built a small Wordpress site for a friend of mine, and some weeks ago I got a warning mail from my ISP, about a <em>worldwide attack to Joomla, Wordpress...</em> (well, more or less, it was italian, of course). I had no idea what to do, and nothing seemed to happen. Two days ago, browsing to that ...
[ { "answer_id": 48109, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>Format your server and restore from a backup that was created before the infection. </p>\n\n<p>Whoever got in to ...
2013/05/06
[ "https://webmasters.stackexchange.com/questions/48108", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21076/" ]
Two years ago I've built a small Wordpress site for a friend of mine, and some weeks ago I got a warning mail from my ISP, about a *worldwide attack to Joomla, Wordpress...* (well, more or less, it was italian, of course). I had no idea what to do, and nothing seemed to happen. Two days ago, browsing to that site I got...
Probably there is also some security issue with the Wordpress setup, being it two years old maybe it's time to apply security patches. if you don't want (or can't) rebuild the server from scratch, I sould suggest to: 1. check the date/time of creation of the file `images.php` as this is probably when the whole site go...
48,131
<p>My company owns several domain names. We also host websites for our users at their custom domains.</p> <p>Our domains:</p> <ul> <li>company.com</li> <li>product1.com</li> <li>product2.com</li> </ul> <p>Users's domains:</p> <ul> <li>user1.com</li> <li>user2.com</li> </ul> <p>Currently, we host XML Sitemap files ...
[ { "answer_id": 48188, "author": "PeggyP", "author_id": 26901, "author_profile": "https://webmasters.stackexchange.com/users/26901", "pm_score": 1, "selected": false, "text": "<p>As you already aware of google sitemap guidelines, i won't dig more into it. Based on my experience, i don't t...
2013/05/06
[ "https://webmasters.stackexchange.com/questions/48131", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27769/" ]
My company owns several domain names. We also host websites for our users at their custom domains. Our domains: * company.com * product1.com * product2.com Users's domains: * user1.com * user2.com Currently, we host XML Sitemap files at the root of all of our users' websites (e.g. `http://www.user1.com/sitemap.xml...
As far as Google is concerned, it is possible to make "cross site submissions" of XML sitemaps if you are a "verified owner of the sites" (e.g. have proven your ownership in the [Google Webmaster Tools](https://www.google.com/webmasters/tools/home?hl=de)). You could - for example - as well place all sitemaps on compa...
48,138
<p>I have a very simple site, with no graphics, and I don't want to spoil it with a huge JavaScript monitoring loop.</p> <p>I don't have a <code>favicon.ico</code>, and I always see 404 requests from browsers requesting for favicon; can I <code>307</code> the favicon location to the <code>//mc.yandex.ru/watch/id</code...
[ { "answer_id": 48139, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": false, "text": "<p>Certain browsers will always search for a favicon and will carry on doing so until you place the file. T...
2013/05/07
[ "https://webmasters.stackexchange.com/questions/48138", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23133/" ]
I have a very simple site, with no graphics, and I don't want to spoil it with a huge JavaScript monitoring loop. I don't have a `favicon.ico`, and I always see 404 requests from browsers requesting for favicon; can I `307` the favicon location to the `//mc.yandex.ru/watch/id` URL of the 1×1 gif counter, the one which...
``` location = /favicon.ico { return 307 http://mc.yandex.ru/watch/XXX; } ``` seems to work; however, it would seem like only certain browsers request a `favicon.ico` by default, so, not all visitors would be counted. Also, it has a limitation of not letting you know which pages are popular on your site...
48,164
<p>My site is getting <em>404. That’s an error.</em> message when I click on cached from Google search results.</p> <p>This is the error message from Google:</p> <pre><code>That’s an error. </code></pre> <p>The requested URL <code>/search?q=cache:8kxLAgFrhZQJ:www.mysite.com.....&amp;cd=8&amp;hl=en&amp;ct=clnk&amp;gl...
[ { "answer_id": 48167, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": false, "text": "<p>You should login to Google Webmaster Tools and do a <a href=\"http://support.google.com/webmasters/bin/a...
2013/05/07
[ "https://webmasters.stackexchange.com/questions/48164", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27792/" ]
My site is getting *404. That’s an error.* message when I click on cached from Google search results. This is the error message from Google: ``` That’s an error. ``` The requested URL `/search?q=cache:8kxLAgFrhZQJ:www.mysite.com.....&cd=8&hl=en&ct=clnk&gl=uk` was not found on this server. That’s all we know. What ...
You should login to Google Webmaster Tools and do a [fetch as Google](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=158587), if the page returns a status 200 then you know that your pages are working as intended and what you're experiencing is just the Google cache service not working, which should re...
48,195
<p>I am using a web shop software and for some reason the main page (<code>http://www.mysite.com/</code>) is not being listed / generated within the automatic sitemap.xml while every other page is. </p> <p><strong>My question now:</strong> Without dabbling to much into technicalities and why the page is not being gene...
[ { "answer_id": 48216, "author": "Itai", "author_id": 5806, "author_profile": "https://webmasters.stackexchange.com/users/5806", "pm_score": 2, "selected": true, "text": "<p>No. There will not be a problem. At least Google will merge and ignore issues between sitemaps such as duplicate en...
2013/05/08
[ "https://webmasters.stackexchange.com/questions/48195", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27820/" ]
I am using a web shop software and for some reason the main page (`http://www.mysite.com/`) is not being listed / generated within the automatic sitemap.xml while every other page is. **My question now:** Without dabbling to much into technicalities and why the page is not being generated in the first place I would l...
No. There will not be a problem. At least Google will merge and ignore issues between sitemaps such as duplicate entries. That being said, it is probably less maintenance to fix the source problem. It really *should* not be that hard even if it takes special code in the sitemap generated to just add the homepage at t...
48,213
<p>I am building a multilingual website (from Spanish origins) however there will be English, Chinese, Spanish, and French users.</p> <p>We are about to buy a domain however I am confused as to what language I should go with...</p> <p>How does Google go about indexing these things, mainly URLs.</p> <p>For example if...
[ { "answer_id": 48215, "author": "nathangiesbrecht", "author_id": 15209, "author_profile": "https://webmasters.stackexchange.com/users/15209", "pm_score": 0, "selected": false, "text": "<p>Yes, Google and other search engine spiders will crawl multiple languages. You will want to use uniq...
2013/05/08
[ "https://webmasters.stackexchange.com/questions/48213", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20933/" ]
I am building a multilingual website (from Spanish origins) however there will be English, Chinese, Spanish, and French users. We are about to buy a domain however I am confused as to what language I should go with... How does Google go about indexing these things, mainly URLs. For example if my domain is www.blanco...
Google searches and indexes multiple languages. There are tons of question on this site about how to organize based on languages (paths, sub-domains, auto-detection, TLDs, etc). However, it does not search automatically for translated keywords as you suggest. The assumption is that if someone is searching in a languag...
48,218
<p>I hope my title makes sense. Here is what I have: On our previous website, we had URLs similar to the following:</p> <p>www.example.com/support/BIOS/JXT/0ABWDA22.zip</p> <p>This same file on our new site has the structure:</p> <p>www.example.com/wp-content/uploads/support/BIOS/JXT/0ABWDA22.zip</p> <p>However our...
[ { "answer_id": 48215, "author": "nathangiesbrecht", "author_id": 15209, "author_profile": "https://webmasters.stackexchange.com/users/15209", "pm_score": 0, "selected": false, "text": "<p>Yes, Google and other search engine spiders will crawl multiple languages. You will want to use uniq...
2013/05/08
[ "https://webmasters.stackexchange.com/questions/48218", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27833/" ]
I hope my title makes sense. Here is what I have: On our previous website, we had URLs similar to the following: www.example.com/support/BIOS/JXT/0ABWDA22.zip This same file on our new site has the structure: www.example.com/wp-content/uploads/support/BIOS/JXT/0ABWDA22.zip However our new site also has a page locat...
Google searches and indexes multiple languages. There are tons of question on this site about how to organize based on languages (paths, sub-domains, auto-detection, TLDs, etc). However, it does not search automatically for translated keywords as you suggest. The assumption is that if someone is searching in a languag...
48,291
<p>Here's a hypothetical from both an SEO and semantic HTML/content architecture perspective:</p> <p><br></p> <h2>Consistent code</h2> <p>When building a multi-page site, adopting the following architecture <strong>on all pages</strong> is pretty <em>common for code manageability</em>:</p> <pre><code>&lt;h1&gt;Comp...
[ { "answer_id": 48293, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p>Many people assume that you should only ever use one H1 on the page otherwise it dilutes the actual cont...
2013/05/10
[ "https://webmasters.stackexchange.com/questions/48291", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19629/" ]
Here's a hypothetical from both an SEO and semantic HTML/content architecture perspective: Consistent code --------------- When building a multi-page site, adopting the following architecture **on all pages** is pretty *common for code manageability*: ``` <h1>Company Name</h1> <h1>Company Name</h1> <h1>Company N...
The story of 20% SEO is not acceptable. Google clearly identifies the different reasons for publishing 2 or more H1 tgs in the same HTML page if each H1 tag belongs to/ is wrapped by each section tag. In semantic HTML 5, each SECTION tag must have at least one H tag (typically H1 or H2 as appropriate). In your case, i...
48,302
<p>How do I use this <code>RedirectMatch</code> with limiting by IP address?</p> <p>This is what I have right now, and it works as is: </p> <pre><code>RewriteRule ^dir.*$ http://www.mysite.org/otherdir/ [R=302,L] </code></pre> <p>I want this to work only if <em>not</em> accessed from two different IP addresses. A vi...
[ { "answer_id": 48293, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p>Many people assume that you should only ever use one H1 on the page otherwise it dilutes the actual cont...
2013/05/10
[ "https://webmasters.stackexchange.com/questions/48302", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/24176/" ]
How do I use this `RedirectMatch` with limiting by IP address? This is what I have right now, and it works as is: ``` RewriteRule ^dir.*$ http://www.mysite.org/otherdir/ [R=302,L] ``` I want this to work only if *not* accessed from two different IP addresses. A visit from any other IP address should execute this c...
The story of 20% SEO is not acceptable. Google clearly identifies the different reasons for publishing 2 or more H1 tgs in the same HTML page if each H1 tag belongs to/ is wrapped by each section tag. In semantic HTML 5, each SECTION tag must have at least one H tag (typically H1 or H2 as appropriate). In your case, i...
48,326
<p>I have apache installed, and I would like (using php/and or javascript, html) to do the following but I do not know how.</p> <ol> <li>To send my client to the server a value x</li> <li>The server to increase x by one and to send it to client</li> <li>Client divides it by two and sends it to server</li> <li>server s...
[ { "answer_id": 48338, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>Here is a very simple PHP script to get you started:</p>\n\n<pre><code>&lt;?php \n if($_GET['v'])...
2013/05/11
[ "https://webmasters.stackexchange.com/questions/48326", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27519/" ]
I have apache installed, and I would like (using php/and or javascript, html) to do the following but I do not know how. 1. To send my client to the server a value x 2. The server to increase x by one and to send it to client 3. Client divides it by two and sends it to server 4. server send the h((x+1)/2) back to clie...
You would like to use Ajax. I would recommend you use some kind of javascript library to handle the ajax calls. > > "With Ajax, web applications can send data to and retrieve data from a > server." > > > Here is a sample. **Javascript** (jquery) ``` var x, divided, result; x = 6; divided = $.ajax({ type: ...
48,390
<p>I have a website with a file structure a bit like this....</p> <pre><code>/webroot/folder1/main - php, css etc files in here /webroot/folder1/data/images - images in here </code></pre> <p>I.e. <code>www.mydomain.com/index.php</code> will point to the files in <code>/webroot/folder1/main/</code></p> ...
[ { "answer_id": 48401, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>Assuming that I'm correct then your structure is like so:</p>\n\n<p><code>/webroot/folder1/main/index.ph...
2013/05/13
[ "https://webmasters.stackexchange.com/questions/48390", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19506/" ]
I have a website with a file structure a bit like this.... ``` /webroot/folder1/main - php, css etc files in here /webroot/folder1/data/images - images in here ``` I.e. `www.mydomain.com/index.php` will point to the files in `/webroot/folder1/main/` And, for example, in .css there might be a referenc...
There is no way to reference those image files through HTML or CSS. Your "web root" is `/webroot/folder1/main/` - that folder on the server corresponds to the root of your domain. So a file at `/webroot/folder1/main/page.html` on the server is accessed on `http://example.com/page.html`. Everything below the main folde...
48,476
<p>I'm using <a href="http://fancyapps.com/fancybox/" rel="nofollow noreferrer">fancybox 2</a> with the following code (<a href="http://jsfiddle.net/uZCC6/" rel="nofollow noreferrer">demo here</a>): </p> <pre><code>&lt;a class="fancybox" href="http://a.com/bmw-328-manual-2008-black-18-inch-rims.jpg" title"bmw 328 ma...
[ { "answer_id": 48477, "author": "Anthony Hatzopoulos", "author_id": 17132, "author_profile": "https://webmasters.stackexchange.com/users/17132", "pm_score": 3, "selected": true, "text": "<p>No you shouldn't concern yourself, it makes perfect user sense.</p>\n\n<p>If you want to be nice t...
2013/05/14
[ "https://webmasters.stackexchange.com/questions/48476", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/18576/" ]
I'm using [fancybox 2](http://fancyapps.com/fancybox/) with the following code ([demo here](http://jsfiddle.net/uZCC6/)): ``` <a class="fancybox" href="http://a.com/bmw-328-manual-2008-black-18-inch-rims.jpg" title"bmw 328 manual 2008 black 18 inch rims"> <img alt="bmw 328 manual 2008 black 18 inch rims" src="http:...
No you shouldn't concern yourself, it makes perfect user sense. If you want to be nice to those with javascript disabled though you could place a `<noscript>` element with your hidden images. I would also put the photo numbers in the alt tags, something like `alt="Photo #2 of bmw 328 manual 2008 black 18 inch rims"`
48,499
<p>Hello and thanks to all who contribute to this seemingly mind boggling puzzle. I apologize in advance if <em>.htaccess</em> questions belong on server fault.</p> <p>So I have to move a domain to our hosting servers, this domain will be redirected to another existing website. We need to redirect the individual pages...
[ { "answer_id": 48569, "author": "Duncan Lock", "author_id": 5067, "author_profile": "https://webmasters.stackexchange.com/users/5067", "pm_score": 0, "selected": false, "text": "<p>You could try using a <a href=\"http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect\" rel=\"nofoll...
2013/05/15
[ "https://webmasters.stackexchange.com/questions/48499", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/18842/" ]
Hello and thanks to all who contribute to this seemingly mind boggling puzzle. I apologize in advance if *.htaccess* questions belong on server fault. So I have to move a domain to our hosting servers, this domain will be redirected to another existing website. We need to redirect the individual pages to their respect...
This should work for files of any extension: ``` RewriteEngine on RewriteCond %{QUERY_STRING} ^/(.*\..*)$ RewriteRule ^index\.php$ http://www.newsite.com/%1? [L,R=301] ``` Or to redirect the entire path and file request: ``` RewriteEngine on RewriteCond %{QUERY_STRING} ^/(.*)(\..*)$ RewriteRule ^index\.php$ http://...
48,502
<p>I have a simple web page hosted in an EC2 machine, using nginx. Let's say my web page is reachable by:</p> <pre><code>http://&lt;my_ec2_machine_static_ip&gt;/my_web_page </code></pre> <p>I've put a Google Analytics tracking code inside my page, in the head section. After that, I've bought a domain name, and redire...
[ { "answer_id": 48503, "author": "Carlos Azaustre", "author_id": 28032, "author_profile": "https://webmasters.stackexchange.com/users/28032", "pm_score": 2, "selected": false, "text": "<p>I try this and it works for me:</p>\n\n<p>Insert the script code below at the end of your HTML code, ...
2013/05/15
[ "https://webmasters.stackexchange.com/questions/48502", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28031/" ]
I have a simple web page hosted in an EC2 machine, using nginx. Let's say my web page is reachable by: ``` http://<my_ec2_machine_static_ip>/my_web_page ``` I've put a Google Analytics tracking code inside my page, in the head section. After that, I've bought a domain name, and redirected it to the above address. ...
Since you are using Amazon, there is no reason for you to use your domain providers "invisible redirection". Instead you should: 1. [Sign up for Amazon AWS Route 53 DNS Service](http://aws.amazon.com/route53/) 2. In route 53, create a "Hosted Zone" for your domain 3. Add an A records for both `.yourdomain.com` and `ww...
48,505
<p>I have a Solaris server running Apache, and I am using the following .htaccess to generate automatic indexes.</p> <pre><code>Options +Indexes # SET INDEX OPTIONS IndexOptions +NameWidth=* </code></pre> <p>Where does the "Last modified" date come from in the index that is generated?</p> <p><img src="https://i.stac...
[ { "answer_id": 48507, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": true, "text": "<p><a href=\"http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html\" rel=\"nofollow\">The documenta...
2013/05/15
[ "https://webmasters.stackexchange.com/questions/48505", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28034/" ]
I have a Solaris server running Apache, and I am using the following .htaccess to generate automatic indexes. ``` Options +Indexes # SET INDEX OPTIONS IndexOptions +NameWidth=* ``` Where does the "Last modified" date come from in the index that is generated? ![index screenshot](https://i.stack.imgur.com/NgQrv.png) ...
[The documentation states](http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html): > > [Last-modified] is only valid if the operating system and file system return appropriate stat() results. > > > Since it is not working for your system, you can turn off the last-modified with: `IndexOptions SuppressLastModifi...
48,522
<p>Hi I have configured Virtual host on apache with <em>.htaccess</em> authentication with SSL. It's working fine when I typed url <code>https://www.example.com:9004/test.php</code> but when I typed <code>http://www.example.com:9004/test.php</code> I am getting this error:</p> <pre><code>Bad Request Your browser sent...
[ { "answer_id": 48524, "author": "Ivo van der Veeken", "author_id": 28048, "author_profile": "https://webmasters.stackexchange.com/users/28048", "pm_score": 2, "selected": false, "text": "<pre><code>RewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST...
2013/05/16
[ "https://webmasters.stackexchange.com/questions/48522", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28023/" ]
Hi I have configured Virtual host on apache with *.htaccess* authentication with SSL. It's working fine when I typed url `https://www.example.com:9004/test.php` but when I typed `http://www.example.com:9004/test.php` I am getting this error: ``` Bad Request Your browser sent a request that this server could not under...
``` RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] ``` Should do the trick.
48,548
<p>I got this error and I can't figure out what is going on. I am positive the _layout.cshtml resides in the shared folder and for the sake of trying things out, I moved to the Home folder and it then told that the Views/Home/_Layout.cshtml couldn't be found there either. So now I'm thinking the problem is in the call ...
[ { "answer_id": 48552, "author": "LOTUSMS", "author_id": 27794, "author_profile": "https://webmasters.stackexchange.com/users/27794", "pm_score": 1, "selected": false, "text": "<p>In case someone is interested or had the same problem. It seems this may be a problem with the server (hence,...
2013/05/16
[ "https://webmasters.stackexchange.com/questions/48548", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/27794/" ]
I got this error and I can't figure out what is going on. I am positive the \_layout.cshtml resides in the shared folder and for the sake of trying things out, I moved to the Home folder and it then told that the Views/Home/\_Layout.cshtml couldn't be found there either. So now I'm thinking the problem is in the call f...
if you rename your project you can get that error. Solution is simple. Just remove tilda (~) -> /View/.... instead of ~/View..., also in your \_Layout file remove tilda from all links
48,625
<p>I'm creating a WP plugin and I have the <strong>source URL</strong> for the image and the <strong>CDN URL</strong> to the image as well that is generated by replacing the host to the CDN host. Which is better, if I add the source URL and expose the image to the index without the CDN, or add the CDN URL and risk that...
[ { "answer_id": 48638, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": true, "text": "<p>I believe that Google will only follow that below to the TLD domain so subdomains such as <code>cdn.yourd...
2013/05/19
[ "https://webmasters.stackexchange.com/questions/48625", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28124/" ]
I'm creating a WP plugin and I have the **source URL** for the image and the **CDN URL** to the image as well that is generated by replacing the host to the CDN host. Which is better, if I add the source URL and expose the image to the index without the CDN, or add the CDN URL and risk that it's on a different domain o...
I believe that Google will only follow that below to the TLD domain so subdomains such as `cdn.yourdomain.com` will work but a completely different domain will not. Most if not all CDN networks you can setup your domain to work in harmony with one another and should be no reason to use another domain. *Personally not...
48,680
<p>I have a application that running on apache web server, is there any way under apache logs i can identify name / ip address of user who logged into the system.</p> <p>And also the date / time of who last opened or accessed the logs?</p>
[ { "answer_id": 48681, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>Apache by default only logs access and errors, Since accessing a user login authentication is handled by...
2013/05/20
[ "https://webmasters.stackexchange.com/questions/48680", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/18735/" ]
I have a application that running on apache web server, is there any way under apache logs i can identify name / ip address of user who logged into the system. And also the date / time of who last opened or accessed the logs?
Your Apache access logs should log the IP address of visitors by default. If your CMS system handles the login and sets a cookie for the logged in user, you must have Apache log that cookie to be able to see the logged in user. You can do so by modifying the log config with the name of the cookie: `%{Foobar}C` (where...
48,689
<p>I'd like to ask you if you can tell me why I can't get Vhost in Apache to work my Vhostconf is:</p> <pre><code>NameVirtualHost *:80 &lt;VirtualHost _default_:80&gt; ServerAdmin webmaster@dummy-host2.example.com DocumentRoot "E:/Archivos de programa/Zend/Apache2/htdocs" ServerName localhost &lt;Directory "E:/Ar...
[ { "answer_id": 48687, "author": "John Jameson", "author_id": 28154, "author_profile": "https://webmasters.stackexchange.com/users/28154", "pm_score": 0, "selected": false, "text": "<p>It is a good solution. The only thing you must not do to change the meta on an existing site. Create it ...
2013/05/20
[ "https://webmasters.stackexchange.com/questions/48689", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28155/" ]
I'd like to ask you if you can tell me why I can't get Vhost in Apache to work my Vhostconf is: ``` NameVirtualHost *:80 <VirtualHost _default_:80> ServerAdmin webmaster@dummy-host2.example.com DocumentRoot "E:/Archivos de programa/Zend/Apache2/htdocs" ServerName localhost <Directory "E:/Archivos de programa/Zend...
Meta keywords have [zero effect on rankings in Google](http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html) and most major search engines. So while your suggestion is a valid one, it's honestly not worth wasting a second on using meta keywords at all.
48,726
<p>We're seeing requests to our server with the literal <code>[object]</code> replacing the values where parameters should be. For example: <code>http://example.com/users/[object]</code>.</p> <p>I've found some suggestions that it might be something to do with IE9 but we can't quite nail it down. See <a href="http://w...
[ { "answer_id": 74680, "author": "Ortomala Lokni", "author_id": 39146, "author_profile": "https://webmasters.stackexchange.com/users/39146", "pm_score": 1, "selected": false, "text": "<p>The URL's you see in your log files are probably generated by a JavaScript coming from an old Internet...
2013/05/21
[ "https://webmasters.stackexchange.com/questions/48726", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28170/" ]
We're seeing requests to our server with the literal `[object]` replacing the values where parameters should be. For example: `http://example.com/users/[object]`. I've found some suggestions that it might be something to do with IE9 but we can't quite nail it down. See [this](http://www.webmasterworld.com/webmaster/45...
The URL's you see in your log files are probably generated by a JavaScript coming from an old Internet Explorer. In a modern browser, in JavaScript, if you convert an object to a string and if the [Object.prototype.toString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toSt...
48,777
<p>I'm setting up a multilanguage website and I would like to have your help to take the best decision as regard SEO. After reading <a href="https://webmasters.stackexchange.com/a/44289/14543">this</a>.</p> <p>I would like to change my URLs from this form <code>www.mywebsite.com/page?lang=es</code> to <code>www.mywebs...
[ { "answer_id": 48767, "author": "Prasad Ajinkya", "author_id": 19699, "author_profile": "https://webmasters.stackexchange.com/users/19699", "pm_score": 2, "selected": false, "text": "<p>There is a benefit to releasing in batches, since it will not trigger alarms for the spam team at Goog...
2013/05/22
[ "https://webmasters.stackexchange.com/questions/48777", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28207/" ]
I'm setting up a multilanguage website and I would like to have your help to take the best decision as regard SEO. After reading [this](https://webmasters.stackexchange.com/a/44289/14543). I would like to change my URLs from this form `www.mywebsite.com/page?lang=es` to `www.mywebsite.com/es/page?lang=es`. I need to k...
It's recommend that you do not release in big chunks by Google for their algorithms but this doesn't mean you can't, it just means that the content will be checked and may take longer to appear into the results, already trusted sites are likely to be ok. From a SEO stand point its in your best interest to release in ...
48,785
<p>I have a scenario where my sitemaps are generated when visiting <code>/sitemap.xml</code> due to the contents being dynamic in nature. For that reason I'd like to not call the services that are used to create my sitemap when a user visits but it should generate contents when Google or Bingbot visits the link. I have...
[ { "answer_id": 48789, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p>If I read your question right is that basically you do not want users or any other bots than Bing and Go...
2013/05/22
[ "https://webmasters.stackexchange.com/questions/48785", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28220/" ]
I have a scenario where my sitemaps are generated when visiting `/sitemap.xml` due to the contents being dynamic in nature. For that reason I'd like to not call the services that are used to create my sitemap when a user visits but it should generate contents when Google or Bingbot visits the link. I have code to detec...
I wouldn't worry about "cloaking" on files that are meant only for the consumption of robots. Showing a `403 Forbidden` status when the user-agent isn't Googlebot should be fine on a sitemap file. Google cares about cloaking when users see different results than Googlebot. In this case, Google is never going to refer u...
48,808
<p>So I got a VPS set up (LAMP) and have transfered a couple of sites over. Now I want to point my domain names from the old host to the new VPS host, which does not have any name servers yet. </p> <p>On my registrars console I have set the domain name 'www.mydomain.com' domain host settings to point to my VPS's ip ad...
[ { "answer_id": 48812, "author": "Nick", "author_id": 7198, "author_profile": "https://webmasters.stackexchange.com/users/7198", "pm_score": 3, "selected": false, "text": "<p>It sounds like your domain records have not propagated yet. This means that the domain name servers around the wor...
2013/05/23
[ "https://webmasters.stackexchange.com/questions/48808", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21289/" ]
So I got a VPS set up (LAMP) and have transfered a couple of sites over. Now I want to point my domain names from the old host to the new VPS host, which does not have any name servers yet. On my registrars console I have set the domain name 'www.mydomain.com' domain host settings to point to my VPS's ip address, eg:...
It sounds like your domain records have not propagated yet. This means that the domain name servers around the world that store a record of your domain information haven't updated with the latest details, so they are still 'sending' visitors to your old server. The solution is to wait. It can take between 0 and 48 hou...
48,851
<p>Certain CMS' running on <a href="http://en.wikipedia.org/wiki/Internet_Information_Services">IIS</a> like <a href="http://en.wikipedia.org/wiki/List_of_content_management_systems#Proprietary_software">Sitecore</a> do not give image files appropriate file formats like <code>.png</code> or <code>.jpg</code> by default...
[ { "answer_id": 48852, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 2, "selected": false, "text": "<p>Regardless of the \"type of\" file requested from the server (as would seem to be suggested by the file \".ashx...
2013/05/24
[ "https://webmasters.stackexchange.com/questions/48851", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19629/" ]
Certain CMS' running on [IIS](http://en.wikipedia.org/wiki/Internet_Information_Services) like [Sitecore](http://en.wikipedia.org/wiki/List_of_content_management_systems#Proprietary_software) do not give image files appropriate file formats like `.png` or `.jpg` by default, but instead link to images as: ``` <img src=...
To answer your question: no, it should not pose a problem for SEO. Why not - given that `ashx` has nothing to do with images, you ask? Because of the `MIME type` being sent with the file header. The `.png` file ending is actually not what determine what the browser has to interpret, but rather the file headers of the...
48,864
<p>I've read around in the past that Google frowns on all caps like "THIS IS MY WEBSITE". But, I wanted to know if they also frown upon capitalized words in general, like in a case like where a name is supposed to be completely capitalized.</p> <p>Like if a brand had explicitly established itself as all caps because o...
[ { "answer_id": 48859, "author": "Nick", "author_id": 7198, "author_profile": "https://webmasters.stackexchange.com/users/7198", "pm_score": 2, "selected": false, "text": "<p>I suggest reading the <a href=\"http://docs.python.org/2/howto/webservers.html\" rel=\"nofollow\">official Python ...
2013/05/24
[ "https://webmasters.stackexchange.com/questions/48864", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26853/" ]
I've read around in the past that Google frowns on all caps like "THIS IS MY WEBSITE". But, I wanted to know if they also frown upon capitalized words in general, like in a case like where a name is supposed to be completely capitalized. Like if a brand had explicitly established itself as all caps because of general ...
I suggest reading the [official Python docs](http://docs.python.org/2/howto/webservers.html) that explain how to run Python on a web server. In short, they recommend WSGI. For Apache, there's a ["quick" installation guide](https://code.google.com/p/modwsgi/wiki/QuickInstallationGuide) on the mod\_wsgi Google project p...
48,869
<p>Is there a way to monitor the activity of a web server via the command line. </p> <p>I have seen in many movies webmasters watching a command line screen in which data is continuously moving up, seems to me more like a web server activity monitor. Like as seen in this <a href="http://www.facebook.com/photo.php?v=48...
[ { "answer_id": 48871, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 3, "selected": true, "text": "<p>The video that you have linked does not look like real time monitering it just looks like SSH and they ar...
2013/05/24
[ "https://webmasters.stackexchange.com/questions/48869", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/17079/" ]
Is there a way to monitor the activity of a web server via the command line. I have seen in many movies webmasters watching a command line screen in which data is continuously moving up, seems to me more like a web server activity monitor. Like as seen in this [video at 1.48](http://www.facebook.com/photo.php?v=48399...
The video that you have linked does not look like real time monitering it just looks like SSH and they are preforming SSH commands such as GREP and CURL, or they are viewing files that contain scripts and just scrolling down. It's worth mentioning that generally when news companies make videos they want the IT guys to...
48,915
<p>My sitemap claims they have indexed over 3 thousand pages from it but when i do a site command in Google</p> <pre><code>site:http://domain.com </code></pre> <p>It returns 200 pages. I have heard of the sitemap index count reporting less pages than what Google is showing but not more, why is that and will the resul...
[ { "answer_id": 48916, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 2, "selected": false, "text": "<p>As long as I can remember, Google has always capped the number of results that are given on any on searc...
2013/05/26
[ "https://webmasters.stackexchange.com/questions/48915", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28320/" ]
My sitemap claims they have indexed over 3 thousand pages from it but when i do a site command in Google ``` site:http://domain.com ``` It returns 200 pages. I have heard of the sitemap index count reporting less pages than what Google is showing but not more, why is that and will the results update? Since a few da...
As long as I can remember, Google has always capped the number of results that are given on any on search, so if you was to search for a "keyword" then the limit would be 1,000 this rule also applies to `site:` query. However Google `site:` does report the total number of pages found within the search at the top of th...
48,931
<p>I have a web application, and it has a RESTful PHP backend that uses Zend framework (which does its own URL rewriting magic).</p> <p>The problem is, my backend's entry-page is <code>api.php</code> and the endpoints look like:</p> <pre><code>api.php/resource1 api.php/resource2/id </code></pre> <p>All I want to do ...
[ { "answer_id": 48934, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p>Rewrite rule in <em>.htaccess</em>:</p>\n\n<pre><code>RewriteRule ^test(/.*)?$ test.php?path=$1\n...
2013/05/27
[ "https://webmasters.stackexchange.com/questions/48931", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20638/" ]
I have a web application, and it has a RESTful PHP backend that uses Zend framework (which does its own URL rewriting magic). The problem is, my backend's entry-page is `api.php` and the endpoints look like: ``` api.php/resource1 api.php/resource2/id ``` All I want to do is remove the `.php` file extension so my UR...
Rewrite rule in *.htaccess*: ``` RewriteRule ^test(/.*)?$ test.php?path=$1 ``` Contents of `test.php`: ``` <?php if($_GET['path']){ echo ($_GET['path']); } ?> ``` Then when I hit `/test/foo/bar` on my server, the PHP page prints out `/foo/bar`.
48,939
<p>I want to publish a review of 100 dating websites. I didn't contact all site managers, some of them didn't reply. Am I allowed to publish description for each dating site and publish also a screenshot of their site? I hope anybody have any clue if this is legally allowed.</p>
[ { "answer_id": 48934, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": true, "text": "<p>Rewrite rule in <em>.htaccess</em>:</p>\n\n<pre><code>RewriteRule ^test(/.*)?$ test.php?path=$1\n...
2013/05/27
[ "https://webmasters.stackexchange.com/questions/48939", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28345/" ]
I want to publish a review of 100 dating websites. I didn't contact all site managers, some of them didn't reply. Am I allowed to publish description for each dating site and publish also a screenshot of their site? I hope anybody have any clue if this is legally allowed.
Rewrite rule in *.htaccess*: ``` RewriteRule ^test(/.*)?$ test.php?path=$1 ``` Contents of `test.php`: ``` <?php if($_GET['path']){ echo ($_GET['path']); } ?> ``` Then when I hit `/test/foo/bar` on my server, the PHP page prints out `/foo/bar`.
48,945
<p>I've googled a bit if it's better to use language-specific URL's and most of the answers said yes. For example, for the about page it is better to use:</p> <pre><code>/en/about-us/ /de/uber-uns/ </code></pre> <p>Than it is to use:</p> <pre><code>/en/about-us/ /de/about-us/ </code></pre> <p>And the reason, they s...
[ { "answer_id": 48983, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 2, "selected": true, "text": "<p>\"Read more\" is commonly used as anchor text. You must have links on your site pointing to this ...
2013/05/28
[ "https://webmasters.stackexchange.com/questions/48945", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23930/" ]
I've googled a bit if it's better to use language-specific URL's and most of the answers said yes. For example, for the about page it is better to use: ``` /en/about-us/ /de/uber-uns/ ``` Than it is to use: ``` /en/about-us/ /de/about-us/ ``` And the reason, they say, is keywords. So keywords for (in this case) G...
"Read more" is commonly used as anchor text. You must have links on your site pointing to this page that that use "read more" as the anchor text. Google will occasionally title a page with incoming anchor text when it can't figure out what the title should be in any other way. That generally means that one of the foll...
48,956
<p>I have four domains:</p> <pre><code>domain.in domain.com domain.org domain.co.in </code></pre> <p>I want to make <code>domain.in</code> as my main domain. I want to forward all my other domains to it. I want to set up forwarding such that:</p> <ol> <li><code>domain.com</code> goes to <code>domain.in</code></li> <...
[ { "answer_id": 48970, "author": "PeggyP", "author_id": 26901, "author_profile": "https://webmasters.stackexchange.com/users/26901", "pm_score": 0, "selected": false, "text": "<p>There is no need to redirect <em>utm</em> parameter page and main page separately. You can just implement them...
2013/05/28
[ "https://webmasters.stackexchange.com/questions/48956", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28356/" ]
I have four domains: ``` domain.in domain.com domain.org domain.co.in ``` I want to make `domain.in` as my main domain. I want to forward all my other domains to it. I want to set up forwarding such that: 1. `domain.com` goes to `domain.in` 2. `www.domain.com` goes to `www.domain.in` 3. `xyz.domain.com` goes to `xy...
Use the query string in the new URLs. You want the customer to find the right page, and the SEO will look at the new page's contents.
48,993
<p>Please I like to know why I can't use my one IP on my nameserver like:</p> <pre><code>ns1.mydomain.com = 67.111.78.12 ns2.mydomain.com = (but the IP could be assigned here) </code></pre>
[ { "answer_id": 48999, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 3, "selected": false, "text": "<p>To keep your website up and running you should have multiple name servers. You are required to p...
2013/05/29
[ "https://webmasters.stackexchange.com/questions/48993", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28378/" ]
Please I like to know why I can't use my one IP on my nameserver like: ``` ns1.mydomain.com = 67.111.78.12 ns2.mydomain.com = (but the IP could be assigned here) ```
To keep your website up and running you should have multiple name servers. You are required to provide two, but three or four are recommended. Putting in the same IP address for both means that if that server goes down, your website goes down as well. For best results, the name servers you use should be distributed aro...
49,007
<p>Using Apple as an example:</p> <pre><code> www.apple.com &lt; --- Main company site www.iphone.com &lt;--- Product www.imac.com &lt;-- Product </code></pre> <p>If each company product had its own domain name and a unique webpage or website containing an anchor link back to the main company site, would that in...
[ { "answer_id": 49012, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 2, "selected": false, "text": "<p>Any website that links to another site will help increase its PageRank; in a nutshell that is how PageRank is cal...
2013/05/29
[ "https://webmasters.stackexchange.com/questions/49007", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28389/" ]
Using Apple as an example: ``` www.apple.com < --- Main company site www.iphone.com <--- Product www.imac.com <-- Product ``` If each company product had its own domain name and a unique webpage or website containing an anchor link back to the main company site, would that increase the PageRank for the main co...
[PageRank](http://en.wikipedia.org/wiki/PageRank) is purely URL/page-based, so whether you have `http://example.com/page`, `http://page.example.com` or `http://example-page.com/` would not change anything in how PageRank is calculated. Using a 301-redirect to forward users (and search-engine signals like PageRank) to ...
49,008
<p>I need to disallow some URLs on my site but I am not sure how to do that. I have a site that has products and reviews. When someone makes a review, the site generates a URL automatically like this:</p> <pre><code>mysite.com/addreview_1.htm mysite.com/addreview_2.htm .... mysite.com/addreview_9999.htm </code></pre>...
[ { "answer_id": 49009, "author": "Kris", "author_id": 221, "author_profile": "https://webmasters.stackexchange.com/users/221", "pm_score": 1, "selected": false, "text": "<p>You can add a wildcard entry to the robots.txt like:</p>\n\n<pre><code>Disallow: /addreview*\n</code></pre>\n\n<p>Go...
2013/05/29
[ "https://webmasters.stackexchange.com/questions/49008", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28391/" ]
I need to disallow some URLs on my site but I am not sure how to do that. I have a site that has products and reviews. When someone makes a review, the site generates a URL automatically like this: ``` mysite.com/addreview_1.htm mysite.com/addreview_2.htm .... mysite.com/addreview_9999.htm ``` I need some way to dis...
You can add a wildcard entry to the robots.txt like: ``` Disallow: /addreview* ``` Google and other big players will honor the wildcards, but as this is a more recent addition to the robots.txt specification, there are probably still crawlers that ignore it. This will also only work if the URLs you want to disallow...
49,024
<p>For example, I have link <code>rel prev &amp; next</code> set up on these pages of products:</p> <pre><code>site.com?page=2 site.com?page=3 </code></pre> <p>(this is my preferred structure by the way and I'm trying to get all the ugly URLs which are littered with query variables deindexed as they are causing dupli...
[ { "answer_id": 49031, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 0, "selected": false, "text": "<p>If you are working to get these deindexed then there is no point having these tags as Google wont read them. </p>...
2013/05/29
[ "https://webmasters.stackexchange.com/questions/49024", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21100/" ]
For example, I have link `rel prev & next` set up on these pages of products: ``` site.com?page=2 site.com?page=3 ``` (this is my preferred structure by the way and I'm trying to get all the ugly URLs which are littered with query variables deindexed as they are causing duplicate content). So the above URLs are fi...
The `rel` values `next` and `prev` are not only useful to search engines. They denote the relationship type, i.e. how the link target is related to the current page. So, why would you want to omit them? They have no influence on (de)indexing if you block the pages with `robots.txt` resp. `robots`-`meta`. You wouldn’t...
49,025
<p>Recently I've started learning <code>Laravel</code> , I have none experience with framework before. I'm encountering the following problem .I'm trying to configure the <em>.htaccess</em> file so I can have clean <code>URLs</code> but the only thing I get are <code>404 Not Found</code> error pages. I have created a v...
[ { "answer_id": 49103, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 4, "selected": true, "text": "<p>I think I see your problem. You are adding an extra question mark in your rewrite rule.</p>\n\n<p...
2013/05/29
[ "https://webmasters.stackexchange.com/questions/49025", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28251/" ]
Recently I've started learning `Laravel` , I have none experience with framework before. I'm encountering the following problem .I'm trying to configure the *.htaccess* file so I can have clean `URLs` but the only thing I get are `404 Not Found` error pages. I have created a virtual host - you can see below the configu...
I think I see your problem. You are adding an extra question mark in your rewrite rule. ``` RewriteRule ^(.*)$ index.php?/$1 [L] ``` Should be ``` RewriteRule ^(.*)$ index.php/$1 [L] ``` based on the example urls your provide. `http://laravel.lar/index.php/about/` doesn't have a question mark in it after `index.p...
49,047
<p>I am finding that my web pages' images are always getting loaded from my server, even though they never change. Since these are images, not pages, I can't include an expiration date for them... How can I tell browsers to avoid reloading images they already have?</p> <p><strong>Update:</strong><br> In PHP I tried us...
[ { "answer_id": 49049, "author": "Tim Fountain", "author_id": 1426, "author_profile": "https://webmasters.stackexchange.com/users/1426", "pm_score": 2, "selected": false, "text": "<p><code>ExpiresByType</code> is an Apache directive, not PHP. Typically you would put this in a <code>.htacc...
2013/05/30
[ "https://webmasters.stackexchange.com/questions/49047", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28420/" ]
I am finding that my web pages' images are always getting loaded from my server, even though they never change. Since these are images, not pages, I can't include an expiration date for them... How can I tell browsers to avoid reloading images they already have? **Update:** In PHP I tried using this: ``` header ...
`ExpiresByType` is an Apache directive, not PHP. Typically you would put this in a `.htaccess` file in the same folder as the images (or in the vhost): ``` ExpiresByType image/gif "modification plus 10 minutes" ``` You will need to have the Apache module `mod_expires` enabled for this to work.
49,053
<p>I am currently recoding a website from tables to modern html/css and have several 100 pages to go over.</p> <p>The problem is, each page has its own print version in another file, also with tables.</p> <p>Would it be acceptable to apply a print stylesheet instead of a different file for print?</p> <p>Also, when I...
[ { "answer_id": 49049, "author": "Tim Fountain", "author_id": 1426, "author_profile": "https://webmasters.stackexchange.com/users/1426", "pm_score": 2, "selected": false, "text": "<p><code>ExpiresByType</code> is an Apache directive, not PHP. Typically you would put this in a <code>.htacc...
2013/05/30
[ "https://webmasters.stackexchange.com/questions/49053", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23028/" ]
I am currently recoding a website from tables to modern html/css and have several 100 pages to go over. The problem is, each page has its own print version in another file, also with tables. Would it be acceptable to apply a print stylesheet instead of a different file for print? Also, when I click on print button o...
`ExpiresByType` is an Apache directive, not PHP. Typically you would put this in a `.htaccess` file in the same folder as the images (or in the vhost): ``` ExpiresByType image/gif "modification plus 10 minutes" ``` You will need to have the Apache module `mod_expires` enabled for this to work.
49,078
<p>We have all our international sites on our <code>.com</code> domain like this:</p> <pre><code>site.com/uk site.com/us etc... </code></pre> <p>When creating the sites in Webmaster Tools I've created different sites and submitted sitemaps for each directory so that we can appropriately geotarget the site.</p> <p>Is...
[ { "answer_id": 49068, "author": "sam", "author_id": 28440, "author_profile": "https://webmasters.stackexchange.com/users/28440", "pm_score": 0, "selected": false, "text": "<p>The <code>h1</code> tag should be utilized to provide an accurate description of the content on the entire page. ...
2013/05/31
[ "https://webmasters.stackexchange.com/questions/49078", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28451/" ]
We have all our international sites on our `.com` domain like this: ``` site.com/uk site.com/us etc... ``` When creating the sites in Webmaster Tools I've created different sites and submitted sitemaps for each directory so that we can appropriately geotarget the site. Is it also recommended to add the root `.com` ...
Keep it natural and serve best value for your audience. If you only repair HP computers, then this should be made pretty obvious when visitors land on your website. Page titles should contain this so users of search engines are aware of this prior to clicking through to your website. There oughtn't be a need for this ...
49,090
<p>I want to redirect a directory to another directory but I've hit a snag. I want to redirect <code>/directory_name</code> to <code>/new_directory_name</code> so I put this in my .htaccess:</p> <pre><code>RedirectMatch 301 /directory_name/(.*) /new_directory_name/$1 </code></pre> <p>Which worked fine BUT I also have...
[ { "answer_id": 49096, "author": "riseagainst", "author_id": 18576, "author_profile": "https://webmasters.stackexchange.com/users/18576", "pm_score": 2, "selected": true, "text": "<p>I don't know much about the subject, but I tried the following code on my server and it worked. Check it o...
2013/05/31
[ "https://webmasters.stackexchange.com/questions/49090", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6860/" ]
I want to redirect a directory to another directory but I've hit a snag. I want to redirect `/directory_name` to `/new_directory_name` so I put this in my .htaccess: ``` RedirectMatch 301 /directory_name/(.*) /new_directory_name/$1 ``` Which worked fine BUT I also have another directory called: ``` /images/director...
I don't know much about the subject, but I tried the following code on my server and it worked. Check it out. ``` RewriteEngine on RewriteCond %{HTTP_HOST} ^a\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.a\.com$ RewriteRule ^directory_a\/$ "http\:\/\/a\.com\/new_directory_a" [R=301,L] ```
49,290
<p>We have an e-shop which has pagination, sorting, and a 'results per page' limit option. What is the most SEO-friendly approach to structure my URLs?</p> <p>My first thought was:</p> <pre><code>http://www.example.com/category/filter/page:1/sort:price-asc/limit:20 </code></pre> <p>which is pretty ugly. And although...
[ { "answer_id": 49294, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<p>This Google Webmasters Tool answer should help you regarding recommended <a href=\"http://support.google.com/webm...
2013/06/06
[ "https://webmasters.stackexchange.com/questions/49290", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28595/" ]
We have an e-shop which has pagination, sorting, and a 'results per page' limit option. What is the most SEO-friendly approach to structure my URLs? My first thought was: ``` http://www.example.com/category/filter/page:1/sort:price-asc/limit:20 ``` which is pretty ugly. And although I could force the robots to inde...
This Google Webmasters Tool answer should help you regarding recommended [URL Structure](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=76329). In general, you want to keep your URL's as simple as possible, with the least number of parameters possible. You should also not submit too many links in site...
49,332
<p>I have two domains running on the same server with the same IP (different content).</p> <p>I have read that it is ok to provide only one sitemap containing information for both domains, so this is what the sitemap looks like (extract):</p> <pre><code>&lt;url&gt; &lt;loc&gt;http://www.domain1.tld/page1/&lt;/loc...
[ { "answer_id": 49333, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<p>Sites are not indexed per IP address because there can be many websites on a single server and IP.</p>\n\n<p>I wo...
2013/06/07
[ "https://webmasters.stackexchange.com/questions/49332", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21366/" ]
I have two domains running on the same server with the same IP (different content). I have read that it is ok to provide only one sitemap containing information for both domains, so this is what the sitemap looks like (extract): ``` <url> <loc>http://www.domain1.tld/page1/</loc> <changefreq>weekly</changefreq...
Here is [Google's documentation on multiple sitemaps](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=75712) The most likely cause of your error is that you have not verified each of the sites using webmaster tools. I would suggest that you: * Verify each site * Let Google know about the sitemap *for ...
49,334
<p>An XML sitemap generator plugin for WordPress puts the following strings in my <em>robots.txt</em> file: </p> <pre><code>User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ </code></pre> <p>But other WordPress blogs have lots of tags included in it. </p> <p>Also, my XML file's sitemap name looks like this:...
[ { "answer_id": 49335, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 3, "selected": false, "text": "<p>Yes, <code>sitemap.xml.gz</code>is a valid name. The <code>.gz</code> extension just means that it's been compres...
2013/06/07
[ "https://webmasters.stackexchange.com/questions/49334", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9353/" ]
An XML sitemap generator plugin for WordPress puts the following strings in my *robots.txt* file: ``` User-agent: * Disallow: /wp-admin/ Disallow: /wp-includes/ ``` But other WordPress blogs have lots of tags included in it. Also, my XML file's sitemap name looks like this: `sitemap.xml.gz`. How do I add other p...
Yes, `sitemap.xml.gz`is a valid name. The `.gz` extension just means that it's been compressed (using `gzip` compression), so that it's smaller and served faster. Most search engine bots can read gzip'd compressed content. You can edit the sitemap's XML content just by decompressing `sitemap.xml.gz` using a compressi...
49,422
<p>I don't get how <code>CNAME</code> DNS records work.</p> <p>I always thought setting </p> <pre><code>bar.example.org. CNAME foo.example.com. </code></pre> <p>would let me request <code>bar.example.org</code> and receive <code>foo.example.com</code> while I own the domain <code>foo.example.com</code>, and ...
[ { "answer_id": 49441, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": true, "text": "<p>I believe that's the Request URI, or the page that was loaded from your server. It gave a 500 error (which means n...
2013/06/10
[ "https://webmasters.stackexchange.com/questions/49422", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/21366/" ]
I don't get how `CNAME` DNS records work. I always thought setting ``` bar.example.org. CNAME foo.example.com. ``` would let me request `bar.example.org` and receive `foo.example.com` while I own the domain `foo.example.com`, and somebody else owns `bar.example.org`. That doesn't make sense, because I cou...
I believe that's the Request URI, or the page that was loaded from your server. It gave a 500 error (which means nothing was executed), but it looks like an attempted hack of some kind. Give me a few minutes, and I'll URL decode the string and see what they were trying to do and tell you if you really need to worry or ...
49,445
<p>Is it okay (SEO-wise) to construct the following line as such:</p> <pre><code>&lt;p&gt;These are the best &lt;h1&gt; Cheap Widgets &lt;/h1&gt; ever. &lt;/p&gt; </code></pre> <p>Wondering if this looks too unnatural for search engines? </p>
[ { "answer_id": 49449, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 5, "selected": false, "text": "<p>According to the W3C, the <a href=\"http://www.w3.org/TR/html-markup/p.html\">P</a> element can only contain othe...
2013/06/11
[ "https://webmasters.stackexchange.com/questions/49445", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28711/" ]
Is it okay (SEO-wise) to construct the following line as such: ``` <p>These are the best <h1> Cheap Widgets </h1> ever. </p> ``` Wondering if this looks too unnatural for search engines?
According to the W3C, the [P](http://www.w3.org/TR/html-markup/p.html) element can only contain other elements as listed here: [Phrasing Elements](http://www.w3.org/TR/html-markup/common-models.html#common.elem.phrasing). Therefore, that is syntactically incorrect and may result in a browser error (check Firefox's con...
49,462
<p>Since GTM doesn't support document.write() method the standard clicktale code doesn't work. Is there a workaround for this?</p> <p>ClickTale employee has sent me these instructions:</p> <pre><code>Replace the document.write JS line above with the following: document.body.appendChild(externalScript); Example: &lt...
[ { "answer_id": 49733, "author": "Dan Katz", "author_id": 28909, "author_profile": "https://webmasters.stackexchange.com/users/28909", "pm_score": 2, "selected": false, "text": "<p>Cubius,</p>\n\n<p>I actually ran into the same issue and recently contacted ClickTale Support to find out th...
2013/06/11
[ "https://webmasters.stackexchange.com/questions/49462", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/26737/" ]
Since GTM doesn't support document.write() method the standard clicktale code doesn't work. Is there a workaround for this? ClickTale employee has sent me these instructions: ``` Replace the document.write JS line above with the following: document.body.appendChild(externalScript); Example: <!-- ClickTale Bottom pa...
Cubius, I actually ran into the same issue and recently contacted ClickTale Support to find out the correct solution. I was given the following instructions which worked for me. Try the following: 1) Create a new tag in your GTM container. 2) Copy and paste the code into the new tag. 3) Change the general parameter...
49,468
<p>Google changes this often and I'm having a hard time finding it in the GA documentation.</p> <p>What are the limits for custom variables and advanced segments?</p> <p>Are they specified at the account, property, or profile levels in Google Analytics?</p>
[ { "answer_id": 49733, "author": "Dan Katz", "author_id": 28909, "author_profile": "https://webmasters.stackexchange.com/users/28909", "pm_score": 2, "selected": false, "text": "<p>Cubius,</p>\n\n<p>I actually ran into the same issue and recently contacted ClickTale Support to find out th...
2013/06/11
[ "https://webmasters.stackexchange.com/questions/49468", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/19629/" ]
Google changes this often and I'm having a hard time finding it in the GA documentation. What are the limits for custom variables and advanced segments? Are they specified at the account, property, or profile levels in Google Analytics?
Cubius, I actually ran into the same issue and recently contacted ClickTale Support to find out the correct solution. I was given the following instructions which worked for me. Try the following: 1) Create a new tag in your GTM container. 2) Copy and paste the code into the new tag. 3) Change the general parameter...
49,486
<p>Within Webmaster Tools I have supplied my test content:</p> <pre><code>User-agent: * Disallow:/admin/ Disallow: /tag/ </code></pre> <p>When I specify the URL to test against, for example:</p> <pre><code>http://www.site.com/tag/ </code></pre> <p>It gives me this result:</p> <p>"Allowed: Detected as a directory; ...
[ { "answer_id": 49495, "author": "PeggyP", "author_id": 26901, "author_profile": "https://webmasters.stackexchange.com/users/26901", "pm_score": 0, "selected": false, "text": "<pre><code>User-agent: *\nDisallow: /admin/ \nDisallow: /tag/\n</code></pre>\n\n<p>Try this, it must work.</p>\n"...
2013/06/12
[ "https://webmasters.stackexchange.com/questions/49486", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28747/" ]
Within Webmaster Tools I have supplied my test content: ``` User-agent: * Disallow:/admin/ Disallow: /tag/ ``` When I specify the URL to test against, for example: ``` http://www.site.com/tag/ ``` It gives me this result: "Allowed: Detected as a directory; specific files may have different restrictions" As far ...
If you've *just* updated your robots.txt file then Google may not have re-read it yet. Give it some time to get re-crawled. Do make sure you have a newline between `User-agent: *` and `Disallow:/admin/`. You could also ask Google to permanently remove specific directories using the [URL Removal Tool](http://support.go...
49,487
<p>I'm just working through some PHP to set up a canonical link for each page on one of my websites and I'm wondering what's the correct link for the home page:</p> <p>Is it:</p> <pre><code>&lt;link rel=&quot;canonical&quot; href=&quot;http://www.example.com/&quot;/&gt; </code></pre> <p>Or?</p> <pre><code>&lt;link rel=...
[ { "answer_id": 49495, "author": "PeggyP", "author_id": 26901, "author_profile": "https://webmasters.stackexchange.com/users/26901", "pm_score": 0, "selected": false, "text": "<pre><code>User-agent: *\nDisallow: /admin/ \nDisallow: /tag/\n</code></pre>\n\n<p>Try this, it must work.</p>\n"...
2013/06/12
[ "https://webmasters.stackexchange.com/questions/49487", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6860/" ]
I'm just working through some PHP to set up a canonical link for each page on one of my websites and I'm wondering what's the correct link for the home page: Is it: ``` <link rel="canonical" href="http://www.example.com/"/> ``` Or? ``` <link rel="canonical" href="http://www.example.com"/> ``` I've always tried t...
If you've *just* updated your robots.txt file then Google may not have re-read it yet. Give it some time to get re-crawled. Do make sure you have a newline between `User-agent: *` and `Disallow:/admin/`. You could also ask Google to permanently remove specific directories using the [URL Removal Tool](http://support.go...
49,518
<p>I'm trying to find out alternative ways to access a website (not mine), which has temporarily lost its domain name due to it expiring. The site owner didn't realise the domain would expire and it has expired. However, I DO know that the site is still running just fine - I just need a way to access it other than via ...
[ { "answer_id": 49519, "author": "joshuahedlund", "author_id": 10576, "author_profile": "https://webmasters.stackexchange.com/users/10576", "pm_score": 1, "selected": false, "text": "<p>If you do not know of a URL to access a site, there may simply not be one. The files may still exist on...
2013/06/12
[ "https://webmasters.stackexchange.com/questions/49518", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I'm trying to find out alternative ways to access a website (not mine), which has temporarily lost its domain name due to it expiring. The site owner didn't realise the domain would expire and it has expired. However, I DO know that the site is still running just fine - I just need a way to access it other than via its...
Your hosting provider should send you temporary URL for your hosting account and website. If they didn't, check your cPanel or whatever control panel and take out the ip address and paste it here: ``` http://67.23.***.**/~yourhostingloginname/ ```
49,524
<p>My company owns 2 websites with the following characteristics:</p> <ul> <li>Same categorization and URL structure</li> <li>The inventories are entirely disjoint</li> </ul> <p><a href="http://www.BandagedEar.com" rel="nofollow">Site #1</a> concentrates on reproductions of famous oil paintings.<br> <a href="http://w...
[ { "answer_id": 49533, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 4, "selected": true, "text": "<p>I don't see why you need to use <code>nofollow</code> here. Google's examples for using <code>nofollow</code> (<a ...
2013/06/12
[ "https://webmasters.stackexchange.com/questions/49524", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28770/" ]
My company owns 2 websites with the following characteristics: * Same categorization and URL structure * The inventories are entirely disjoint [Site #1](http://www.BandagedEar.com) concentrates on reproductions of famous oil paintings. [Site #2](http://www.PosterNation.com) concentrates on posters/photographs. Si...
I don't see why you need to use `nofollow` here. Google's examples for using `nofollow` ([link](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=96569)) are: > > * Untrusted content > * Paid links > * Crawl prioritization > > > However I can see your thinking behind wanting to use them; your sites ...
49,541
<p>How can I know the hours of a day in which my site is the busiest from Google Analytics?</p> <p>I need the graph to take data from last week's visits and show the sum of visits for every hour of the day.</p>
[ { "answer_id": 49554, "author": "dvnkiss", "author_id": 15200, "author_profile": "https://webmasters.stackexchange.com/users/15200", "pm_score": 1, "selected": false, "text": "<ol>\n<li><p>Select last week's date range in the drop down box in the upper right hand corner of Google Analyti...
2013/06/13
[ "https://webmasters.stackexchange.com/questions/49541", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28785/" ]
How can I know the hours of a day in which my site is the busiest from Google Analytics? I need the graph to take data from last week's visits and show the sum of visits for every hour of the day.
You can do this easily with ``` Customisation > Custom Reports > New custom report ``` Then choose `Dimension = Hour`. This gives the desired result: [![enter image description here](https://i.stack.imgur.com/Rdw2C.png)](https://i.stack.imgur.com/Rdw2C.png) Note: this seems to be the hour-of-day **in your timezone...
49,553
<p>I recently started a new project with a newly registered generic tld domain. </p> <p>As soon as Google started indexing the page, it displayed a "translate this page" in SERP's, which tries to translate the page to the language of a small Eastern European country from the language that the site actually uses. </p> ...
[ { "answer_id": 49593, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<p>According to <a href=\"https://support.google.com/translate/?hl=en#2641276\" rel=\"nofollow\">this</a> Google Tra...
2013/06/13
[ "https://webmasters.stackexchange.com/questions/49553", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28119/" ]
I recently started a new project with a newly registered generic tld domain. As soon as Google started indexing the page, it displayed a "translate this page" in SERP's, which tries to translate the page to the language of a small Eastern European country from the language that the site actually uses. I tried every...
According to [this](https://support.google.com/translate/?hl=en#2641276) Google Translate support doc, you should use: ``` <meta name="google" value="notranslate"> ``` Then in Google Webmaster Tools, make sure you select an English speaking country that matches your site's locale for "Geographic target" under: ``` ...
49,589
<p>Do XML sitemap files have to end with the <code>.xml</code> file extension? </p> <p>On the Bigcommerce platform, their XML sitemap file are defined as:</p> <pre><code>http://www.examplesite.com/xmlsitemap.php </code></pre> <p>The sitemap file is all correctly marked up and and when saving locally its saves as an ...
[ { "answer_id": 49592, "author": "dvnkiss", "author_id": 15200, "author_profile": "https://webmasters.stackexchange.com/users/15200", "pm_score": 2, "selected": false, "text": "<p><strong>It has been verified that a PHP file can be used as a sitemap file such as sitemap.php</strong></p>\n...
2013/06/14
[ "https://webmasters.stackexchange.com/questions/49589", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23156/" ]
Do XML sitemap files have to end with the `.xml` file extension? On the Bigcommerce platform, their XML sitemap file are defined as: ``` http://www.examplesite.com/xmlsitemap.php ``` The sitemap file is all correctly marked up and and when saving locally its saves as an `.xml` file. I've also seen some Joomla site...
**It has been verified that a PHP file can be used as a sitemap file such as sitemap.php** 1. I checked *<http://sitemaps.org>* (the website with the specification information for sitemaps) and there is no mention that the file must be saved in the .XML format. I will have to say that yes, it will work, as long as Goo...
49,595
<p>As soon as my <em>.htaccess</em> goes over approx 8410 bytes, I get a <em>500 Internal Server Error</em>.</p> <p>I don't think this is due to a bad redirect, as I have experimented with redirects in the <em>.htaccess</em> and then with just text that is commented out <code>#</code>. (no actual commands in the <em>....
[ { "answer_id": 49592, "author": "dvnkiss", "author_id": 15200, "author_profile": "https://webmasters.stackexchange.com/users/15200", "pm_score": 2, "selected": false, "text": "<p><strong>It has been verified that a PHP file can be used as a sitemap file such as sitemap.php</strong></p>\n...
2013/06/14
[ "https://webmasters.stackexchange.com/questions/49595", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/23156/" ]
As soon as my *.htaccess* goes over approx 8410 bytes, I get a *500 Internal Server Error*. I don't think this is due to a bad redirect, as I have experimented with redirects in the *.htaccess* and then with just text that is commented out `#`. (no actual commands in the *.htaccess* file) Is there anything obvious th...
**It has been verified that a PHP file can be used as a sitemap file such as sitemap.php** 1. I checked *<http://sitemaps.org>* (the website with the specification information for sitemaps) and there is no mention that the file must be saved in the .XML format. I will have to say that yes, it will work, as long as Goo...
49,636
<p>I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french so there is a lot of special characters in the name.</p> <p>So the URL looks like <code>http://www.mydomain.com/down...
[ { "answer_id": 49637, "author": "dan", "author_id": 28389, "author_profile": "https://webmasters.stackexchange.com/users/28389", "pm_score": 1, "selected": false, "text": "<p>Yes, for uniform compatibility with different browsers and internet accessible applications, you would need to en...
2013/06/15
[ "https://webmasters.stackexchange.com/questions/49636", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28836/" ]
I have an FTP account shared with friends where we upload underground music albums and then we use the links to share the downloads in a music forum. The problem is that the album names are in french so there is a lot of special characters in the name. So the URL looks like `http://www.mydomain.com/downloads/Some Band...
Modern browsers will automatically encode the special characters in the URL before requesting it. So you are already using encoded characters, you just don't know it. I used <http://www.url-encode-decode.com/> to encode the file portion of your URL (using UTF-8): ``` http://www.mydomain.com/downloads/Some+Band+-+En+f...
49,754
<p>I have configured a virtual host in Apache for serving content over SSL/TLS. Since I also want to allow other sites on my domain to use regular http, I have two document roots, one at <code>/home/www/html</code> and one at <code>/home/www/html-ssl</code>. I force SSL on my site with the following directives in a fil...
[ { "answer_id": 49759, "author": "ThisSuitIsBlackNot", "author_id": 28932, "author_profile": "https://webmasters.stackexchange.com/users/28932", "pm_score": 0, "selected": false, "text": "<p>Answering my own question. I'm not sure if this is the <em>best</em> solution, but I figured out h...
2013/06/18
[ "https://webmasters.stackexchange.com/questions/49754", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28932/" ]
I have configured a virtual host in Apache for serving content over SSL/TLS. Since I also want to allow other sites on my domain to use regular http, I have two document roots, one at `/home/www/html` and one at `/home/www/html-ssl`. I force SSL on my site with the following directives in a file in `/etc/httpd/conf.d`:...
An alternative fix would be to enforce the trailing slash on the end of your URLS - this would have the benefit of preventing duplicates if your not using [Rel Canonical](https://webmasters.stackexchange.com/questions/848/how-to-use-rel-canonical-properly/849#849). > > **[SOURCE](https://webmasters.stackexchange.com/...
49,781
<p>I was curious about the date in URL segments, is there any SEO point of benefit? For example the following URLs:</p> <pre><code>http://techcrunch.com/2013/06/18/netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows/ http://tips-for-new-bloggers.blogspot.in/2007/02/adding-favico...
[ { "answer_id": 49782, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": false, "text": "<p>There is no SEO benefit to put date in URL because search engines and users like short URLs. The only reaso...
2013/06/19
[ "https://webmasters.stackexchange.com/questions/49781", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3791/" ]
I was curious about the date in URL segments, is there any SEO point of benefit? For example the following URLs: ``` http://techcrunch.com/2013/06/18/netflix-will-launch-in-the-netherlands-later-this-year-as-its-international-expansion-slows/ http://tips-for-new-bloggers.blogspot.in/2007/02/adding-favicon-icon-to-blog...
(A [similar question](https://webmasters.stackexchange.com/q/57986/17633) got closed as duplicate, but the OP was not exclusively interested in SEO, so here comes an answer about general benefits.) Including the publication date in the URL can be [good URL design](https://webmasters.stackexchange.com/a/55739/17633). ...
49,816
<p>I have written the following code inside my <em>robots.txt</em> file:</p> <pre><code> User-Agent: Googlebot Disallow: User-agent: Mediapartners-Google Disallow: Sitemap: http://example.com/sitemap.xml </code></pre> <p>Is my <em>robots.txt</em> is correct? I only want two user agent to follow my sit...
[ { "answer_id": 49817, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 2, "selected": false, "text": "<p>Nearly, you need to <code>Disallow</code> all the other bots first though.</p>\n\n<p>The wild card (<code>*</code...
2013/06/20
[ "https://webmasters.stackexchange.com/questions/49816", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28883/" ]
I have written the following code inside my *robots.txt* file: ``` User-Agent: Googlebot Disallow: User-agent: Mediapartners-Google Disallow: Sitemap: http://example.com/sitemap.xml ``` Is my *robots.txt* is correct? I only want two user agent to follow my site (i.e., Googlebot & Mediapartners-Googl...
Almost, see the bottom of the section named, "Blocking user-agents" in the following: [Google Webmaster Tools: Block or remove pages using a robots.txt file](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=156449) According that, you should have: ``` User-agent: * Disallow: / User-agent: Googlebot Al...
49,821
<p>Suppose there is a website for my company named "Seven Season" which manufactures T-Shirts. In the website for this company, I have the following pages:</p> <pre><code>Home About us Our Products Disclaimer Contact Us </code></pre> <p>All pages have unique content.</p> <p>But following content is the same in each ...
[ { "answer_id": 49824, "author": "Max", "author_id": 23156, "author_profile": "https://webmasters.stackexchange.com/users/23156", "pm_score": 0, "selected": false, "text": "<p>It is reasonably assumed that when talking about duplicate content, areas of the page such as the logo, the navig...
2013/06/20
[ "https://webmasters.stackexchange.com/questions/49821", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28911/" ]
Suppose there is a website for my company named "Seven Season" which manufactures T-Shirts. In the website for this company, I have the following pages: ``` Home About us Our Products Disclaimer Contact Us ``` All pages have unique content. But following content is the same in each link: 1. Logo and name of the co...
I don't think the items in your question would result in a penalty from duplicate content because they're very common for sites. The only questionable one might be the slideshow if it's very textually-based and not very complex, since Google will crawl some JavaScript code. One thing you might consider is to place th...
49,823
<p>I have a very stylised piece of content which I want to use as the <code>&lt;h1&gt;</code> tag on a page. I have two choices, either use complex, non semantic markup or an image. Is there any SEO benefit to either of the following approaches:</p> <pre><code>&lt;h1&gt; &lt;span class="left"&gt; This is m...
[ { "answer_id": 49835, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 0, "selected": false, "text": "<p>Images are not headers and generally using <code>&lt;h1&gt;&lt;img src=\"\" alt=\"\"/&gt;&lt;/h1&gt;</co...
2013/06/20
[ "https://webmasters.stackexchange.com/questions/49823", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28979/" ]
I have a very stylised piece of content which I want to use as the `<h1>` tag on a page. I have two choices, either use complex, non semantic markup or an image. Is there any SEO benefit to either of the following approaches: ``` <h1> <span class="left"> This is my <em>long</em><br> <small>example<...
It’s totally fine (and often useful, and of course valid) to have an image as heading. You could even use audio or video as heading. HTML is content agnostic in that sense. However, in every case you should provide alternative text content (for user-agents that don’t support the media (e.g. search engines) and/or for u...
49,832
<p>A year ago i developed an iOS application that was connecting to a server with HTTP requests exchanging JSON files, etc... I was told at that time that the server was a web (REST) service. I didnt care much since for me it was just a black box.</p> <p>Recently, I've been developing a hybrid mobile application where...
[ { "answer_id": 49868, "author": "Stephen Ostermiller", "author_id": 14543, "author_profile": "https://webmasters.stackexchange.com/users/14543", "pm_score": 0, "selected": false, "text": "<p>A service is RESTful if all the input data can be in the URL. Either in the path, or in the quer...
2013/06/20
[ "https://webmasters.stackexchange.com/questions/49832", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28984/" ]
A year ago i developed an iOS application that was connecting to a server with HTTP requests exchanging JSON files, etc... I was told at that time that the server was a web (REST) service. I didnt care much since for me it was just a black box. Recently, I've been developing a hybrid mobile application where i use nat...
The question [What exactly is RESTful programming?](https://stackoverflow.com/questions/671118/what-exactly-is-restful-programming) on Stack Overflow has many very good answers - try reading through them all, perhaps something will click. I particularly like the conciseness of [this answer](https://stackoverflow.com/a/...
49,854
<h2>Single directive generic class</h2> <h3>CSS</h3> <pre><code>.text-center { text-align: center } </code></pre> <h3>HTML</h3> <pre><code>&lt;p class="text-center"&gt;center me&lt;/p&gt; </code></pre> <p>That is our (not really) generic class and while we see this more and more over the web, there is no real expl...
[ { "answer_id": 49858, "author": "Simon Hayter", "author_id": 20604, "author_profile": "https://webmasters.stackexchange.com/users/20604", "pm_score": 1, "selected": false, "text": "<p>CSS styling over inline styling has many benefits such as:</p>\n\n<ul>\n<li>Inline does not support :hov...
2013/06/20
[ "https://webmasters.stackexchange.com/questions/49854", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28991/" ]
Single directive generic class ------------------------------ ### CSS ``` .text-center { text-align: center } ``` ### HTML ``` <p class="text-center">center me</p> ``` That is our (not really) generic class and while we see this more and more over the web, there is no real explanation given why one should use it...
There are no strong arguments in either direction in the given case. However, it might be argued that you will later wish to apply additional styling to blocks with centered lines. Say, you might notice that centered lines look better with added word spacing. Then the class approach is much better of course. It is also...
49,879
<p>I've recently migrated my Joomla site from one shared hosting to another with Hostgator. GWT notified me about many 403 access denied pages. I've checked with Firebug too, and even though browser is displaying full page correctly but http return is 403. I've checked the home page but it's correctly returing 200 resp...
[ { "answer_id": 52535, "author": "Matija Nalis", "author_id": 30921, "author_profile": "https://webmasters.stackexchange.com/users/30921", "pm_score": 1, "selected": false, "text": "<p>I'd guess you have .htaccess which uses mod_rewrite, and does not like your new subdomain for some reaso...
2013/06/21
[ "https://webmasters.stackexchange.com/questions/49879", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6776/" ]
I've recently migrated my Joomla site from one shared hosting to another with Hostgator. GWT notified me about many 403 access denied pages. I've checked with Firebug too, and even though browser is displaying full page correctly but http return is 403. I've checked the home page but it's correctly returing 200 respons...
I'd guess you have .htaccess which uses mod\_rewrite, and does not like your new subdomain for some reason. (If you had published your real URL, it might provide more info for debugging...)
49,884
<p>I want the best possible <strong>SEO</strong> for my WordPress site. To do this, I made enhancements and used HTML5. The problem is that I don't know how to use particular tags. For instance, I have an article tag in a <code>&lt;section&gt;</code> tag. Is this good or not? Let me show you my snippet, than you can se...
[ { "answer_id": 49891, "author": "GDVS", "author_id": 18004, "author_profile": "https://webmasters.stackexchange.com/users/18004", "pm_score": 3, "selected": true, "text": "<p>To my knowledge, none of the major search engines have made any definite proclamations on HTML5 as it pertains to...
2013/06/21
[ "https://webmasters.stackexchange.com/questions/49884", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28922/" ]
I want the best possible **SEO** for my WordPress site. To do this, I made enhancements and used HTML5. The problem is that I don't know how to use particular tags. For instance, I have an article tag in a `<section>` tag. Is this good or not? Let me show you my snippet, than you can see it better... ``` <div id="wrap...
To my knowledge, none of the major search engines have made any definite proclamations on HTML5 as it pertains to SEO. As a result, beyond the usual good practice of well-formed, semantically correct code, we can do little more than speculate on that front. For advice on writing well-formed and semantically correct HT...
49,897
<p>I would like to allow Googlebot and Mediapartners-Google (AdSense useragent) to crawl my website. So I have written below code inside my <em>robots.txt</em> file. </p> <pre><code>User-agent: Googlebot Disallow: User-agent: Mediapartners-Google Disallow: Sitemap: http://website.com/sitemap.xml </code></pre> <...
[ { "answer_id": 49898, "author": "Zistoloen", "author_id": 20122, "author_profile": "https://webmasters.stackexchange.com/users/20122", "pm_score": 2, "selected": true, "text": "<p><em>Robots.txt</em> permits to you to block some web crawlers (not allowing), if you want to allow a specifi...
2013/06/21
[ "https://webmasters.stackexchange.com/questions/49897", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28883/" ]
I would like to allow Googlebot and Mediapartners-Google (AdSense useragent) to crawl my website. So I have written below code inside my *robots.txt* file. ``` User-agent: Googlebot Disallow: User-agent: Mediapartners-Google Disallow: Sitemap: http://website.com/sitemap.xml ``` Is the above *robots.txt* file ...
*Robots.txt* permits to you to block some web crawlers (not allowing), if you want to allow a specific crawler like Googlebot, just ignore it in your *robots.txt* (same for Mediapartners-Google). Just take a look at [robots.txt of Pro Webmasters](https://webmasters.stackexchange.com/robots.txt) for example. If you do...
49,996
<p>I am getting DNS error from last few 5 days in my Google Webmaster Tools. That's the reason I would like to confirm my <em>robots.txt</em> file.</p> <p>Is the below <em>robots.txt</em> file is correct or not?</p> <pre><code>User-agent: * Allow: / Sitemap: http://example.com/sitemap.xml </code></pre> <p>Please he...
[ { "answer_id": 49986, "author": "Tim Fountain", "author_id": 1426, "author_profile": "https://webmasters.stackexchange.com/users/1426", "pm_score": 2, "selected": false, "text": "<p>If you could provide your actual domain name we could answer for sure, but from the look of the screenshot...
2013/06/24
[ "https://webmasters.stackexchange.com/questions/49996", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/28883/" ]
I am getting DNS error from last few 5 days in my Google Webmaster Tools. That's the reason I would like to confirm my *robots.txt* file. Is the below *robots.txt* file is correct or not? ``` User-agent: * Allow: / Sitemap: http://example.com/sitemap.xml ``` Please help me to solve this doubt.
If you could provide your actual domain name we could answer for sure, but from the look of the screenshot you've posted I'd say this is not setup correctly. The ns1.planetdomain.com and ns2 records are the ones being used. It looks like you've added A records for ns1 and ns2.example.com, and then NS records for ns1, n...