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
25,071
<p>I'm a bit confused as the following points:</p> <ol> <li>There is a simple text website, with no javascript, that works only with the prefix. <code>http://www.mysite.corporation.com</code> works but <code>http//mysite.corporation.com</code> will not work. What could be going on?</li> <li>I run a few LAMP vps' and ...
[ { "answer_id": 25072, "author": "PeeHaa", "author_id": 11700, "author_profile": "https://webmasters.stackexchange.com/users/11700", "pm_score": 4, "selected": true, "text": "<p>Basically <code>www</code> is just a subdomain. The reason the specific site doesn't work without the www subdo...
2012/01/25
[ "https://webmasters.stackexchange.com/questions/25071", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/11766/" ]
I'm a bit confused as the following points: 1. There is a simple text website, with no javascript, that works only with the prefix. `http://www.mysite.corporation.com` works but `http//mysite.corporation.com` will not work. What could be going on? 2. I run a few LAMP vps' and don't recall ever having trouble with the ...
Basically `www` is just a subdomain. The reason the specific site doesn't work without the www subdomain can either be a misconfigured DNS or a misconfigured configuration. You can try to do a nslookup to find out to which IP's they are assigned (to check the DNS settings are correct): Example of my own domain: ``` ...
25,077
<p>You have a website: <strong>http://www.mysite.com</strong></p> <p>You want to serve up mobile-optimized pages for mobile devices. I've seen a lot of companies redirect mobile devices to this type of subdomain:</p> <pre><code>http://m.mysite.com </code></pre> <p>Also, I've seen a lot of companies use subdomains fo...
[ { "answer_id": 25078, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p><a href=\"http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-multilingual-content.html\">Googl...
2012/01/25
[ "https://webmasters.stackexchange.com/questions/25077", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9244/" ]
You have a website: **http://www.mysite.com** You want to serve up mobile-optimized pages for mobile devices. I've seen a lot of companies redirect mobile devices to this type of subdomain: ``` http://m.mysite.com ``` Also, I've seen a lot of companies use subdomains for localization: ``` http://en.mysite.com http...
[Google recently explained how to handle multilingual situations like this](http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-multilingual-content.html). Their example shows the usage of subdomains but you can use domains as well: ``` <link rel="alternate" hreflang="en" href="http://www.company.com/" /...
25,082
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/14457/what-does-www-do">What does WWW do?</a> </p> </blockquote> <p>The usual form of an internet adress is for example <code>http://www.example.com</code>. Sometimes I encounter pages, that have the...
[ { "answer_id": 25078, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p><a href=\"http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-multilingual-content.html\">Googl...
2012/01/26
[ "https://webmasters.stackexchange.com/questions/25082", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12890/" ]
> > **Possible Duplicate:** > > [What does WWW do?](https://webmasters.stackexchange.com/questions/14457/what-does-www-do) > > > The usual form of an internet adress is for example `http://www.example.com`. Sometimes I encounter pages, that have the `www` missing, like in this real world example: ``` https://...
[Google recently explained how to handle multilingual situations like this](http://googlewebmastercentral.blogspot.com/2011/12/new-markup-for-multilingual-content.html). Their example shows the usage of subdomains but you can use domains as well: ``` <link rel="alternate" hreflang="en" href="http://www.company.com/" /...
25,142
<p>I want to use images that I created in PS for page titles. Because they will be images they will not be picked up by Google, etc. What is the best practice for hiding the <code>&lt;h1&gt;</code>? I was planning on setting the <code>&lt;h1&gt;</code> visibility to hidden. Is this ok to do?</p> <p><strong>update</str...
[ { "answer_id": 25144, "author": "greven", "author_id": 12920, "author_profile": "https://webmasters.stackexchange.com/users/12920", "pm_score": 4, "selected": true, "text": "<p>Use it like this</p>\n\n<pre><code>&lt;h1&gt;\n &lt;a href=\"http://website.com\"&gt;\n &lt;img src=\"image...
2012/01/27
[ "https://webmasters.stackexchange.com/questions/25142", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12919/" ]
I want to use images that I created in PS for page titles. Because they will be images they will not be picked up by Google, etc. What is the best practice for hiding the `<h1>`? I was planning on setting the `<h1>` visibility to hidden. Is this ok to do? **update** I want to hide `<h1>` tag behind header image. I re...
Use it like this ``` <h1> <a href="http://website.com"> <img src="image.jpg" alt="My Website" /> </a> </h1> ``` Check this link from a Google Webmaster: <https://www.youtube.com/watch?v=fBLvn_WkDJ4>
25,244
<p>Why <a href="http://anuary.com" rel="nofollow">http://anuary.com</a> doesn't get indexed properly?</p> <p>I've submitted the sitemap ( <a href="http://anuary.com/?sitemap=true" rel="nofollow">http://anuary.com/?sitemap=true</a> ) almost a month ago. However, 0 pages appear in Google index.</p> <p>I've also prepare...
[ { "answer_id": 25247, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>This query seems to return all the pages visible to google <a href=\"http://www.google.co.uk/search?q...
2012/01/30
[ "https://webmasters.stackexchange.com/questions/25244", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2982/" ]
Why <http://anuary.com> doesn't get indexed properly? I've submitted the sitemap ( <http://anuary.com/?sitemap=true> ) almost a month ago. However, 0 pages appear in Google index. I've also prepared the webpage infrastructure following Google AJAX-friendly pages guide ( <http://code.google.com/web/ajaxcrawling/docs/g...
You aren't mapping your hasbangs correctly. `http://anuary.com/#!/portfolio/28` should become: `http://anuary.com/?_escaped_fragment_=/portfolio/28` Also, the Google guidelines tells you that pages without hash fragments you simply include: ``` <meta name="fragment" content="!"> ``` Having some internal link stru...
25,336
<p>we have a few images currently being indexed by google and we want to remove them from the index. We have removed the .aspx page which linked to the image (but the image still physically exists on disk at the same location), so will google now automatcally update its records, to not show our image? Or do I need to d...
[ { "answer_id": 25337, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>I'm not sure, but i think you might have to block it manually</p>\n\n<p><a href=\"http://www.google.com/support/w...
2011/08/01
[ "https://webmasters.stackexchange.com/questions/25336", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/37264/" ]
we have a few images currently being indexed by google and we want to remove them from the index. We have removed the .aspx page which linked to the image (but the image still physically exists on disk at the same location), so will google now automatcally update its records, to not show our image? Or do I need to dele...
The most complete way is to prevent images being accessed by sites other than your sites domain. Many isp's offer an option to disable hotlinking, [apache can be configured to do it](http://helpinlinux.com/blocking-the-hotlink-to-stop-others-from-stealing-your-websites-bandwidth/) or you can use htaccess. htaccess ``...
25,342
<p>What headers should I be sending to outright stop all requests to the server after the content has been cached?</p> <p>We have a very high latency server (Sigh, VMWare) so even sending a <code>HEAD</code> request to the server takes +40ms.</p> <p>Currently these are the headers being sent/received;</p> <h3>First ...
[ { "answer_id": 25352, "author": "DisgruntledGoat", "author_id": 233, "author_profile": "https://webmasters.stackexchange.com/users/233", "pm_score": 6, "selected": true, "text": "<p>You can't really control what headers user agents decide to send to you. If the file in question is in the...
2012/02/01
[ "https://webmasters.stackexchange.com/questions/25342", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8087/" ]
What headers should I be sending to outright stop all requests to the server after the content has been cached? We have a very high latency server (Sigh, VMWare) so even sending a `HEAD` request to the server takes +40ms. Currently these are the headers being sent/received; ### First request Client sends; ``` GET ...
You can't really control what headers user agents decide to send to you. If the file in question is in the browser's cache and it decides it need to check for a new version then it will. According to [this article](http://www.httpwatch.com/httpgallery/caching/), these are the situations browsers will request using If-M...
25,434
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/3887/good-practice-for-formatting-seo-friendly-urls">Good Practice for Formatting SEO-Friendly URLs?</a> </p> </blockquote> <p>I'm looking into seo-ing my urls and i was wording which of these link s...
[ { "answer_id": 25435, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<pre><code>www.mydomain.com/contact-john-smith\n</code></pre>\n\n<p>But if you have to use one of three choices ...
2012/02/03
[ "https://webmasters.stackexchange.com/questions/25434", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13095/" ]
> > **Possible Duplicate:** > > [Good Practice for Formatting SEO-Friendly URLs?](https://webmasters.stackexchange.com/questions/3887/good-practice-for-formatting-seo-friendly-urls) > > > I'm looking into seo-ing my urls and i was wording which of these link structures was better to use: 1) `www.mydomain.com/...
``` www.mydomain.com/contact-john-smith ``` But if you have to use one of three choices then #3 is the closest match to my answer
25,446
<p>I am building a new navigation system via breadcrumbs based on categories and sub-categories.</p> <p>Example 1:</p> <pre><code>Having url like this: http://mywebsite.com/listings-in-london-hatchback-car-for-sale-red-vauxhall Having breadcrumbs like this: Home Page &gt; Listings &gt; London &gt; For Sale &gt; Car ...
[ { "answer_id": 25461, "author": "Tomas Ramirez Sarduy", "author_id": 8207, "author_profile": "https://webmasters.stackexchange.com/users/8207", "pm_score": 0, "selected": false, "text": "<p>That´s not a SEO problem at all, don´t worry</p>\n" }, { "answer_id": 25469, "author":...
2012/02/04
[ "https://webmasters.stackexchange.com/questions/25446", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13088/" ]
I am building a new navigation system via breadcrumbs based on categories and sub-categories. Example 1: ``` Having url like this: http://mywebsite.com/listings-in-london-hatchback-car-for-sale-red-vauxhall Having breadcrumbs like this: Home Page > Listings > London > For Sale > Car > Hatchback > Vauxhall > Red ```...
It's only a duplicate content penalty if two URLs pull up the same content or very similar content (e.g. the same content but the content is slightly rearranged/sorted differently). Your example doesn't meet this criteria so it shouldn't be an issue.
25,519
<p>i have over 100 urls in my website which i need to redirect:</p> <p>E.g.</p> <ul> <li><code>/page/how-to-bake-chocolate-cookies/</code> will redirect to <code>/cookies/how-to-bake-chocolate-cookies/</code></li> <li><code>/page/contact/</code> will redirect to <code>/contact-us/</code></li> </ul> <p>and so on...</...
[ { "answer_id": 25521, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 3, "selected": false, "text": "<p>The best way is to use 301 redirects in your <a href=\"http://en.wikipedia.org/wiki/Htaccess\" rel=\"...
2012/02/05
[ "https://webmasters.stackexchange.com/questions/25519", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13140/" ]
i have over 100 urls in my website which i need to redirect: E.g. * `/page/how-to-bake-chocolate-cookies/` will redirect to `/cookies/how-to-bake-chocolate-cookies/` * `/page/contact/` will redirect to `/contact-us/` and so on... I want to make sure search engines will catch the new url without affecting my site's ...
The best way is to use 301 redirects in your [.htaccess](http://en.wikipedia.org/wiki/Htaccess) file, the 301 code signals to google that the url has been permanently redirected. I'd also recommend signing up for [Google Webmaster Tools](https://www.google.com/webmasters/tools/) and submitting a [sitemap](http://supp...
25,520
<p>I've been using the most excellent <a href="http://redbot.org">http://redbot.org</a> tool for testing have HTTP headers on my site correct (its custom code in PHP serving dynamic content - wanting to ensure it cached where possible - served by Apache2) </p> <p>One of the tests says: </p> <pre><code>The If-Modified...
[ { "answer_id": 25546, "author": "jcisio", "author_id": 11985, "author_profile": "https://webmasters.stackexchange.com/users/11985", "pm_score": 2, "selected": false, "text": "<p>No, <code>Last-Modified</code> is not required, as you cited from RFC 2616. I've found this issue <a href=\"ht...
2012/02/06
[ "https://webmasters.stackexchange.com/questions/25520", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13142/" ]
I've been using the most excellent <http://redbot.org> tool for testing have HTTP headers on my site correct (its custom code in PHP serving dynamic content - wanting to ensure it cached where possible - served by Apache2) One of the tests says: ``` The If-Modified-Since response is missing required headers HTTP r...
You're correct. RED implemented the requirements from HTTPbis <https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-p4-conditional-18#section-4.1>. Normally, HTTPbis requirements are backwards-compatible with RFC2616 (i.e., they don't make implementations that were conformant to 2616 non-conformance now), but this...
25,522
<p>I have a domain that is <code>example.com/portfolio/some-url</code>.</p> <p>I would simply like to direct all traffic that would normally go to the subfolder <code>/portfolio</code> to a new domain:</p> <pre><code>new-domain.com/ </code></pre> <p>How would I do this? Htaccess? Is there a way to do it to separate ...
[ { "answer_id": 25523, "author": "organicit", "author_id": 11307, "author_profile": "https://webmasters.stackexchange.com/users/11307", "pm_score": 3, "selected": false, "text": "<p>You can use <code>RedirectMatch</code> for this with 301 code. This will tell Search Engines resource has m...
2012/02/06
[ "https://webmasters.stackexchange.com/questions/25522", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12582/" ]
I have a domain that is `example.com/portfolio/some-url`. I would simply like to direct all traffic that would normally go to the subfolder `/portfolio` to a new domain: ``` new-domain.com/ ``` How would I do this? Htaccess? Is there a way to do it to separate affiliation? Basically, all the `/portfolio` items are...
You can use `RedirectMatch` for this with 301 code. This will tell Search Engines resource has moved permanently. ``` RedirectMatch 301 ^/portfolio/(.*)$ http://new-domain.com/portfolio/$1 ```
25,558
<p>I recently installed Apache and later installed PHP too.</p> <p>When I browse to <code>http://localhost/index.html</code> it displays the default Apache page "it works".</p> <p>But when i try to run <code>http://localhost/phpinfo.php</code> it starts to get downloaded instead of running the PHP code</p> <ul> <li>...
[ { "answer_id": 25559, "author": "Sinan", "author_id": 4033, "author_profile": "https://webmasters.stackexchange.com/users/4033", "pm_score": 3, "selected": true, "text": "<p>Probably the server doesn't recognize the script as executable, and that's why it offers it as a downloadable file...
2012/02/06
[ "https://webmasters.stackexchange.com/questions/25558", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2044/" ]
I recently installed Apache and later installed PHP too. When I browse to `http://localhost/index.html` it displays the default Apache page "it works". But when i try to run `http://localhost/phpinfo.php` it starts to get downloaded instead of running the PHP code * My Apache version 2.2 * PHP Version 5.2.1
Probably the server doesn't recognize the script as executable, and that's why it offers it as a downloadable file. These lines should be present in your Apache config. Note that the path may need to be changed for the `.so` modules, depending on your configuration: \***nix:** ``` # -- if you're using PHP 5, uncomme...
25,581
<p>If you share a link on Google Plus it will often grab a fews images you can attach when you post the image. Facebook has a similar feature. You can tell Facebook which is the primary image for a page with a simple LINK tag. However, this isn't working for G+.</p> <p>How do you tell G+ what the primary image for a p...
[ { "answer_id": 25584, "author": "Su'", "author_id": 4502, "author_profile": "https://webmasters.stackexchange.com/users/4502", "pm_score": 2, "selected": false, "text": "<p>[Sorry for the speculative response, but I don't have a site I can try this on immediately]<br>\nI've only seen inf...
2012/02/07
[ "https://webmasters.stackexchange.com/questions/25581", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5089/" ]
If you share a link on Google Plus it will often grab a fews images you can attach when you post the image. Facebook has a similar feature. You can tell Facebook which is the primary image for a page with a simple LINK tag. However, this isn't working for G+. How do you tell G+ what the primary image for a page is?
Here's the information copied from the [+1 button documentation](https://developers.google.com/+/plugins/+1button/#plus-snippet) (tweaked a bit for improved readability). This method applies to all ways that URLs are shared on to Google+. **Populating the +Snippet:** After +1'ing a page, the user is given the option t...
25,596
<p>I am a counsellor. My wordpress blog is <em>mylocation</em> counsellingandsupervision.co.uk. If I google, bing, yahoo my name my site comes up 1st or 2nd. If I google, bing, yahoo "<em>mylocation</em> counselling supervision" in any combination the search engine does not find anything. If I have uploaded all the usu...
[ { "answer_id": 25598, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 1, "selected": false, "text": "<p>Search engines use a number of factors when putting your website in search results, not just the name of th...
2012/02/07
[ "https://webmasters.stackexchange.com/questions/25596", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13181/" ]
I am a counsellor. My wordpress blog is *mylocation* counsellingandsupervision.co.uk. If I google, bing, yahoo my name my site comes up 1st or 2nd. If I google, bing, yahoo "*mylocation* counselling supervision" in any combination the search engine does not find anything. If I have uploaded all the usual plugins etc I ...
For such a **specific research** as being found when you type in Google “*location* Counselling Supervision” (maybe also with quotes) it should suffice changing the code you find in tag of your blog's pages. Now in the title you have this mess: ``` <title> | www.locationcounsellingandsupervision.co.uk</title> ``` Y...
25,600
<p>Looking for a free, simple PHP guestbook script - couldn't talk the client out of the idea - and I remember using something fairly easy to set up a few years ago that used a simple txt file to store the guestbook entries. Does anyone have experience with any such script?</p>
[ { "answer_id": 25598, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 1, "selected": false, "text": "<p>Search engines use a number of factors when putting your website in search results, not just the name of th...
2012/02/07
[ "https://webmasters.stackexchange.com/questions/25600", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10742/" ]
Looking for a free, simple PHP guestbook script - couldn't talk the client out of the idea - and I remember using something fairly easy to set up a few years ago that used a simple txt file to store the guestbook entries. Does anyone have experience with any such script?
For such a **specific research** as being found when you type in Google “*location* Counselling Supervision” (maybe also with quotes) it should suffice changing the code you find in tag of your blog's pages. Now in the title you have this mess: ``` <title> | www.locationcounsellingandsupervision.co.uk</title> ``` Y...
25,627
<p>I am new with SEO, and i following a tutorial about meta tags... when i search my keyword in Google, I can only see the URL of my website but it has no description....</p> <pre><code> search in google: surebooked --------------------------------- but return only: surebooked.com/ </code></pre> <p>There are no desc...
[ { "answer_id": 25631, "author": "Chrys", "author_id": 12771, "author_profile": "https://webmasters.stackexchange.com/users/12771", "pm_score": 0, "selected": false, "text": "<p>Check your meta description tag. Does it exist in the front page? Maybe some script or something is preventing ...
2012/02/08
[ "https://webmasters.stackexchange.com/questions/25627", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13193/" ]
I am new with SEO, and i following a tutorial about meta tags... when i search my keyword in Google, I can only see the URL of my website but it has no description.... ``` search in google: surebooked --------------------------------- but return only: surebooked.com/ ``` There are no description in Google when I s...
Google can actually display whatever it likes in the search results i.e. what it thinks is relevant to the most common queries about that page/site/file/whatever but most often it goes with whats in your meta title and meta description tags e.g. **Daily Telegraph Google Result** ![Daily Telegraph Homepage result from...
25,641
<p>it is probably a stupid question, but I have real troubles figuring out, how to redirect</p> <p>/products to /products/item</p> <p>It is a simple redirect, no regex needed. The toplevel site /products should just always redirect to /products/item</p> <p>I tried:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; Redi...
[ { "answer_id": 25642, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 1, "selected": false, "text": "<p>The <code>(.*)</code> after products is what's causing the loop. It redirects\n<code>/products/something</c...
2012/02/08
[ "https://webmasters.stackexchange.com/questions/25641", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13199/" ]
it is probably a stupid question, but I have real troubles figuring out, how to redirect /products to /products/item It is a simple redirect, no regex needed. The toplevel site /products should just always redirect to /products/item I tried: ``` <IfModule mod_rewrite.c> RedirectMatch 301 /products(.*) /products/ite...
If you *just* want to redirect `/products` to `/products/item`, this should work: ``` RedirectMatch 301 ^/products/?$ /products/item ``` The `^` and `$` characters anchor the regular expression to the beginning and end of the path, so that it won't match `/foo/products` or `/products/bar`. The `/?` allows it to matc...
25,649
<p>We have several websites at multiple hosting companies (all shared hosts - some using cPanel, others using Plesk) and we're looking for a way to backup all files and MySQL databases for each site. We'd like nightly or more frequent backups and prefer that it is completely automated.</p> <p>My current plan is to sto...
[ { "answer_id": 25651, "author": "AgA", "author_id": 6776, "author_profile": "https://webmasters.stackexchange.com/users/6776", "pm_score": 0, "selected": false, "text": "<p>I've a dozen sites on Hostgator Centos shared hosting. </p>\n\n<p>I've written a shell script which I placed in cro...
2012/02/08
[ "https://webmasters.stackexchange.com/questions/25649", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9059/" ]
We have several websites at multiple hosting companies (all shared hosts - some using cPanel, others using Plesk) and we're looking for a way to backup all files and MySQL databases for each site. We'd like nightly or more frequent backups and prefer that it is completely automated. My current plan is to store all the...
to backup your schema in MySql you can do: ``` mysqldump -u root -p [schema-name] > backup.sql ``` to backup your files: ``` tar cvfz site_backup.tar.gz [folder to back-up] ``` and if you really want to make it automatic - create a shell script that creates daily backups with rotation - and call your script from...
25,656
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/2/what-are-the-best-ways-to-increase-your-sites-position-in-google">What are the best ways to increase your site&#39;s position in Google?</a> </p> </blockquote> <p>I searched the title of my website...
[ { "answer_id": 25651, "author": "AgA", "author_id": 6776, "author_profile": "https://webmasters.stackexchange.com/users/6776", "pm_score": 0, "selected": false, "text": "<p>I've a dozen sites on Hostgator Centos shared hosting. </p>\n\n<p>I've written a shell script which I placed in cro...
2012/02/08
[ "https://webmasters.stackexchange.com/questions/25656", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
> > **Possible Duplicate:** > > [What are the best ways to increase your site's position in Google?](https://webmasters.stackexchange.com/questions/2/what-are-the-best-ways-to-increase-your-sites-position-in-google) > > > I searched the title of my website in google search, and although it is a very specific t...
to backup your schema in MySql you can do: ``` mysqldump -u root -p [schema-name] > backup.sql ``` to backup your files: ``` tar cvfz site_backup.tar.gz [folder to back-up] ``` and if you really want to make it automatic - create a shell script that creates daily backups with rotation - and call your script from...
25,684
<p>I got this FaceBook profile for my upcoming website and I can't get the Subscribe button to show, NOT EVEN ON FaceBook's page!</p> <p><a href="http://www.facebook.com/profile.php?id=100003492130845" rel="nofollow">http://www.facebook.com/profile.php?id=100003492130845</a></p> <p>Now, if you go here on FaceBook's p...
[ { "answer_id": 25685, "author": "jflaflamme", "author_id": 10237, "author_profile": "https://webmasters.stackexchange.com/users/10237", "pm_score": 2, "selected": false, "text": "<p>Do you have an AppID ?</p>\n\n<blockquote>\n <p>The JavaScript SDK requires that you register your websit...
2012/02/09
[ "https://webmasters.stackexchange.com/questions/25684", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13225/" ]
I got this FaceBook profile for my upcoming website and I can't get the Subscribe button to show, NOT EVEN ON FaceBook's page! <http://www.facebook.com/profile.php?id=100003492130845> Now, if you go here on FaceBook's page where we build the Subscribe button: <http://developers.facebook.com/docs/reference/plugins/su...
The link you've provided is for a person's profile - it looks like you've created a people profile and not a page, hence no subscribe. //update after comment Go [here](http://www.facebook.com/about/subscribe) to enable subscribe for your page and [here](http://developers.facebook.com/docs/reference/plugins/subscribe/...
25,715
<p>I'm switching a social media site over to a Drupal platform. I'm planning to implement permanent directs (301) from each old url to the new url.</p> <p>I'm using page titles in the url string on the new site:</p> <pre><code>http://www.newsite.com/this-is-my-page-title </code></pre> <p>From a technical standpoint ...
[ { "answer_id": 25716, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p><s>No, redirects lose a little bit PageRank so each time you redirect some PR is lost. Plus multiple redirect...
2012/02/10
[ "https://webmasters.stackexchange.com/questions/25715", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13238/" ]
I'm switching a social media site over to a Drupal platform. I'm planning to implement permanent directs (301) from each old url to the new url. I'm using page titles in the url string on the new site: ``` http://www.newsite.com/this-is-my-page-title ``` From a technical standpoint it would be easier for me to redi...
~~No, redirects lose a little bit PageRank so each time you redirect some PR is lost. Plus multiple redirects *may* cause other crawlers to be unable to follow them through to their final destination. So, ideally you'll keep your redirects to a minimum.~~ Apparently this has changed and the answer is, [yes, you will p...
25,829
<p>I have an issue with bots crawling the mobile site and returning hits on the mobile site for desktop users.</p> <p>The mobile content is in /mobile/ The regular site will redirect mobile users to the /mobile/ site Regular desktop browsers are allowed into the /mobile/ site and will see the mobile version (used for ...
[ { "answer_id": 25849, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 3, "selected": true, "text": "<p>My guess is that it looks for a long list of similar items, and discards the first three because the fourth ...
2012/02/13
[ "https://webmasters.stackexchange.com/questions/25829", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2180/" ]
I have an issue with bots crawling the mobile site and returning hits on the mobile site for desktop users. The mobile content is in /mobile/ The regular site will redirect mobile users to the /mobile/ site Regular desktop browsers are allowed into the /mobile/ site and will see the mobile version (used for easy testi...
My guess is that it looks for a long list of similar items, and discards the first three because the fourth item doesn't look like part of the list. To solve it I would find a way of getting the advert in without interrupting the list. Alternatively you could use [schema.org markup](http://support.google.com/webmasters...
25,838
<p>Search for this term in Google: <a href="http://www.google.nl/#q=cop-groningen" rel="nofollow">cop-groningen</a> or click the link to get to the page without typing. It shows you a link at the top of the search results page: <code>www.cop-groningen.nl/</code>.</p> <p>Below it I see neither a description (in black) ...
[ { "answer_id": 25863, "author": "Joshak", "author_id": 1953, "author_profile": "https://webmasters.stackexchange.com/users/1953", "pm_score": 1, "selected": false, "text": "<p>Did you recently add/update your robots.txt? Often when it's just a link with no other info it's because the pag...
2012/02/13
[ "https://webmasters.stackexchange.com/questions/25838", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13301/" ]
Search for this term in Google: [cop-groningen](http://www.google.nl/#q=cop-groningen) or click the link to get to the page without typing. It shows you a link at the top of the search results page: `www.cop-groningen.nl/`. Below it I see neither a description (in black) nor a breadcrumb (in green). The preview is not...
Did you recently add/update your robots.txt? Often when it's just a link with no other info it's because the page has been blocked in robots.txt but discovered by Google through other links therefore the URL is indexed but none of the content on the URL is indexed.
25,876
<p>I have the following <code>Hello world</code> code for my Heroku app. Also in my project's root folder, I have a <code>favicon.ico</code>.</p> <pre><code>import os from flask import Flask app = Flask(__name__) html = ''' &lt;!doctype html&gt; &lt;html&gt; &lt;head&gt; &lt;link rel="shortcut icon" href="/favi...
[ { "answer_id": 25884, "author": "DisgruntledGoat", "author_id": 233, "author_profile": "https://webmasters.stackexchange.com/users/233", "pm_score": 1, "selected": false, "text": "<p>Here is what I use:</p>\n\n<pre><code>&lt;link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favico...
2012/02/14
[ "https://webmasters.stackexchange.com/questions/25876", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6201/" ]
I have the following `Hello world` code for my Heroku app. Also in my project's root folder, I have a `favicon.ico`. ``` import os from flask import Flask app = Flask(__name__) html = ''' <!doctype html> <html> <head> <link rel="shortcut icon" href="/favicon.ico"> <title>Hello world!</title> </head> <bo...
I just found it right here: <http://flask.pocoo.org/docs/patterns/favicon/> I varied from it a bit and here's what I did: 1. In my tree, I store the icon as `static/images/favicon.ico` 2. In the HTML, I have the following line in the `<head>`: ``` <link rel="shortcut icon" href="/favicon.ico"> ``` 3. In my Flask ap...
25,889
<p>I compiled a report with global monthly searches last week for my boss, regarding SEO (this is from Google AdWords). He, however, seems to want a report of the results for a specific keyword - is there a way to get this information?</p>
[ { "answer_id": 25884, "author": "DisgruntledGoat", "author_id": 233, "author_profile": "https://webmasters.stackexchange.com/users/233", "pm_score": 1, "selected": false, "text": "<p>Here is what I use:</p>\n\n<pre><code>&lt;link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favico...
2012/02/14
[ "https://webmasters.stackexchange.com/questions/25889", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12092/" ]
I compiled a report with global monthly searches last week for my boss, regarding SEO (this is from Google AdWords). He, however, seems to want a report of the results for a specific keyword - is there a way to get this information?
I just found it right here: <http://flask.pocoo.org/docs/patterns/favicon/> I varied from it a bit and here's what I did: 1. In my tree, I store the icon as `static/images/favicon.ico` 2. In the HTML, I have the following line in the `<head>`: ``` <link rel="shortcut icon" href="/favicon.ico"> ``` 3. In my Flask ap...
25,906
<p>I have a big website (15,000 pages) with a log list of redirects (about 800) that have been used in marketing pieces for years. My Apache server has been running mod_rewrite for the past 10 years or so to force all requests to lower case. So a user could put in /CamelCase and Apache would read it as /camelcase and...
[ { "answer_id": 25907, "author": "Cloudkiller", "author_id": 13312, "author_profile": "https://webmasters.stackexchange.com/users/13312", "pm_score": 2, "selected": false, "text": "<p>After some research, I'm pretty sure that I'll just use a RewriteMap that will contain all of case varian...
2012/02/13
[ "https://webmasters.stackexchange.com/questions/25906", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13312/" ]
I have a big website (15,000 pages) with a log list of redirects (about 800) that have been used in marketing pieces for years. My Apache server has been running mod\_rewrite for the past 10 years or so to force all requests to lower case. So a user could put in /CamelCase and Apache would read it as /camelcase and my ...
After some research, I'm pretty sure that I'll just use a RewriteMap that will contain all of case variants. It will take some work to create most of the possibilities people might type in but as long as I can hit 90% of them I'll consider that a success. For those with similar issues, I'll document how it is done. St...
25,962
<p>I created a twitter button using the code and instructions here: <a href="https://twitter.com/about/resources/buttons" rel="nofollow">https://twitter.com/about/resources/buttons</a></p> <p>Here is my code</p> <pre><code>&lt;a href="https://twitter.com/share" class="twitter-share-button" data-text="The Burger Kings...
[ { "answer_id": 25964, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 3, "selected": true, "text": "<p>From the <a href=\"https://dev.twitter.com/docs/tweet-button/faq#count-api-increment\" rel=\"nofollow\">butt...
2012/02/15
[ "https://webmasters.stackexchange.com/questions/25962", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12661/" ]
I created a twitter button using the code and instructions here: <https://twitter.com/about/resources/buttons> Here is my code ``` <a href="https://twitter.com/share" class="twitter-share-button" data-text="The Burger Kings in Toronto at 33497 Yonge St rated 4/5 with 1 review" data-url="http://mydomain.com/d/902463" ...
From the [button FAQ](https://dev.twitter.com/docs/tweet-button/faq#count-api-increment): > > **I use a URL shortener and my count isn’t incrementing, what’s wrong?** > > > When asking how many times a link has been Tweeted the Tweet Button > uses the URL you ask it to share. If this is a shortened URL this will >...
26,071
<p>I have unique meta descriptions on each of my pages, and when I search my site in google it will come up with no description.</p> <p>Any idea what I might have done wrong?</p>
[ { "answer_id": 27102, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 1, "selected": false, "text": "<p>You should review your site in Google Webmaster Tools, check for HTML suggestions and errors. They'll tell you...
2012/02/17
[ "https://webmasters.stackexchange.com/questions/26071", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13412/" ]
I have unique meta descriptions on each of my pages, and when I search my site in google it will come up with no description. Any idea what I might have done wrong?
You don't have control over whether or not Google uses your meta description tag in its search results. That content can come from various sources and it is up to Google to decide which it thinks is best for that result. From [Does Google use the Meta Description Tag for Description of Page?](https://webmasters.stacke...
26,122
<pre><code>Disallow: / </code></pre> <p>I want Google to index the index page, but nothing else. Will this achieve it?</p>
[ { "answer_id": 26123, "author": "Siva Charan", "author_id": 13436, "author_profile": "https://webmasters.stackexchange.com/users/13436", "pm_score": 2, "selected": false, "text": "<p>I think you should specify on Index page as follows:-</p>\n\n<pre><code>&lt;meta name=\"Robots\" content=...
2012/02/18
[ "https://webmasters.stackexchange.com/questions/26122", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
``` Disallow: / ``` I want Google to index the index page, but nothing else. Will this achieve it?
I think you should specify on Index page as follows:- ``` <meta name="Robots" content="INDEX, FOLLOW" /> ``` For other page, mention as follows:- ``` <meta name="Robots" content="NOINDEX, NOFOLLOW" /> ```
26,181
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/4926/301-redirects-for-all-except-me">301 redirects for all except me</a> </p> </blockquote> <p>I've been developing a new version of my website for a while now, on a different directory to my curren...
[ { "answer_id": 26182, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>Based on <a href=\"http://www.phpjabbers.com/redirect-based-on-referrer-or-ip-address-php2.html\" rel...
2012/02/20
[ "https://webmasters.stackexchange.com/questions/26181", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13476/" ]
> > **Possible Duplicate:** > > [301 redirects for all except me](https://webmasters.stackexchange.com/questions/4926/301-redirects-for-all-except-me) > > > I've been developing a new version of my website for a while now, on a different directory to my currently-live website. Shortly I'll be ready to move th...
Based on [this example](http://www.phpjabbers.com/redirect-based-on-referrer-or-ip-address-php2.html) you could use php to show one page to your ip address and another to everyone else. > > **PHP - this sends a 302 by default** > > > ``` <? $visitor = $_SERVER['REMOTE_ADDR']; if (preg_match("/192.168.0.1/",$visit...
26,190
<p>For images loaded via AJAX, or that I <strong>don't</strong> want indexed, use the data-* attribute approach:</p> <pre><code>&lt;img data-src="path/to/image.jpg" class="js-lazy-load" /&gt; </code></pre> <p>The javascript maps the <em>data-src</em> attribute to the <em>src</em> attribute:</p> <pre><code>&lt;img sr...
[ { "answer_id": 26196, "author": "Lèse majesté", "author_id": 1757, "author_profile": "https://webmasters.stackexchange.com/users/1757", "pm_score": 4, "selected": true, "text": "<p>That's a good approach. Another approach you could take is to use the <code>&lt;noscript /&gt;</code> eleme...
2012/02/20
[ "https://webmasters.stackexchange.com/questions/26190", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13479/" ]
For images loaded via AJAX, or that I **don't** want indexed, use the data-\* attribute approach: ``` <img data-src="path/to/image.jpg" class="js-lazy-load" /> ``` The javascript maps the *data-src* attribute to the *src* attribute: ``` <img src="path/to/image.jpg" /> ``` But for images in the HTML that I **do** ...
That's a good approach. Another approach you could take is to use the `<noscript />` element to store the normal version of the `img` tag, which would be indexed by Google, and use JS to create the lazy loading version. Alternatively, you could use Google's hashbang AJAX conventions combined with HTML5's history API t...
26,290
<p>.htaccess is not working.</p> <ul> <li><p><code>/index.php/user</code> -- is working</p></li> <li><p><code>http://www.example.com/user</code> is not working</p></li> </ul> <p>Current .htaccess file:</p> <pre><code>RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule...
[ { "answer_id": 26297, "author": "Repox", "author_id": 13485, "author_profile": "https://webmasters.stackexchange.com/users/13485", "pm_score": 0, "selected": false, "text": "<p>Your rewrite rules should look like this:</p>\n\n<pre><code>RewriteEngine On \nRewriteCond %{REQUEST_FILENAME} ...
2012/02/22
[ "https://webmasters.stackexchange.com/questions/26290", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13518/" ]
.htaccess is not working. * `/index.php/user` -- is working * `http://www.example.com/user` is not working Current .htaccess file: ``` RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L] ```
check httpd.conf to see if [.htaccess is enabled](http://forums.opensuse.org/english/get-technical-help-here/network-internet/403218-apache2-htaccess-how-enable.html)
26,345
<p>I have a client that wants different subdomains as 'marketing URLs' that point (301 redirect) at directories, so:</p> <pre><code>shop.mysite.com -&gt; mysite.com/shop artist1.mysite.com -&gt; mysite.com/artist1 artist2.mysite.com -&gt; mysite.com/artist2 </code></pre> <p>They feel that subdomain-type URLs are more...
[ { "answer_id": 26346, "author": "pritaeas", "author_id": 798, "author_profile": "https://webmasters.stackexchange.com/users/798", "pm_score": 3, "selected": true, "text": "<p>But why the redirect? With a htaccess rewrite (or a real sub-somain) you could load the second page while keeping...
2012/02/23
[ "https://webmasters.stackexchange.com/questions/26345", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13543/" ]
I have a client that wants different subdomains as 'marketing URLs' that point (301 redirect) at directories, so: ``` shop.mysite.com -> mysite.com/shop artist1.mysite.com -> mysite.com/artist1 artist2.mysite.com -> mysite.com/artist2 ``` They feel that subdomain-type URLs are more prestigious and give an impression...
But why the redirect? With a htaccess rewrite (or a real sub-somain) you could load the second page while keeping the first URL. If you do a 301 redirect, the (sub-domain) page will never be indexed. In my opinion that is not what you want.
26,364
<p>My Google Webmaster Tools account, shows that I have crawling errors that are caused by links to pages that do not exist (404 not found). </p> <p>But when I look at the source pages that are accused of having these broken links, there are no such links in them.</p> <p>As of now, I have 6 404 errors in sitemaps and...
[ { "answer_id": 26384, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 3, "selected": true, "text": "<p>Google does seem to hang on to old urls for a very long period of time, my guess is that:- </p>\n\n<ul...
2012/02/23
[ "https://webmasters.stackexchange.com/questions/26364", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13554/" ]
My Google Webmaster Tools account, shows that I have crawling errors that are caused by links to pages that do not exist (404 not found). But when I look at the source pages that are accused of having these broken links, there are no such links in them. As of now, I have 6 404 errors in sitemaps and 28 in the rest o...
Google does seem to hang on to old urls for a very long period of time, my guess is that:- * These links exist on another site either because of a typo or other error. * The content used to be there a very long time ago perhaps an old version of the site created by a former owner of the domain for example. * An old l...
26,367
<p>I just switched registrars for a bunch of domains and the new registrar didn't copy over my existing name servers. Now all my pages appear as "parked" domains when you visit them.</p> <p>I've gone in and updated all of the name servers with my new registrar, back to their old values, but I want to make sure those c...
[ { "answer_id": 26368, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>There isn't a database beyond the whois - which won't help you as it isn't updated frequently enough....
2012/02/24
[ "https://webmasters.stackexchange.com/questions/26367", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/11400/" ]
I just switched registrars for a bunch of domains and the new registrar didn't copy over my existing name servers. Now all my pages appear as "parked" domains when you visit them. I've gone in and updated all of the name servers with my new registrar, back to their old values, but I want to make sure those changes hav...
Basically, what happens when you change your nameservers at your registrar is that they submit the changes to the registry, which keeps a WHOIS database as well as an authoritative nameserver for that TLD. So, in theory, the AS for your TLD is the first to know about the changed nameservers via updated NS records. That...
26,397
<p>I have some valid subdomains in my httpd.conf file. Now how do I redirect anything that's not a valid subdomain to the main website? What I mean is, if I have a valid subdomain hello.example.com, it should go to hello.example.com and if its blah.example.com which is not a valid subdomain, it should go to example.com...
[ { "answer_id": 26398, "author": "bratkartoffel", "author_id": 13571, "author_profile": "https://webmasters.stackexchange.com/users/13571", "pm_score": 1, "selected": false, "text": "<p>Setup a new default site in your apache-config and rewrite the url via .htaccess if this default site i...
2012/02/24
[ "https://webmasters.stackexchange.com/questions/26397", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13590/" ]
I have some valid subdomains in my httpd.conf file. Now how do I redirect anything that's not a valid subdomain to the main website? What I mean is, if I have a valid subdomain hello.example.com, it should go to hello.example.com and if its blah.example.com which is not a valid subdomain, it should go to example.com. H...
Setup a new default site in your apache-config and rewrite the url via .htaccess if this default site is called. Maybe something like /var/www/invalid-subdomain/.htaccess: ``` RewriteEngine on RewriteBase / RewriteRule ^$ http://example.com/ [R,L] ``` The above example is working well for my apache2 squeeze server.
26,418
<p>At present a large number of <code>.htaccess</code> files are being created in various website folders throughout the site. Current <code>.htaccess</code> files are also being modified to include the following (cleaned up) data to the file:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteCond...
[ { "answer_id": 26443, "author": "joshuahedlund", "author_id": 10576, "author_profile": "https://webmasters.stackexchange.com/users/10576", "pm_score": 5, "selected": true, "text": "<p>When you are viewing hits by a dimension, go to Secondary Dimension and select Behavior > Hostname.</p>\...
2012/02/24
[ "https://webmasters.stackexchange.com/questions/26418", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8351/" ]
At present a large number of `.htaccess` files are being created in various website folders throughout the site. Current `.htaccess` files are also being modified to include the following (cleaned up) data to the file: ``` <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_REFERER} ^.*(google|ask|yahoo|baid...
When you are viewing hits by a dimension, go to Secondary Dimension and select Behavior > Hostname. ![Hostname filter](https://i.stack.imgur.com/GHnax.png) This should further divide the dimension by domain names. If you want to include or exclude specific domains, once you have added the hostname dimension you can c...
26,445
<p>I want to make the pages on my site more search engine friendly by turning the query strings into meaningful looking page names.</p> <p>For example I have a page that is this:</p> <pre><code>/search.php?c=18 </code></pre> <p>I want it to look like this:</p> <pre><code>/doctors/MainCategoryName-18/ </code></pre> ...
[ { "answer_id": 26446, "author": "Yaron U.", "author_id": 13598, "author_profile": "https://webmasters.stackexchange.com/users/13598", "pm_score": 2, "selected": false, "text": "<p>try this:</p>\n\n<pre><code>RewriteEngine On\nRewriteRule ^doctors\\/[\\w\\-]+\\-(\\d+)\\/?$ search.php?c=$1...
2012/02/25
[ "https://webmasters.stackexchange.com/questions/26445", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I want to make the pages on my site more search engine friendly by turning the query strings into meaningful looking page names. For example I have a page that is this: ``` /search.php?c=18 ``` I want it to look like this: ``` /doctors/MainCategoryName-18/ ``` Sometimes there is a second query string so it would...
try this: ``` RewriteEngine On RewriteRule ^doctors\/[\w\-]+\-(\d+)\/?$ search.php?c=$1 [L,QSA] RewriteRule ^doctors\/[\w\-]+\-(\d+)\/[\w\-]+\-(\d+)\/?$ search.php?c=$1&s=$2 [L,QSA] ```
26,475
<p>I'm quite baffled by this issue and I have absolutely no idea what could be causing it. I have a Wordpress website that has been working fine, until for some reason, the admin panel started to screw up and wouldn't display all of the CSS correctly. Upon further investigation I found that the load-scripts.php and loa...
[ { "answer_id": 26477, "author": "Blender", "author_id": 52203, "author_profile": "https://webmasters.stackexchange.com/users/52203", "pm_score": 4, "selected": true, "text": "<p>That script has this code in it:</p>\n\n<pre><code>window.top.location.replace(\"http://litic82sreac.rr.nu/n.p...
2012/02/26
[ "https://webmasters.stackexchange.com/questions/26475", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I'm quite baffled by this issue and I have absolutely no idea what could be causing it. I have a Wordpress website that has been working fine, until for some reason, the admin panel started to screw up and wouldn't display all of the CSS correctly. Upon further investigation I found that the load-scripts.php and load-s...
That script has this code in it: ``` window.top.location.replace("http://litic82sreac.rr.nu/n.php?h=1&s=nl"); ``` It redirects your user to `http://litic82sreac.rr.nu/n.php?h=1&s=nl`. I recently saw this sort of attack on both phpBB and MediaWiki servers, so I think it might be a hacked webhost. What webhost are yo...
26,478
<p>I have a quite large apache logfile (2,5 G). Its that big because i havent used logrotate until now. Now the logs get rotated corretly but i want the rotation (one logfile per month) for the time until now so i have to "rotate" the old logfile.</p> <p>Does anyone know how i could do that ? (some script that splits ...
[ { "answer_id": 26477, "author": "Blender", "author_id": 52203, "author_profile": "https://webmasters.stackexchange.com/users/52203", "pm_score": 4, "selected": true, "text": "<p>That script has this code in it:</p>\n\n<pre><code>window.top.location.replace(\"http://litic82sreac.rr.nu/n.p...
2012/02/25
[ "https://webmasters.stackexchange.com/questions/26478", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have a quite large apache logfile (2,5 G). Its that big because i havent used logrotate until now. Now the logs get rotated corretly but i want the rotation (one logfile per month) for the time until now so i have to "rotate" the old logfile. Does anyone know how i could do that ? (some script that splits my logfile...
That script has this code in it: ``` window.top.location.replace("http://litic82sreac.rr.nu/n.php?h=1&s=nl"); ``` It redirects your user to `http://litic82sreac.rr.nu/n.php?h=1&s=nl`. I recently saw this sort of attack on both phpBB and MediaWiki servers, so I think it might be a hacked webhost. What webhost are yo...
26,493
<p>On my courses we've got homework on site in folders such as:</p> <pre><code>http://example.com/files/tasks1-edc34rtgfds http://example.com/files/tasks2-0bg454fgerg http://example.com/files/tasks3-h1dlkjiojo8 ... </code></pre> <p>Each <code>tasksi-xxxxxxxxxxx</code> is a folder with 11 random characters at the end....
[ { "answer_id": 26496, "author": "ionFish", "author_id": 13612, "author_profile": "https://webmasters.stackexchange.com/users/13612", "pm_score": 0, "selected": false, "text": "<p>I think you've got an index.html or index.htm or php, maybe even \"home.html\" in that folder (which is the \...
2012/02/27
[ "https://webmasters.stackexchange.com/questions/26493", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13621/" ]
On my courses we've got homework on site in folders such as: ``` http://example.com/files/tasks1-edc34rtgfds http://example.com/files/tasks2-0bg454fgerg http://example.com/files/tasks3-h1dlkjiojo8 ... ``` Each `tasksi-xxxxxxxxxxx` is a folder with 11 random characters at the end. And when you view the above URLs in ...
If you're trying to skip ahead and view your homework assignments beforehand, I don't think there's any way to do this short of accessing the server via SSH, SFTP, etc. and looking in that directory. Other ways to circumvent this sort of "[security](http://en.wikipedia.org/wiki/Security_through_obscurity)" is by lookin...
26,501
<p>I’m trying to restrict access to a web resource to the intranet of a company via <code>.htaccess</code>. Unfortunately, the approach via <code>Allow from …</code> isn’t working for me and and I don’t understand subnets well enough to troubleshoot the issue.</p> <p>My IP address is (replaced the first two blocks for...
[ { "answer_id": 26502, "author": "ionFish", "author_id": 13612, "author_profile": "https://webmasters.stackexchange.com/users/13612", "pm_score": 0, "selected": false, "text": "<p>Try this for the .htaccess file:</p>\n\n<pre><code>order allow,deny\n#partial ip addresses blocking\ndeny fro...
2012/02/27
[ "https://webmasters.stackexchange.com/questions/26501", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13625/" ]
I’m trying to restrict access to a web resource to the intranet of a company via `.htaccess`. Unfortunately, the approach via `Allow from …` isn’t working for me and and I don’t understand subnets well enough to troubleshoot the issue. My IP address is (replaced the first two blocks for privacy) 1.2.70.59, the netmask...
The solution was that I accessed the website via `localhost/path/to/site` rather than `1.2.70.59/path/to/site`. Once I changed that, it worked.
26,519
<p>I have a website where only time email is sent is when user forgets password and needs to reset it. Can I use google apps to send this email via php on my site or would I be in violation of google terms?</p> <p>Thanks</p>
[ { "answer_id": 26521, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 1, "selected": false, "text": "<p>You can use Gmail to do this as it's a perfectly normal use for email, taking a look at <a href=\"htt...
2012/02/27
[ "https://webmasters.stackexchange.com/questions/26519", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7562/" ]
I have a website where only time email is sent is when user forgets password and needs to reset it. Can I use google apps to send this email via php on my site or would I be in violation of google terms? Thanks
<http://support.google.com/mail/bin/answer.py?hl=en&answer=78799> ``` Incoming Mail (IMAP) Server - requires SSL: imap.gmail.com Use SSL: Yes Port: 993 Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication) Use Authentication: Yes Use STARTTLS: Yes (some clients call this SSL) Port: 46...
26,523
<p>I have WHMCS and I use it with no problem for my hosting purposes.</p> <p>Almost every 2 or 3 days, I can see a spam with malicious content submitted as a new ticket that tries to hack.</p> <p>The last one was:</p> <p>Subject:</p> <pre><code>{php}eval(base64_decode('JGNvZGUgPSBiYXNlNjRfZGVjb 2RlKCJQRDl3YUhBTkNtV...
[ { "answer_id": 26525, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 3, "selected": true, "text": "<p>It's a robot scanning the web for WHMCS installs that are vulnerable to this attack, it's just part an...
2012/02/27
[ "https://webmasters.stackexchange.com/questions/26523", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12881/" ]
I have WHMCS and I use it with no problem for my hosting purposes. Almost every 2 or 3 days, I can see a spam with malicious content submitted as a new ticket that tries to hack. The last one was: Subject: ``` {php}eval(base64_decode('JGNvZGUgPSBiYXNlNjRfZGVjb 2RlKCJQRDl3YUhBTkNtVmphRzhnSnp4bWIzSnRJR0ZqZEdsdmJ qMGl...
It's a robot scanning the web for WHMCS installs that are vulnerable to this attack, it's just part and parcel of running a website.
26,574
<p>I am preparing a website and noticed that although the source code contains RSS autodiscovery URL, i.e. something like</p> <pre><code>&lt;link rel="alternate" type="application/rss+xml" href="/rss.xml"&gt; </code></pre> <p>none of the three main browsers actually displays a RSS icon anywhere. I am not sure when th...
[ { "answer_id": 26577, "author": "Scott Keck-Warren", "author_id": 9396, "author_profile": "https://webmasters.stackexchange.com/users/9396", "pm_score": 3, "selected": false, "text": "<p>It's such a small amount of data on each page request I include both the link and something on the pa...
2012/02/28
[ "https://webmasters.stackexchange.com/questions/26574", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13654/" ]
I am preparing a website and noticed that although the source code contains RSS autodiscovery URL, i.e. something like ``` <link rel="alternate" type="application/rss+xml" href="/rss.xml"> ``` none of the three main browsers actually displays a RSS icon anywhere. I am not sure when this feature went away but few ver...
Auto-discovery still works for most feed-readers, for instance with Google Reader I just tested out this page and plugged the exact URL in the subscribe text input. It then automatically subscribed to the comments for this question. So no, providing an image with a link is just a *visual* way of letting users know tha...
26,588
<p>On my site, I have something like the following:</p> <pre><code>&lt;noscript&gt; &lt;p&gt; &lt;strong&gt;JavaScript is currently disabled.&lt;/strong&gt; Please enable it for a better experience on this site. &lt;/p&gt; &lt;/noscript&gt; </code></pre> <p>Will Google ignore this, or would ...
[ { "answer_id": 26589, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": false, "text": "<p>That is valid page content and the search engines will see and index it. It is even possible for it to show ...
2012/02/28
[ "https://webmasters.stackexchange.com/questions/26588", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13662/" ]
On my site, I have something like the following: ``` <noscript> <p> <strong>JavaScript is currently disabled.</strong> Please enable it for a better experience on this site. </p> </noscript> ``` Will Google ignore this, or would this content be seen as part of my page's content, or even sho...
That is valid page content and the search engines will see and index it. It is even possible for it to show up as your page's description in the search results page. But there are other places that Google prefers to get a page's description from include the meta description tag, ODP description, and relative content fr...
26,665
<p>So here is a little mystery. Google Analytics javascript somehow always loads from browser cache on <kbd>F5</kbd> (in Firefox). I can not get the same thing to happen with my own scripts.</p> <p>Here are the headers that come back on initial request:</p> <p>For <code>http://google-analytics.com/ga.js</code>:</p> ...
[ { "answer_id": 26799, "author": "Nir Alfasi", "author_id": 13618, "author_profile": "https://webmasters.stackexchange.com/users/13618", "pm_score": 0, "selected": false, "text": "<p>Google's code is being called from:</p>\n\n<pre><code>&lt;script src=\"http://www.google-analytics.com/ga....
2012/03/01
[ "https://webmasters.stackexchange.com/questions/26665", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10579/" ]
So here is a little mystery. Google Analytics javascript somehow always loads from browser cache on `F5` (in Firefox). I can not get the same thing to happen with my own scripts. Here are the headers that come back on initial request: For `http://google-analytics.com/ga.js`: ``` (Status-Line) HTTP/1.1 200 ...
Without seeing the headers for when you reloaded the page it is a little hard to double check some things. One thing I do notice is that the dates/times don't seem correct (though this may just be an artefact of how you copied and pasted your question). The response from Google's server says the `Date` is `Thu, 01 Ma...
26,725
<p>I recently decided to comply with the YSlow <a href="http://developer.yahoo.com/performance/rules.html#cookie_free" rel="nofollow noreferrer">recommendation</a> that static content is hosted on a cookieless domain.</p> <p>As I already use the root of my domain (<a href="http://donaldjenkins.com/" rel="nofollow nore...
[ { "answer_id": 27149, "author": "SEO", "author_id": 13966, "author_profile": "https://webmasters.stackexchange.com/users/13966", "pm_score": 1, "selected": false, "text": "<p>What's the question? You can't have Analytics in the code, and not set cookies. Doesn't matter what domain you're...
2012/03/03
[ "https://webmasters.stackexchange.com/questions/26725", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/11963/" ]
I recently decided to comply with the YSlow [recommendation](http://developer.yahoo.com/performance/rules.html#cookie_free) that static content is hosted on a cookieless domain. As I already use the root of my domain ([donaldjenkins.com](http://donaldjenkins.com/)) to host my website—on which Google Analytics sets a f...
What's the question? You can't have Analytics in the code, and not set cookies. Doesn't matter what domain you're using or have set in Analytics. For example, I can still track an old site that I don't own anymore because the Analytics is still triggered when someone visits the cached version on archive.org. If you wa...
26,840
<p>Where the same site is available via</p> <pre><code>account761.Mainsite.com/ </code></pre> <p>OR</p> <pre><code>Mycustomdomain.com/ </code></pre> <p>And of course has the exact same modules and sections and pages under these "roots"</p> <p>Back in the day, communitystarterkit supported this scenario and had a f...
[ { "answer_id": 26841, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>I would refer to this as a parked domain... mycustomdomain.com is a parked domain which points to the real conten...
2012/03/05
[ "https://webmasters.stackexchange.com/questions/26840", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13819/" ]
Where the same site is available via ``` account761.Mainsite.com/ ``` OR ``` Mycustomdomain.com/ ``` And of course has the exact same modules and sections and pages under these "roots" Back in the day, communitystarterkit supported this scenario and had a few site hosted/running this way and now trying to do som...
Not sure what you'd call that - but it's a DNS and IIS setting. You set both names to point to the same server in DNS, and then use Host Headers to tell IIS the site to serve. It's similar to having www.site.com and site.com both serve the same website. Code-wise, I'd imagine you could do a check on Request.Url to cus...
26,849
<p>So there are two way of writing a site's page title:</p> <pre><code>Meow | Photo Magazine </code></pre> <p>or:</p> <pre><code>Meow - Photo Magazine </code></pre> <p>Which one is better (for SEO and for users)?</p>
[ { "answer_id": 26850, "author": "ChrisF", "author_id": 288, "author_profile": "https://webmasters.stackexchange.com/users/288", "pm_score": 4, "selected": false, "text": "<p>I would say that \"-\" is better for users. The minus/dash is a \"regular\" character they are more likely to have...
2012/03/06
[ "https://webmasters.stackexchange.com/questions/26849", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10520/" ]
So there are two way of writing a site's page title: ``` Meow | Photo Magazine ``` or: ``` Meow - Photo Magazine ``` Which one is better (for SEO and for users)?
It makes no difference to SEO. Just remember to put your keyword at the beginning of the title and the branding at the end. Search engines always place more importance at the beginning of a text block and you should always rank for your branded terms. Check out this resource of best practice for writing meta titles: <...
26,876
<p>I am planning on implementing a website which has regional homepage variants. For Example:</p> <ul> <li>mycompany.com/europe</li> <li>mycompany.com/us</li> </ul> <p>The rest of the site is region agnostic and content will continue such as:</p> <ul> <li>mycompany.com/news</li> <li>mycompany.com/about-us</li> <li>e...
[ { "answer_id": 26932, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 1, "selected": false, "text": "<p>There are a <a href=\"https://webmasters.stackexchange.com/questions/16348/language-specific-urls-for...
2012/03/06
[ "https://webmasters.stackexchange.com/questions/26876", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13835/" ]
I am planning on implementing a website which has regional homepage variants. For Example: * mycompany.com/europe * mycompany.com/us The rest of the site is region agnostic and content will continue such as: * mycompany.com/news * mycompany.com/about-us * etc For homepage (.com) requests, I plan on redirecting user...
First of all, you should use a [302 redirect](http://en.wikipedia.org/wiki/HTTP_302) for this, not [301](http://en.wikipedia.org/wiki/HTTP_301). With a 301 redirect, you're telling search engines that your home page has moved permanently and that they should delist the original URL and instead list it under the target ...
26,879
<p>I realize that Godaddy isn't the ideal hosting choice, but I'm running a site on an account with them.</p> <p>One of the pages on the site, /contactus.php refuses to load. Instead of loading the page, it loads my home page – even though the url displays /contactus.php.</p> <p>This issue only began to occur when I ...
[ { "answer_id": 26932, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 1, "selected": false, "text": "<p>There are a <a href=\"https://webmasters.stackexchange.com/questions/16348/language-specific-urls-for...
2012/03/06
[ "https://webmasters.stackexchange.com/questions/26879", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13838/" ]
I realize that Godaddy isn't the ideal hosting choice, but I'm running a site on an account with them. One of the pages on the site, /contactus.php refuses to load. Instead of loading the page, it loads my home page – even though the url displays /contactus.php. This issue only began to occur when I moved the site fr...
First of all, you should use a [302 redirect](http://en.wikipedia.org/wiki/HTTP_302) for this, not [301](http://en.wikipedia.org/wiki/HTTP_301). With a 301 redirect, you're telling search engines that your home page has moved permanently and that they should delist the original URL and instead list it under the target ...
26,897
<p>I tried different sitemap generators and they generate 2 data structures refering to the same webpage: On the beginning: </p> <pre><code>&lt;url&gt; &lt;loc&gt;http://pundaquit.republika.pl/&lt;/loc&gt; &lt;url&gt; &lt;loc&gt;http://pundaquit.republika.pl/index.html&lt;/loc&gt; &lt;priority&gt;0...
[ { "answer_id": 26898, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>Your <code>http://pundaquit.republika.pl/</code> and <code>http://pundaquit.republika.pl/index.html</code> pag...
2012/03/06
[ "https://webmasters.stackexchange.com/questions/26897", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13847/" ]
I tried different sitemap generators and they generate 2 data structures refering to the same webpage: On the beginning: ``` <url> <loc>http://pundaquit.republika.pl/</loc> <url> <loc>http://pundaquit.republika.pl/index.html</loc> <priority>0.6400</priority> ``` I think sitemap generator should r...
Your `http://pundaquit.republika.pl/` and `http://pundaquit.republika.pl/index.html` pages are considered two unique pages to search engines. To correct this you can set a `canonical` attribute in your index file and Google will recognize that .pl/ is your main domain. <http://googlewebmastercentral.blogspot.com/2009/...
26,911
<p>I'm currently in the process of developing a website for a client, and we're having disagreement on the url format for the site. I am recommending he do a format such as this:</p> <pre><code>example.com/brand/&lt;brandName&gt;#&lt;categoryName&gt; example.com/category/&lt;categoryName&gt;/&lt;subcategoryName&gt;#&l...
[ { "answer_id": 26914, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>Matt Cutts and Yoast go over the best practices for URL structures on this page which includes two videos from...
2012/03/07
[ "https://webmasters.stackexchange.com/questions/26911", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13856/" ]
I'm currently in the process of developing a website for a client, and we're having disagreement on the url format for the site. I am recommending he do a format such as this: ``` example.com/brand/<brandName>#<categoryName> example.com/category/<categoryName>/<subcategoryName>#<brandName> ``` He is wanting to have ...
Matt Cutts and Yoast go over the best practices for URL structures on this page which includes two videos from Matt Cutts at Google <http://yoast.com/wordpress-seo-url-permalink/>
26,928
<p>I am just about to add the event code a button that downloads the PDF.</p> <p>Event code fields:</p> <pre><code>_trackEvent(category, action, opt_label, opt_value, opt_noninteraction) </code></pre> <p>Example of event code:</p> <pre><code>onClick="_gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby\'s First Birthd...
[ { "answer_id": 26930, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 4, "selected": true, "text": "<p>Google's event tracking guide doesn't list a limit on those fields <a href=\"http://code.google.com/apis/analyt...
2012/03/07
[ "https://webmasters.stackexchange.com/questions/26928", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13863/" ]
I am just about to add the event code a button that downloads the PDF. Event code fields: ``` _trackEvent(category, action, opt_label, opt_value, opt_noninteraction) ``` Example of event code: ``` onClick="_gaq.push(['_trackEvent', 'Videos', 'Play', 'Baby\'s First Birthday']);" ``` I was just wondering if anyone...
Google's event tracking guide doesn't list a limit on those fields <http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html> A blog post suggests its 46 characters which may also be the limit for event tracking variables <http://www.testically.org/2011/11/22/google-analytics-_setcustomvar-values-hav...
26,992
<p>We're looking at buying a font which only allows its use on the web in the provided formats: WOFF and EOT.</p> <p>I'm not sure what browsers those work in and can't seem to find up to date information. What browsers can I suport with just those two?</p> <p>My only experience is with fontspring's syntax which has E...
[ { "answer_id": 26995, "author": "Jeff Langemeier", "author_id": 11934, "author_profile": "https://webmasters.stackexchange.com/users/11934", "pm_score": 1, "selected": false, "text": "<p>SVG won't get you anywhere with @font-face; but, EOT is supported by IE; where as, TTF and OTF are su...
2012/03/08
[ "https://webmasters.stackexchange.com/questions/26992", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13890/" ]
We're looking at buying a font which only allows its use on the web in the provided formats: WOFF and EOT. I'm not sure what browsers those work in and can't seem to find up to date information. What browsers can I suport with just those two? My only experience is with fontspring's syntax which has EOT, WOFF, TTF and...
This is the [standard way of loading with @font-face](http://www.fontspring.com/blog/fixing-ie9-font-face-problems), hacky fixes and all!! ``` @font-face { font-family: 'BebasNeueRegular'; src: url('BebasNeue-webfont.eot'); src: url('BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), url(...
27,012
<p>How can I host a website from my home machine? I have a DynDNS address so that even if my external IP changes, the machine is accessible.</p> <p>Lets say, for example, the machine is accessible at <code>example.dyndns-home.com</code> (this is a free service from DynDNS). I've registered a domain name for my website...
[ { "answer_id": 27013, "author": "Eroen", "author_id": 13917, "author_profile": "https://webmasters.stackexchange.com/users/13917", "pm_score": 5, "selected": true, "text": "<p>Add a cname record to the DNS record for your domain, pointing from <code>www.example.com</code> to <code>exampl...
2012/03/08
[ "https://webmasters.stackexchange.com/questions/27012", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13918/" ]
How can I host a website from my home machine? I have a DynDNS address so that even if my external IP changes, the machine is accessible. Lets say, for example, the machine is accessible at `example.dyndns-home.com` (this is a free service from DynDNS). I've registered a domain name for my website from GoDaddy. Let's ...
Add a cname record to the DNS record for your domain, pointing from `www.example.com` to `example.dyndns-home.com`. I've only ever used one domain registrar (not Godaddy), but they have a neat web interface where you can update the DNS record. Raw example: ``` www.example.com. 43200 IN CNAME example.dyndns-home.com. ...
27,036
<p>we have an app running on heroku. the dns setup is like this:</p> <p>A record for domain.com -> heroku front end ip addresses CNAME for www.domain.com -> specific host name for our app provided by heroku</p> <p>we also have an SSL cert for www.domain.com.</p> <p>the issue is that if someone goes to <a href="https...
[ { "answer_id": 27056, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 1, "selected": false, "text": "<p>Your SSL certificate should cover your www and non-www version of your domain. From GoDaddy their Standard SSL...
2012/03/09
[ "https://webmasters.stackexchange.com/questions/27036", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13919/" ]
we have an app running on heroku. the dns setup is like this: A record for domain.com -> heroku front end ip addresses CNAME for www.domain.com -> specific host name for our app provided by heroku we also have an SSL cert for www.domain.com. the issue is that if someone goes to <https://domain.com/secure_stuff>, the...
Heroku's support site [does address the situation](http://devcenter.heroku.com/articles/custom-domains) you're facing, which may help you with the problem. On a couple of my sites, I solved the multiple domains/naked domain problem with a positive compare, i.e. if the domain is NOT `www.example.com` then perform a per...
27,060
<p>I would like to know if Google or any other search engine would regard a comment in the source-code containing a link:</p> <pre><code> &lt;!-- domain.com --&gt; </code></pre> <p>as a back-link.</p> <p>If yes how much weight is put onto it and if no why do so many script include back-links in the source-code co...
[ { "answer_id": 27061, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 4, "selected": true, "text": "<p>Googlebot will index hidden <code>&lt;div class=\"display:none;\"&gt;</code> content, but will also <a...
2012/03/10
[ "https://webmasters.stackexchange.com/questions/27060", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13284/" ]
I would like to know if Google or any other search engine would regard a comment in the source-code containing a link: ``` <!-- domain.com --> ``` as a back-link. If yes how much weight is put onto it and if no why do so many script include back-links in the source-code commenting.
Googlebot will index hidden `<div class="display:none;">` content, but will also [consider the CSS](http://ekstreme.com/thingsofsorts/seosem/googlebot-requested-a-css-file) and [ajax/flash](http://fisheye-webdesign.co.uk/blog/google-can-now-read-comments-in-javascript-and-ajax/) when working out if this information sho...
27,118
<p>Here is an example from the Apache documentation for enforcing canonical hostnames:</p> <pre><code>RewriteCond %{HTTP_HOST} !^www\.example\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/?(.*) http://www.example.com/$1 [L,R,NE] </code></pre> <p>What I would like to know is why the /? is needed. I've tried re...
[ { "answer_id": 27120, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 4, "selected": true, "text": "<blockquote>\n <p>The {REQUEST_URI} string starts with a / character. Apache changed\n regex engines when it cha...
2012/03/11
[ "https://webmasters.stackexchange.com/questions/27118", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13722/" ]
Here is an example from the Apache documentation for enforcing canonical hostnames: ``` RewriteCond %{HTTP_HOST} !^www\.example\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/?(.*) http://www.example.com/$1 [L,R,NE] ``` What I would like to know is why the /? is needed. I've tried removing it and everything ap...
> > The {REQUEST\_URI} string starts with a / character. Apache changed > regex engines when it changed versions, so Apache version 1 requires > the leading slash while Apache 2 forbids it! We can satisfy both > versions by making the leading slash optional with the expression ^/? > (? is the metacharacter for zer...
27,124
<p>I used this <a href="http://www.countryipblocks.net/country-blocks/select-formats/" rel="nofollow">tool</a> to download list in "<strong>.htaccess allow</strong>" format to allow traffic from my country and restrict all others but it's still accessible when visiting from bunch of foreign proxies.</p> <p>I'm restric...
[ { "answer_id": 27125, "author": "Mathias R. Jessen", "author_id": 12337, "author_profile": "https://webmasters.stackexchange.com/users/12337", "pm_score": 2, "selected": false, "text": "<p>Try with the netmask instead of the CIDR notation:</p>\n\n<pre><code>&lt;Limit GET POST&gt;\norder ...
2012/03/11
[ "https://webmasters.stackexchange.com/questions/27124", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13956/" ]
I used this [tool](http://www.countryipblocks.net/country-blocks/select-formats/) to download list in "**.htaccess allow**" format to allow traffic from my country and restrict all others but it's still accessible when visiting from bunch of foreign proxies. I'm restricting access to my home dev server where i certain...
Try with the netmask instead of the CIDR notation: ``` <Limit GET POST> order deny,allow allow from 37.18.184.0/255.255.252.0 ... allow from 37.77.172.0/255.255.252.0 deny from all </Limit> ``` Alternatively do it like this: ``` <Limit GET POST> order deny,allow allow from 37.18.184. allow from 37.18.185. allow fro...
27,131
<p>I'm <strong>looking for an e-commerce software, which I can host myself</strong> (hence I want to import a lot of products. Our catalogue includes every product you can order, not just our stock. So that's why the no product limit would be important). </p> <p><strong>Advanced import</strong>: I would like to impor...
[ { "answer_id": 27125, "author": "Mathias R. Jessen", "author_id": 12337, "author_profile": "https://webmasters.stackexchange.com/users/12337", "pm_score": 2, "selected": false, "text": "<p>Try with the netmask instead of the CIDR notation:</p>\n\n<pre><code>&lt;Limit GET POST&gt;\norder ...
2012/03/11
[ "https://webmasters.stackexchange.com/questions/27131", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/1015/" ]
I'm **looking for an e-commerce software, which I can host myself** (hence I want to import a lot of products. Our catalogue includes every product you can order, not just our stock. So that's why the no product limit would be important). **Advanced import**: I would like to import my products from an XLS or CSV file...
Try with the netmask instead of the CIDR notation: ``` <Limit GET POST> order deny,allow allow from 37.18.184.0/255.255.252.0 ... allow from 37.77.172.0/255.255.252.0 deny from all </Limit> ``` Alternatively do it like this: ``` <Limit GET POST> order deny,allow allow from 37.18.184. allow from 37.18.185. allow fro...
27,166
<p>Let's say I have an ecommerce site that is already up and functioning, www.widgets.com but I don't like the shopping cart that I got with the host and instead want to use Wordpress and a Wordpress shopping cart plugin. I don't want the site that is up to come down but I would like to develop the Wordpress site on th...
[ { "answer_id": 27169, "author": "Drai", "author_id": 9951, "author_profile": "https://webmasters.stackexchange.com/users/9951", "pm_score": 1, "selected": false, "text": "<p>It is actually very easy to load Wordpress from a subdirectory as the main site. You can install it at root/direct...
2012/03/12
[ "https://webmasters.stackexchange.com/questions/27166", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13976/" ]
Let's say I have an ecommerce site that is already up and functioning, www.widgets.com but I don't like the shopping cart that I got with the host and instead want to use Wordpress and a Wordpress shopping cart plugin. I don't want the site that is up to come down but I would like to develop the Wordpress site on the s...
This is an annoyingly complex process! 1. Create the site under a sub directory or subdomain. 2. When you're ready to go live use the htaccess code at the bottom of this post to redirect everyone but you to a maintenance page (replace the ip address with your own). 3. Backup and then delete the existing site code from...
27,180
<p>I have recently put my site live - <a href="http://www.soundplaza.co.uk" rel="nofollow">http://www.soundplaza.co.uk</a></p> <p>I then bumped into a few articles mentioning about page length and depth and I was wondering if I should change the URL structure while the site is new.</p> <p><strong>Change From:</strong...
[ { "answer_id": 27181, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>I would change it so that the final part of the path is <code>tannoy-revolution-signature-dc4t-10</code></p>\n...
2012/03/12
[ "https://webmasters.stackexchange.com/questions/27180", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13863/" ]
I have recently put my site live - <http://www.soundplaza.co.uk> I then bumped into a few articles mentioning about page length and depth and I was wondering if I should change the URL structure while the site is new. **Change From:** ``` http://www.soundplaza.co.uk/speakers/tannoy-revolution-signature-dc4t/10 ``` ...
It looks like your current URL paths are of the form `/category/redundant-descriptive-title/id`, where only the `category` and `id` parts are actually needed to identify the content. (For example, I can link to <http://www.soundplaza.co.uk/speakers/blah-blah-who-reads-this-anyway/10> and see the exact same content as o...
27,199
<p>A friend and I are debating the use of the canonical tag. I say if I'm on</p> <pre><code>http://www.example.com/page.html </code></pre> <p>but my site has moved to</p> <pre><code>http://www.BetterExample.com </code></pre> <p>my canonical tag needs to be</p> <pre><code>&lt;link rel="canonical" href="http://www.B...
[ { "answer_id": 27200, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": false, "text": "<p>Canonical URLs are per page, not per website. So if you are using a canonical URL it must point to the page ...
2012/03/13
[ "https://webmasters.stackexchange.com/questions/27199", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13984/" ]
A friend and I are debating the use of the canonical tag. I say if I'm on ``` http://www.example.com/page.html ``` but my site has moved to ``` http://www.BetterExample.com ``` my canonical tag needs to be ``` <link rel="canonical" href="http://www.BetterExample.com/page.html" /> ``` while my friend says it's ...
Canonical URLs are per page, not per website. So if you are using a canonical URL it must point to the page it is a duplicate of, not the website that page resides on. And actually you both are wrong. You don't use canonical URLs for this. You are supposed to use a 301 redirect to indicate that a page has moved to a n...
27,294
<p>Google page speed rank demands me to set an expiry date or a maximum age in the HTTP headers, by changing the "Expires" and "Cache-Control: max-age".</p> <p>The site is hosted on a hosting company (not in my garage) on a windows platform. I tried by uploading a .htaccess file but they have IISPassword program that ...
[ { "answer_id": 27297, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>A <a href=\"http://en.wikipedia.org/wiki/Htaccess\" rel=\"nofollow noreferrer\">.htaccess</a> file wo...
2012/03/14
[ "https://webmasters.stackexchange.com/questions/27294", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14021/" ]
Google page speed rank demands me to set an expiry date or a maximum age in the HTTP headers, by changing the "Expires" and "Cache-Control: max-age". The site is hosted on a hosting company (not in my garage) on a windows platform. I tried by uploading a .htaccess file but they have IISPassword program that blocks it....
Create a file called web.config.txt and then upload it to your server root. Then rename the file, removing `.txt` extension. You will then need to modify the file with the correct code.
27,323
<p>Based on this <a href="http://googlewebmastercentral.blogspot.in/2012/03/video-about-pagination-with-relnext-and.html">article</a> </p> <p>I have a SERP that does infinite scrolling to load results greater than 10. </p> <p>How do I go about implement <code>rel=next</code> &amp; <code>rel=prev</code> for that? ...
[ { "answer_id": 27329, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 3, "selected": true, "text": "<p>The first page in the sequence should not have any rel next or rel prev, the second page should have:<...
2012/03/15
[ "https://webmasters.stackexchange.com/questions/27323", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10216/" ]
Based on this [article](http://googlewebmastercentral.blogspot.in/2012/03/video-about-pagination-with-relnext-and.html) I have a SERP that does infinite scrolling to load results greater than 10. How do I go about implement `rel=next` & `rel=prev` for that?
The first page in the sequence should not have any rel next or rel prev, the second page should have: ``` <link rel="next" href="http://www.example.com/article?story=abc&page=2"/> ``` and ``` <link rel="prev" href="http://www.example.com/article?story=abc&page=1"/> ``` And so on through the sequence until it fini...
27,332
<p>I got a new domain <code>http://alfer-ks.com</code>. I have upload files to the server using cPanel, but when I try to load the website, it just shows the cPanel default page, which shows that Apache is running and stuff like that. </p> <p><strong>What am I doing wrong?</strong></p>
[ { "answer_id": 27333, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 1, "selected": false, "text": "<p>There is probably an index.html page in the root, most servers look for index.html then index.php the...
2012/03/15
[ "https://webmasters.stackexchange.com/questions/27332", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14044/" ]
I got a new domain `http://alfer-ks.com`. I have upload files to the server using cPanel, but when I try to load the website, it just shows the cPanel default page, which shows that Apache is running and stuff like that. **What am I doing wrong?**
There is probably an index.html page in the root, most servers look for index.html then index.php then default.html and so on until they find one that works. Find out what the default page is called by looking in your browser's address bar and delete it from the server along with it's associated files, then the corre...
27,412
<p>I've recently set up a website with a smaller hosting company. The plan has a dedicated IP. They sent me emails to say it's all set up, but now their support channels are all unresponsive even though they say it's open 24 hours.</p> <p>In the File Manager in the cpanel I've put an <code>index.html</code> file in t...
[ { "answer_id": 27419, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>Unless you plan to use CGI scripts delete the CGI folder entirely, clear your browser cache or view it using t...
2012/03/17
[ "https://webmasters.stackexchange.com/questions/27412", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14072/" ]
I've recently set up a website with a smaller hosting company. The plan has a dedicated IP. They sent me emails to say it's all set up, but now their support channels are all unresponsive even though they say it's open 24 hours. In the File Manager in the cpanel I've put an `index.html` file in the `public_html` direc...
It's a bit hard to say for sure, but here's what I *guess* is going on: 1. Your website is on name-based [shared web hosting](http://en.wikipedia.org/wiki/Shared_web_hosting_service). You do *not* have a dedicated IP. 2. The IP address they gave you is the address of their shared webserver. You're meant to enter it in...
27,414
<p>The problem is as follows: We already have registered domain name (example.com.hr) via a Croatian domain name provider.</p> <p>During the web hosting registration process, the registrar doesn't offer a field where I can input my own domain name, and basically forces me to register a .com domain name.</p> <p>Is the...
[ { "answer_id": 27419, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>Unless you plan to use CGI scripts delete the CGI folder entirely, clear your browser cache or view it using t...
2012/03/17
[ "https://webmasters.stackexchange.com/questions/27414", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14076/" ]
The problem is as follows: We already have registered domain name (example.com.hr) via a Croatian domain name provider. During the web hosting registration process, the registrar doesn't offer a field where I can input my own domain name, and basically forces me to register a .com domain name. Is there a way to redir...
It's a bit hard to say for sure, but here's what I *guess* is going on: 1. Your website is on name-based [shared web hosting](http://en.wikipedia.org/wiki/Shared_web_hosting_service). You do *not* have a dedicated IP. 2. The IP address they gave you is the address of their shared webserver. You're meant to enter it in...
27,442
<p>How to force the user's web browser to reload CSS files with Apache Server?</p> <p>I updated my website's CSS file but some users are still seeing problems that would be resolved if their browsers fetched the latest versions.</p>
[ { "answer_id": 27444, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>This would be for wordpress but you can use some of the php functions to do the same on your server</p>\n\n<p>...
2012/03/18
[ "https://webmasters.stackexchange.com/questions/27442", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8836/" ]
How to force the user's web browser to reload CSS files with Apache Server? I updated my website's CSS file but some users are still seeing problems that would be resolved if their browsers fetched the latest versions.
This would be for wordpress but you can use some of the php functions to do the same on your server One way to solve this is to “version” your CSS file, by adding ?v=123 to the URL in the to your stylesheet. ``` <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); echo '?' . filemtime( get_stylesheet_direct...
27,585
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/3728/how-could-i-prevent-my-mail-from-being-recognized-as-spam">How could I prevent my mail from being recognized as spam?</a> </p> </blockquote> <p>My website has users buy our products and when the...
[ { "answer_id": 27587, "author": "Nir Alfasi", "author_id": 13618, "author_profile": "https://webmasters.stackexchange.com/users/13618", "pm_score": 0, "selected": false, "text": "<p>There are three cases (that I know) for which the chances are really high that gmail will detect email as ...
2012/03/21
[ "https://webmasters.stackexchange.com/questions/27585", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14164/" ]
> > **Possible Duplicate:** > > [How could I prevent my mail from being recognized as spam?](https://webmasters.stackexchange.com/questions/3728/how-could-i-prevent-my-mail-from-being-recognized-as-spam) > > > My website has users buy our products and when the purchase completes, it sends the user an email. Ho...
It contains very little text with one link which is a spam flag. The subject looks to be kind of spammy (?Website Tickets:?). Personalize the saluation, you have the person's name from the sale, put it after **Hello** as a lot of spam contains impersonal salutations like this. The word *ticket* is over featured, ge...
27,629
<p>I've got a simple website on which students of my school can see their timetable. I setup adsense three weeks ago and everything is working fine. But I would like to help adsense. </p> <ul> <li>Since only a timetable and a few instructions are shown, there is scarcely content to which ads can relate.</li> </ul> <p...
[ { "answer_id": 27630, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p>No. The closest you can come is \"<a href=\"https://www.google.com/adsense/support/bin/answer.py?hl=en&amp;an...
2012/03/21
[ "https://webmasters.stackexchange.com/questions/27629", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/12564/" ]
I've got a simple website on which students of my school can see their timetable. I setup adsense three weeks ago and everything is working fine. But I would like to help adsense. * Since only a timetable and a few instructions are shown, there is scarcely content to which ads can relate. Idea: ``` <!- google_ad_se...
No. The closest you can come is "[section targeting](https://www.google.com/adsense/support/bin/answer.py?hl=en&answer=23168)". > > **What is section targeting and how do I implement it?** > > > Section > targeting allows you to suggest sections of your text and HTML content > that you'd like us to emphasize or ...
27,636
<p>So I have a problem - I have my main site on apache web server on debian on port <code>80</code>; I develop a web server (in some C++ or C#) and it currently runs on port <code>6666</code>. But some people are living under firewalls and can access only port <code>80</code>. I wonder if it is possible via apache map ...
[ { "answer_id": 27637, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 1, "selected": false, "text": "<p>Here is a good answer on <a href=\"https://askubuntu.com/a/104882/25764\">Ask Ubuntu</a></p>\n\n<p><code>iptab...
2012/03/22
[ "https://webmasters.stackexchange.com/questions/27636", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13043/" ]
So I have a problem - I have my main site on apache web server on debian on port `80`; I develop a web server (in some C++ or C#) and it currently runs on port `6666`. But some people are living under firewalls and can access only port `80`. I wonder if it is possible via apache map all requests to say `mysite.com:80/6...
You could use a reverse proxy via [`mod_proxy`](http://httpd.apache.org/docs/2.2/mod/mod_proxy.html). The Apache Httpd configuration would be along these lines: ``` ProxyPass /6666/ http://localhost:6666/ <Location /6666/> ProxyPassReverse /6666/ Order deny,allow Allow from ...
27,663
<p>Question is pretty simple, I think.</p> <p>How can I find out what the page GUID for a certain page in my <a href="http://www.composite.net/" rel="nofollow">Composite C1</a> website is?</p> <p>I need it for RSS reading from a Blog within the CMS.</p>
[ { "answer_id": 27681, "author": "mawtex", "author_id": 1603, "author_profile": "https://webmasters.stackexchange.com/users/1603", "pm_score": 0, "selected": false, "text": "<p>The simplest way to get the ID of a page is to create a link to it (in the Visual Editor or a code editor) and t...
2012/03/22
[ "https://webmasters.stackexchange.com/questions/27663", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14518/" ]
Question is pretty simple, I think. How can I find out what the page GUID for a certain page in my [Composite C1](http://www.composite.net/) website is? I need it for RSS reading from a Blog within the CMS.
you can edit \Composite\content\forms\Administrative\EditPage.xml and add: ``` <TextBox Label="Id" Help="For internal usage" Type="readonly"> <TextBox.Text> <cms:read source="SelectedPage.Id" /> </TextBox.Text> </TextBox> ``` so you will see page id during the editing.
27,714
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/2498/does-it-make-a-difference-if-your-url-ends-in-a-trailing-slash-or-not">Does it make a difference if your url ends in a trailing slash or not?</a><br> <a href="https://webmasters.stackexchange.com/...
[ { "answer_id": 27715, "author": "Anagio", "author_id": 10527, "author_profile": "https://webmasters.stackexchange.com/users/10527", "pm_score": 2, "selected": false, "text": "<p>Google Webmaster Tools Blog has a good article titled <a href=\"http://googlewebmastercentral.blogspot.com/201...
2012/03/23
[ "https://webmasters.stackexchange.com/questions/27714", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7397/" ]
> > **Possible Duplicate:** > > [Does it make a difference if your url ends in a trailing slash or not?](https://webmasters.stackexchange.com/questions/2498/does-it-make-a-difference-if-your-url-ends-in-a-trailing-slash-or-not) > > [Why treat these as different URLs?](https://webmasters.stackexchange.com/questio...
Technically speaking `http://www.new.com/tag/relationships` and `http://www.new.com/tag/relationships/` are two different pages just like `http://www.example.com/` and `http://www.example.com/index.html` are two different pages even though they pull up the same page. To make sure the search engines understand that `ht...
27,753
<p>Now that <a href="http://www.w3.org/PICS/" rel="nofollow">PICS</a> is dead, I still need an easy way to tell users that my website is for mature audiences only. I intend to use PICS tags, but <a href="http://www.w3.org/2007/powder/" rel="nofollow">POWDER</a> is said to be the new standard. Is it really used? And how...
[ { "answer_id": 27755, "author": "unixman83", "author_id": 5648, "author_profile": "https://webmasters.stackexchange.com/users/5648", "pm_score": 3, "selected": true, "text": "<p>Hmm, it appears that these standards are <strong>both</strong> somewhat dead. And I see why, I have no desire ...
2012/03/24
[ "https://webmasters.stackexchange.com/questions/27753", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5648/" ]
Now that [PICS](http://www.w3.org/PICS/) is dead, I still need an easy way to tell users that my website is for mature audiences only. I intend to use PICS tags, but [POWDER](http://www.w3.org/2007/powder/) is said to be the new standard. Is it really used? And how do I set it up? Are there simple example XML files whi...
Hmm, it appears that these standards are **both** somewhat dead. And I see why, I have no desire to help the content filter authors 'classify' my site. I merely want to tag not appropriate for minors so to avoid the attack of parent groups. This tag seems to be what the majority of sites use: ``` <meta name="RATING" ...
27,757
<p>I am running a website but for some days i stopped it and put the under-construction page because the Index of admin page is visible to the outside world through the Google search. One of my friend told me that your websites index is visible and its one step away to access the password file and he shows me that very...
[ { "answer_id": 27761, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 4, "selected": true, "text": "<p><a href=\"https://www.google.com/webmasters/tools/home?hl=en\" rel=\"noreferrer\">Google webmaster too...
2012/03/24
[ "https://webmasters.stackexchange.com/questions/27757", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13944/" ]
I am running a website but for some days i stopped it and put the under-construction page because the Index of admin page is visible to the outside world through the Google search. One of my friend told me that your websites index is visible and its one step away to access the password file and he shows me that very si...
[Google webmaster tools](https://www.google.com/webmasters/tools/home?hl=en) allows you to [remove pages](http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1663416) from their search index for sites that you own. You can then use [robots.txt](http://en.wikipedia.org/wiki/Robots_exclusion_standard) to ask...
27,768
<p>For a website with an international target audience, how do I indicate to search engines and others that my website is also geared towards the European market?</p> <ul> <li>What's the difference between US SEO and worldwide SEO?</li> </ul>
[ { "answer_id": 27769, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>You can set a <a href=\"http://support.google.com/webmasters/bin/answer.py?hl=en&amp;answer=62399\" r...
2012/03/24
[ "https://webmasters.stackexchange.com/questions/27768", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5648/" ]
For a website with an international target audience, how do I indicate to search engines and others that my website is also geared towards the European market? * What's the difference between US SEO and worldwide SEO?
Make sure you don't use a country specific TLD like .co.uk or .eu. They tell Google you're targetting a local market. Top level TLDs like .com and .net will tell Google your audience is international in scope. See Google's [blog post on working with multiregional websites for more](http://googlewebmastercentral.blogspo...
27,821
<p>I have a web site at:</p> <pre><code>http://example.com </code></pre> <p>when a new user first hits the web site I am creating a unique ID of 5 characters for them (for example <code>abcde</code>) and redirecting them to <code>http://example.com/abcde</code> so they can later bookmark and return to their workspace...
[ { "answer_id": 27823, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 0, "selected": false, "text": "<p>If you do not want the URLs with the unique IDS indexed then after capturing that information and setting co...
2012/03/26
[ "https://webmasters.stackexchange.com/questions/27821", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14260/" ]
I have a web site at: ``` http://example.com ``` when a new user first hits the web site I am creating a unique ID of 5 characters for them (for example `abcde`) and redirecting them to `http://example.com/abcde` so they can later bookmark and return to their workspace. My question is: what is the best approach for...
That kind of borders on cloaking and could get you dinged or even banned from Google. What you might think about doing is for first time users having your home page with all of the information and a big "Get Started" button and if they return use a cookie to identify they user and redirect them to `http://domain.com/ab...
27,836
<p>Since 2009, Google counts <code>nofollow</code> links also as outgoing links, and thus reduces the value of the other links. What are some alternatives to stop Google counting outside links from my page?</p> <p>If I make links appear on my page source like this:</p> <pre><code>&lt;span hrefs="http://link" rel="nof...
[ { "answer_id": 27837, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 5, "selected": true, "text": "<p>No, it will not help. What you're doing is trying to serve up different content to Google then to your users....
2012/03/26
[ "https://webmasters.stackexchange.com/questions/27836", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14196/" ]
Since 2009, Google counts `nofollow` links also as outgoing links, and thus reduces the value of the other links. What are some alternatives to stop Google counting outside links from my page? If I make links appear on my page source like this: ``` <span hrefs="http://link" rel="nofollow" link="true">Link Name</span>...
No, it will not help. What you're doing is trying to serve up different content to Google then to your users. That's definitely against Google's terms of service and is a great way to get **banned**. There's nothing wrong with outbound links. If you don't want a site to get credit for the link to their site if you are...
27,850
<p>I have many forward rules written in my <code>.htaccess</code> file. However, for the requests to a certain directory and its subdirectory, say <code>wordpress</code>, I don't want to use the forward rules.</p> <pre><code>RewriteEngine On RewriteCond %{REQUEST_URI} wordpress RewriteRule ^.*$ - [NC,L] RewriteRule ...
[ { "answer_id": 27853, "author": "James Linden", "author_id": 14275, "author_profile": "https://webmasters.stackexchange.com/users/14275", "pm_score": 2, "selected": false, "text": "<p>This should work for a single directory (for example your wordpress directory)...</p>\n\n<pre><code>Rewr...
2012/03/26
[ "https://webmasters.stackexchange.com/questions/27850", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5679/" ]
I have many forward rules written in my `.htaccess` file. However, for the requests to a certain directory and its subdirectory, say `wordpress`, I don't want to use the forward rules. ``` RewriteEngine On RewriteCond %{REQUEST_URI} wordpress RewriteRule ^.*$ - [NC,L] RewriteRule ... RewriteRule ... RewriteRule ... ...
This should work for a single directory (for example your wordpress directory)... ``` RewriteRule ^wordpress/.$ - [PT] ``` If you want mod\_rewrite to ignore all directories, try something like this ``` RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule .* - [L] ``` The RewriteCond is true if the path is a dir...
27,855
<p>My site had been hacked. I found the vulnerability, fixed it, and removed shell scripts. But the hacker had uploaded thousands of web pages on my web server. After I removed those pages I got over 4 thousand "Not Found" pages on my site (all linked from an external free domain and host which is removed now). Also hu...
[ { "answer_id": 27853, "author": "James Linden", "author_id": 14275, "author_profile": "https://webmasters.stackexchange.com/users/14275", "pm_score": 2, "selected": false, "text": "<p>This should work for a single directory (for example your wordpress directory)...</p>\n\n<pre><code>Rewr...
2012/03/27
[ "https://webmasters.stackexchange.com/questions/27855", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/11096/" ]
My site had been hacked. I found the vulnerability, fixed it, and removed shell scripts. But the hacker had uploaded thousands of web pages on my web server. After I removed those pages I got over 4 thousand "Not Found" pages on my site (all linked from an external free domain and host which is removed now). Also hundr...
This should work for a single directory (for example your wordpress directory)... ``` RewriteRule ^wordpress/.$ - [PT] ``` If you want mod\_rewrite to ignore all directories, try something like this ``` RewriteCond %{REQUEST_FILENAME} -d [NC] RewriteRule .* - [L] ``` The RewriteCond is true if the path is a dir...
27,911
<p>Together with a friend we are looking to develop a website (using Symfony2). We are on a Shared Hosting with SSH access.</p> <p>Below is the environment we'd like to setup:</p> <pre><code>* Use git as Version Control (we are new to Git) * Share the tasks and develop on our local machines * Push the updates onto th...
[ { "answer_id": 27914, "author": "Jacob Hume", "author_id": 4142, "author_profile": "https://webmasters.stackexchange.com/users/4142", "pm_score": 2, "selected": false, "text": "<p>I personally use Git for web development, and have adopted a method similar to this with our development ser...
2012/03/28
[ "https://webmasters.stackexchange.com/questions/27911", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14326/" ]
Together with a friend we are looking to develop a website (using Symfony2). We are on a Shared Hosting with SSH access. Below is the environment we'd like to setup: ``` * Use git as Version Control (we are new to Git) * Share the tasks and develop on our local machines * Push the updates onto the remote server ``` ...
I personally use Git for web development, and have adopted a method similar to this with our development server. I used [Joe Maller's Web-Focused Git Workflow](http://joemaller.com/990/a-web-focused-git-workflow/) as a model, and it's been fairly successful. Joe's approach uses an **intermediary "hub" repository** tha...
27,924
<p>I have installed MediaWiki on my website. I want to shut it down temporarily, until I completely fill it with articles.</p> <p>Is this possible? Is there any maintenance shut down feature?</p> <p>(Version: 1.18.1)</p>
[ { "answer_id": 27925, "author": "Oliver Salzburg", "author_id": 12189, "author_profile": "https://webmasters.stackexchange.com/users/12189", "pm_score": 2, "selected": false, "text": "<p>Maybe <a href=\"http://www.mediawiki.org/wiki/Manual%3a%24wgReadOnly\" rel=\"nofollow\"><code>$wgRead...
2012/03/28
[ "https://webmasters.stackexchange.com/questions/27924", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14338/" ]
I have installed MediaWiki on my website. I want to shut it down temporarily, until I completely fill it with articles. Is this possible? Is there any maintenance shut down feature? (Version: 1.18.1)
Add to **LocalSettings.php**: ``` $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['read'] = false; ``` But of course admin is able to edit pages.
27,970
<p>I'm not really sure if this is something that I should worry about... I'm currently renting a dedicated server which is hosting a website I've created. The domain of the website was registered with GoDaddy. After submitting a sitemap to Google several months ago, I've noticed that another domain name is resolving...
[ { "answer_id": 27975, "author": "Lazy Badger", "author_id": 10489, "author_profile": "https://webmasters.stackexchange.com/users/10489", "pm_score": 3, "selected": false, "text": "<blockquote>\n <p>This means that every page on my website is actually accessible from another domain. </p>...
2012/03/29
[ "https://webmasters.stackexchange.com/questions/27970", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14363/" ]
I'm not really sure if this is something that I should worry about... I'm currently renting a dedicated server which is hosting a website I've created. The domain of the website was registered with GoDaddy. After submitting a sitemap to Google several months ago, I've noticed that another domain name is resolving to my...
If they're really pointing their DNS records to your IP address (and your webserver is configured so that this actually shows your site's content on their domain; see Lazy Badger's answer), then you can stop this sort of "DNS hotlinking" with a simple [mod\_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite....
28,004
<p><em>Related: <a href="https://webmasters.stackexchange.com/q/27442/14387">Apache: How can I force the browser to reload CSS files?</a></em></p> <p>I'm building an xml page (on an apache2) that is supposed to be translated to xhtml by the browser, so my server also serves a <code>main.xslt</code> which is used as st...
[ { "answer_id": 31378, "author": "Frank", "author_id": 2379, "author_profile": "https://webmasters.stackexchange.com/users/2379", "pm_score": 0, "selected": false, "text": "<p>You can just append a random querystring file.css?version=may15-2012 and have that data change. The browser wi...
2012/03/30
[ "https://webmasters.stackexchange.com/questions/28004", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14387/" ]
*Related: [Apache: How can I force the browser to reload CSS files?](https://webmasters.stackexchange.com/q/27442/14387)* I'm building an xml page (on an apache2) that is supposed to be translated to xhtml by the browser, so my server also serves a `main.xslt` which is used as stylesheet by the xml file, similar to th...
According to <http://www.askapache.com/htaccess/using-http-headers-with-htaccess.html#100_Prevent_Files_cached>, this should do the trick: ``` Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" ```
28,030
<p>so first here's a snippet of my current Analytics javascript:</p> <pre><code>var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-30490730-1']); _gaq.push(['_setDomainName', '.apartmentjunkie.com']); _gaq.push(['_setSiteSpeedSampleRate', 100]); _gaq.push(['_trackPageview']); (function() { var ga = document.crea...
[ { "answer_id": 28058, "author": "Ewan Heming", "author_id": 5718, "author_profile": "https://webmasters.stackexchange.com/users/5718", "pm_score": 3, "selected": false, "text": "<p>The official documentation recommends <a href=\"http://code.google.com/apis/analytics/docs/tracking/gaTrack...
2012/03/31
[ "https://webmasters.stackexchange.com/questions/28030", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/1374/" ]
so first here's a snippet of my current Analytics javascript: ``` var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-30490730-1']); _gaq.push(['_setDomainName', '.apartmentjunkie.com']); _gaq.push(['_setSiteSpeedSampleRate', 100]); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('scr...
The official documentation recommends [using a filter to display the domain name in reports](http://code.google.com/apis/analytics/docs/tracking/gaTrackingSite.html#siteLinkingConsiderations): > > > ``` > In the Profile Settings page, click the Add Filter link. > Choose Add New Filter and provide the filter a name. ...
28,032
<p>This is the first time that I have ever tried working with .htpasswd and .htaccess files, so please point out my childish works.</p> <p>I have my apache document root set to <code>/www/</code> on my debian server. Inside it, there's a folder named <code>Logs/</code> which I want to restrict access using a htpasswd....
[ { "answer_id": 28047, "author": "hjpotter92", "author_id": 14414, "author_profile": "https://webmasters.stackexchange.com/users/14414", "pm_score": 3, "selected": true, "text": "<p>Solved the problem with the help of a person i know. :)</p>\n\n<p>Added this segment to httpd.conf:</p>\n\n...
2012/03/30
[ "https://webmasters.stackexchange.com/questions/28032", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14414/" ]
This is the first time that I have ever tried working with .htpasswd and .htaccess files, so please point out my childish works. I have my apache document root set to `/www/` on my debian server. Inside it, there's a folder named `Logs/` which I want to restrict access using a htpasswd. I created my htpasswd file usin...
Solved the problem with the help of a person i know. :) Added this segment to httpd.conf: ``` <Directory /www/ChatLogs> Allow from all AuthName "Restricted Area" AuthType Basic AuthUserFile /www/.htpasswd AuthGroupFile /dev/null Require valid-user </Directory> ``` Because there's a line in `httpd.conf` ...
28,043
<p>I'm looking to create a website which is considerably javascript heavy, built with backbone.js and most content being passed as JSON and loaded via backbone. I just needed some advice or opinions on likely hood of my website being penalised using the method of serving plain HTML (text, images, everything) to search ...
[ { "answer_id": 28052, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 1, "selected": false, "text": "<p>As long as the content is the same this is perfectly fine as cloaking is only an issue when it's used to ser...
2012/03/31
[ "https://webmasters.stackexchange.com/questions/28043", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/20569/" ]
I'm looking to create a website which is considerably javascript heavy, built with backbone.js and most content being passed as JSON and loaded via backbone. I just needed some advice or opinions on likely hood of my website being penalised using the method of serving plain HTML (text, images, everything) to search eng...
As long as the content is the same this is perfectly fine as cloaking is only an issue when it's used to serve the search engines different content for the purpose of manipulating your rankings. However, you're doing it wrong. You shouldn't be looking for search engine bots to serve up static content, you should be s...
28,051
<p>I am need to ban this URL to visit my website, but don't know how should I do this?</p> <pre><code>http://www.skywalkerltd.com/index.php/user-account/pay-per-click/view/66 </code></pre> <p>I'm a new user of Cpanel 11 / Apache / linux Server.</p>
[ { "answer_id": 28053, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 0, "selected": false, "text": "<p>I don't know how to block specific URLs but here's how you can block them using their IP address. Place this...
2012/03/31
[ "https://webmasters.stackexchange.com/questions/28051", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I am need to ban this URL to visit my website, but don't know how should I do this? ``` http://www.skywalkerltd.com/index.php/user-account/pay-per-click/view/66 ``` I'm a new user of Cpanel 11 / Apache / linux Server.
If you mean that you want to prevent people from visiting your site from that url, you can check for the referrer header and redirect people from that address to another page or whatever you want to do with them. You can do this in your htaccess file with something like this: ``` RewriteEngine on RewriteCond %{HTTP_R...
28,057
<p>I've configured IIS 7 to require SSL. Can I automatically redirect non-SSL requests to be encrypted?</p> <p>For example, if a user types in <code>http://domain.example</code>, can IIS redirect the request to <code>https://domain.example</code> rather than display the 403 error page?</p>
[ { "answer_id": 28069, "author": "Scott Obert", "author_id": 13087, "author_profile": "https://webmasters.stackexchange.com/users/13087", "pm_score": 6, "selected": true, "text": "<p>There are a few ways you can do this but if you have the <a href=\"http://www.iis.net/download/urlrewrite\...
2012/04/01
[ "https://webmasters.stackexchange.com/questions/28057", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/11466/" ]
I've configured IIS 7 to require SSL. Can I automatically redirect non-SSL requests to be encrypted? For example, if a user types in `http://domain.example`, can IIS redirect the request to `https://domain.example` rather than display the 403 error page?
There are a few ways you can do this but if you have the [URL Rewrite Module](http://www.iis.net/download/urlrewrite) installed, it's fairly easy and a good way to do it. You can paste the below configuration into your site's web.config file [(enclosed in the `<system.webServer></system.webServer>` section)](https://...
28,089
<p>I've been searching for hours now but can't get any tutorial on this.</p> <p>I have these thumbnails on my homepage which are the first images of their corresponding posts.</p> <p>What I want is that when I mouse-over a post on the homepage... the corresponding thumbnail should also show/rotate the other images of...
[ { "answer_id": 28242, "author": "Sherwin Flight", "author_id": 14331, "author_profile": "https://webmasters.stackexchange.com/users/14331", "pm_score": 0, "selected": false, "text": "<p>What you are looking for is basically a combination of a dynamic tooltip, and an image rotator/slidesh...
2012/04/02
[ "https://webmasters.stackexchange.com/questions/28089", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14437/" ]
I've been searching for hours now but can't get any tutorial on this. I have these thumbnails on my homepage which are the first images of their corresponding posts. What I want is that when I mouse-over a post on the homepage... the corresponding thumbnail should also show/rotate the other images of that particular ...
You need to have static and animated version of each thumbnail. One of simplest solutions would be to use: ``` <div style='width:100p; height:100px; background:url(static_thumb.gif)'></div> ``` and then to all such divs apply: ``` $('your divs').hover( function(){ $(this).html('<img src='+process($(this).css('backg...
28,096
<p>I run a site that has a lot of writers that generate quite a few articles a day.</p> <p>I require them to provide two image sizes (one for the big headline image and one as the thumbnail). I've been wanting to change up the site layout a bit, but I am becoming limited by the image sizes for the posts.</p> <p>I hav...
[ { "answer_id": 28242, "author": "Sherwin Flight", "author_id": 14331, "author_profile": "https://webmasters.stackexchange.com/users/14331", "pm_score": 0, "selected": false, "text": "<p>What you are looking for is basically a combination of a dynamic tooltip, and an image rotator/slidesh...
2012/04/02
[ "https://webmasters.stackexchange.com/questions/28096", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/13187/" ]
I run a site that has a lot of writers that generate quite a few articles a day. I require them to provide two image sizes (one for the big headline image and one as the thumbnail). I've been wanting to change up the site layout a bit, but I am becoming limited by the image sizes for the posts. I have considered just...
You need to have static and animated version of each thumbnail. One of simplest solutions would be to use: ``` <div style='width:100p; height:100px; background:url(static_thumb.gif)'></div> ``` and then to all such divs apply: ``` $('your divs').hover( function(){ $(this).html('<img src='+process($(this).css('backg...
28,141
<p>I'm working with a client on an e-commerce website. I implemented clean URLs using .htaccess. I also used .htaccess to solve canonical issues such as redirecting www to non-www and removing index.php from the URL.</p> <p>The website recently began to slow down dramatically, sometimes not even loading. The site is h...
[ { "answer_id": 28147, "author": "Su'", "author_id": 4502, "author_profile": "https://webmasters.stackexchange.com/users/4502", "pm_score": 3, "selected": true, "text": "<p><a href=\"http://pmt.sourceforge.net/pngcrush/\" rel=\"nofollow\">PNGCrush</a> is the first that comes to mind.</p>\...
2012/04/03
[ "https://webmasters.stackexchange.com/questions/28141", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14276/" ]
I'm working with a client on an e-commerce website. I implemented clean URLs using .htaccess. I also used .htaccess to solve canonical issues such as redirecting www to non-www and removing index.php from the URL. The website recently began to slow down dramatically, sometimes not even loading. The site is hosted on G...
[PNGCrush](http://pmt.sourceforge.net/pngcrush/) is the first that comes to mind. [Trimage](http://trimage.org/) is a bit more comprehensive as far as toolset, and has a GUI also.
28,178
<p>I recently noticed that if I search google for: </p> <pre><code>link:mysite.com </code></pre> <p>There are zero results. This is false, because in Google Webmaster Tools, I have plenty of incoming links.</p> <p>If I change the query to:</p> <pre><code>link:mysite.dev (my alias set up in /etc/hosts for local dev...
[ { "answer_id": 28181, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 3, "selected": true, "text": "<p>The <code>link:</code> search in Google is only intended to return a very small subset of backlinks. Google Webm...
2012/04/04
[ "https://webmasters.stackexchange.com/questions/28178", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9232/" ]
I recently noticed that if I search google for: ``` link:mysite.com ``` There are zero results. This is false, because in Google Webmaster Tools, I have plenty of incoming links. If I change the query to: ``` link:mysite.dev (my alias set up in /etc/hosts for local development) ``` I get results for incoming li...
The `link:` search in Google is only intended to return a very small subset of backlinks. Google Webmaster Tools is the place to find them all. This does avoid your competitor from seeing your backlinks. [According to Matt Cutts](http://youtu.be/bF435s4xRU4) this is by design. I think that when you search for `link:my...
28,211
<p>Users have complained a few times about seeing a bizarre set of pink or green stripes on our webpage. At first I thought there were a rash of video card outages, but then someone sent me a screenshot from their browser (IE8). I later saw the same thing, but with slightly different colors on Chrome. Users have experi...
[ { "answer_id": 28212, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>It seems you're not the only one having such problems, look <a href=\"https://serverfault.com/questio...
2012/04/05
[ "https://webmasters.stackexchange.com/questions/28211", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10262/" ]
Users have complained a few times about seeing a bizarre set of pink or green stripes on our webpage. At first I thought there were a rash of video card outages, but then someone sent me a screenshot from their browser (IE8). I later saw the same thing, but with slightly different colors on Chrome. Users have experienc...
The first thing I noticed when I looked at your page in [Firebug](http://getfirebug.com/) is that some of your images (specifically [this one](http://www.superiorlivestock.com/images/superior-spring-for%20buyers.jpg), which toomanyairmiles already posted a screenshot of, and [this other one](http://www.superiorlivestoc...
28,237
<p>I currently have a site that was recently restructured, causing much of its content to be reposted, creating new URL's for each page. </p> <p>To avoid duplicates, all of the existing pages were added to the robots file. </p> <p>That said, it has now been over a week - I know Google has recrawled the site - and whe...
[ { "answer_id": 28239, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 3, "selected": false, "text": "<p>You should create <a href=\"http://www.webconfs.com/how-to-redirect-a-webpage.php\" rel=\"nofollow\">...
2012/04/06
[ "https://webmasters.stackexchange.com/questions/28237", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9634/" ]
I currently have a site that was recently restructured, causing much of its content to be reposted, creating new URL's for each page. To avoid duplicates, all of the existing pages were added to the robots file. That said, it has now been over a week - I know Google has recrawled the site - and when I search for te...
You should create [301 redirects](http://www.webconfs.com/how-to-redirect-a-webpage.php) from the old to the new pages as this will help Google understand what has happened to your site. If other sites link to your old pages Google will continue to look for the old urls, the 301 redirect basically explains to search ...
28,395
<p>I have a website that has an SSL certificate installed, so that if I access the website using <code>https</code> instead of <code>http</code> I will be able to connect using a secure connection.</p> <p>However, I have noticed that I can still access the website non-securely, ie. by using <code>http</code> instead o...
[ { "answer_id": 28396, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>All you need to is redirect http traffic to https - <a href=\"http://www.cyberciti.biz/tips/howto-apa...
2012/04/11
[ "https://webmasters.stackexchange.com/questions/28395", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/14072/" ]
I have a website that has an SSL certificate installed, so that if I access the website using `https` instead of `http` I will be able to connect using a secure connection. However, I have noticed that I can still access the website non-securely, ie. by using `http` instead of `https`. How can I prevent people using ...
Unfortunately, the only general solution to this problem is to give your users the `https://` only and make sure that they *expect* to use that only. It is ultimately the responsibility of the user to check that they are using SSL/TLS, as they expect. Other solutions are vulnerable to man-in-the-middle attacks, even i...