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
15,825
<p>I recently created a very simple, pure HTML website which I have hosted with "hostmonster". Hostmonster had very good reviews on some comparison website and in general so far they appear to be perfectly good in every way... At least I thought so until just now...</p> <p>I have been making lots of edits to my site o...
[ { "answer_id": 15826, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 4, "selected": true, "text": "<ol>\n<li><p>You can see what the file contains here: <a href=\"http://cdn.attracta.com/sitemap/728687/0.xml.gz...
2011/06/24
[ "https://webmasters.stackexchange.com/questions/15825", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8390/" ]
I recently created a very simple, pure HTML website which I have hosted with "hostmonster". Hostmonster had very good reviews on some comparison website and in general so far they appear to be perfectly good in every way... At least I thought so until just now... I have been making lots of edits to my site on an almos...
1. You can see what the file contains here: <http://cdn.attracta.com/sitemap/728687/0.xml.gz> If that doesn't reflect your sites structure I would delete it. However see answer 2 - you may be able to update it to make it accurate. 2. Probably. > > An Attracta Starter Account > ($120/year value) is bundled and > int...
15,833
<p>I've been using Drupal for years and now with work need to learn Expression Engine. I'm interested in the comparison of Drupal and Expression Engine, but purely from a theming point of view (I've no doubt Drupal is more powerful for development). Does anyone have any insights?</p> <p>It seems EE does give you more ...
[ { "answer_id": 15842, "author": "VarinderPal Singh", "author_id": 8530, "author_profile": "https://webmasters.stackexchange.com/users/8530", "pm_score": 0, "selected": false, "text": "<p>Expression Engine is very easy for theming point of view, just add template from cms admin panel and ...
2011/06/24
[ "https://webmasters.stackexchange.com/questions/15833", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8331/" ]
I've been using Drupal for years and now with work need to learn Expression Engine. I'm interested in the comparison of Drupal and Expression Engine, but purely from a theming point of view (I've no doubt Drupal is more powerful for development). Does anyone have any insights? It seems EE does give you more control ov...
One of the major differences you'll find between the theming methods is that versus Drupal's somewhat programmatic style and mixture of theming in both files and database, ExpressionEngine's is more like creating an HTML shell and then adding output variables and looping constructs to it. I'm not sure that it particula...
15,878
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site">What is duplicate content and how can I avoid being penalized for it on my site?</a> </p> </blockquote> <p>I'm w...
[ { "answer_id": 15880, "author": "Zack Burruel", "author_id": 7938, "author_profile": "https://webmasters.stackexchange.com/users/7938", "pm_score": 0, "selected": false, "text": "<p>Canonical tags are relevant when content is exactly the same and you want to tell Google which one to pay ...
2011/06/24
[ "https://webmasters.stackexchange.com/questions/15878", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8546/" ]
> > **Possible Duplicate:** > > [What is duplicate content and how can I avoid being penalized for it on my site?](https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site) > > > I'm working with a CMS that allows me to post content in...
Google [knows what blogs are](http://blogsearch.google.com/), and knows that sometimes things end up in multiple categories, resulting in the index pages for those categories sharing some content which is usually just excerpts. As long as you're [doing this in good faith](http://www.google.com/support/webmasters/bin/...
15,895
<p>Is is true <code>&lt;h1&gt;</code> tag should not have more than 1 on every page for SEO? </p> <p>Every pages on the header, it includes and <code>&lt;h1&gt;</code> tag. Website Name which show an image from <code>logo class</code>, like this:</p> <pre><code>&lt;div id="header"&gt; &lt;h1 class="logo"&gt; &...
[ { "answer_id": 15896, "author": "Alp", "author_id": 41850, "author_profile": "https://webmasters.stackexchange.com/users/41850", "pm_score": 0, "selected": false, "text": "<blockquote>\n <p>Is is true <code>&lt;h1&gt;</code> tag should not have more than 1 on every page for SEO? </p>\n<...
2011/06/25
[ "https://webmasters.stackexchange.com/questions/15895", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
Is is true `<h1>` tag should not have more than 1 on every page for SEO? Every pages on the header, it includes and `<h1>` tag. Website Name which show an image from `logo class`, like this: ``` <div id="header"> <h1 class="logo"> <a href="#">Website Name</a> </h1> </div> ``` and I also include `<h1>` on ...
It is very common saying, that `<h1>` should be on page just once. Matt Cutts (Google engineer) is explaining it right here: [YouTube - More than one H1 on a page: good or bad?](http://www.youtube.com/watch?v=GIn5qJKU8VM) So if it is logical for your page to have more just use them - no real penalty for this. Unless y...
15,906
<p>I'm pretty sure this used to be possible, but there doesn't seem to be an option any more. Is there any way to do it?</p>
[ { "answer_id": 15910, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>You can hide the number of likes by using setting the dimensions of the like button to be smaller then its c...
2011/06/25
[ "https://webmasters.stackexchange.com/questions/15906", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3312/" ]
I'm pretty sure this used to be possible, but there doesn't seem to be an option any more. Is there any way to do it?
For some reason facebook has decided not to allow the like count to be hidden, but with a little CSS magic you can come close. Just but a div block on top of the like count having the same color as the background. For an example, see <http://warpdrivesoftware.com> Add a facebook\_hide\_count div after your button: ``...
15,913
<p>I do support work for a web development company and I found a suspicious file today on the website of one of our clients called "hope.php" which contained several eval(gzuncompress(base64_decode('....'))) commands (which on a site like this, usually indicates that they've been hacked).</p> <p>Searching for the comp...
[ { "answer_id": 15914, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>It's probably just a <a href=\"http://en.wikipedia.org/wiki/Link_farm\" rel=\"nofollow\">link farm</a>. The file ...
2011/06/23
[ "https://webmasters.stackexchange.com/questions/15913", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I do support work for a web development company and I found a suspicious file today on the website of one of our clients called "hope.php" which contained several eval(gzuncompress(base64\_decode('....'))) commands (which on a site like this, usually indicates that they've been hacked). Searching for the compromised s...
Your website has been compromised if you're seeing strange files which are obviously not yours. Steps to take: 1. **Change all ftp/logins**: This will ensure that if it was an ftp account that was compromised, the hacker would need to once again find your password 2. **Secure your script**: I'd recommend using a pene...
15,973
<p>When you do a Google search, there is typically a snippet of sample content from the page. I seem to recall that the Meta Tags can influence this choice of descriptive sentences. Is that correct(?) and if so, is it the Meta Description Tag?</p> <p>Also, how many characters is Google's descriptive sentences limited ...
[ { "answer_id": 15974, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 5, "selected": true, "text": "<p>Google will <a href=\"http://www.google.com/support/webmasters/bin/answer.py?answer=35624#3\">choose your sea...
2011/06/26
[ "https://webmasters.stackexchange.com/questions/15973", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6193/" ]
When you do a Google search, there is typically a snippet of sample content from the page. I seem to recall that the Meta Tags can influence this choice of descriptive sentences. Is that correct(?) and if so, is it the Meta Description Tag? Also, how many characters is Google's descriptive sentences limited to?
Google will [choose your search results](http://www.google.com/support/webmasters/bin/answer.py?answer=35624#3) snippets from the following places (not necessarily in this order): 1. The page's Meta Description tag 2. The page's Open Directory Project (ODP) Listing 3. Page content relevant to the search query If you ...
16,011
<p>I am using IIS7, I have already set up the following. But when I run Firefox it seems not to cache any of my images even with "remember history" set.</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;staticContent&gt; &lt;clientCache cacheCont...
[ { "answer_id": 16014, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 1, "selected": false, "text": "<ol>\n<li><p>Remove the etag header</p></li>\n<li><p>Use the Cache-Control header to have a large max-age value...
2011/06/27
[ "https://webmasters.stackexchange.com/questions/16011", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8629/" ]
I am using IIS7, I have already set up the following. But when I run Firefox it seems not to cache any of my images even with "remember history" set. ``` <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <staticContent> <clientCache cacheControlCustom="public" cacheControlMode="UseM...
What is the request URI for the CSS file? Firefox will not cache the result when the URI contains a query string (i.e. a ? followed by parameters). According to the HTTP specifications, a browser should never cache a response from a request containing a query string unless the server explicitly allows it. Unfortunatel...
16,022
<p>Whenever I try to delete or update any of my tables in phpMyAdmin I receive the following error:</p> <pre><code>1.import.php: Missing parameter: import_type. 2.tbl-alter.php missing parameters:field </code></pre> <p>I have looked at the php.ini config file and changed the following settings:</p> <pre><code>sess...
[ { "answer_id": 16023, "author": "djdy", "author_id": 15985, "author_profile": "https://webmasters.stackexchange.com/users/15985", "pm_score": 2, "selected": false, "text": "<p>Looks like a corrupted installation of phpmyadmin.</p>\n\n<p>Make sure your permissions are set correctly. Also ...
2011/06/27
[ "https://webmasters.stackexchange.com/questions/16022", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
Whenever I try to delete or update any of my tables in phpMyAdmin I receive the following error: ``` 1.import.php: Missing parameter: import_type. 2.tbl-alter.php missing parameters:field ``` I have looked at the php.ini config file and changed the following settings: ``` session.save_path ="c:/xampp/tmp" to sessi...
Looks like a corrupted installation of phpmyadmin. Make sure your permissions are set correctly. Also consider reinstalling phpmyadmin using the latest stable build.
16,137
<p>I was wondering about my domain and if next is afordable.</p> <p>First of all this is my "architecture":</p> <ul> <li>Domain registration at GoDaddy.com </li> <li>Hosting at Dreamhost </li> <li>mail at google apps</li> </ul> <p>Until now I setted up the google apps MX entries in my domain through the GoDaddy mana...
[ { "answer_id": 16138, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>Yes, but you MUST keep the MX records the same (and any other DNS records that Google requires).</p>\n\n<p>Since ...
2011/06/29
[ "https://webmasters.stackexchange.com/questions/16137", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I was wondering about my domain and if next is afordable. First of all this is my "architecture": * Domain registration at GoDaddy.com * Hosting at Dreamhost * mail at google apps Until now I setted up the google apps MX entries in my domain through the GoDaddy manager, but now what I want is to set up the hosting I...
I would not change your DNS servers to Dreamhost...Your DNS in Google is all you need, and it is relatively easy to use. Just add an A (host) record for www that points to the proper IP address (It may give you an error saying you need to delete the www CNAME record...you can do that and re-add the www A record). See ...
16,187
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site">What is duplicate content and how can I avoid being penalized for it on my site?</a> </p> </blockquote> <p>I hav...
[ { "answer_id": 16193, "author": "Pheonix", "author_id": 8697, "author_profile": "https://webmasters.stackexchange.com/users/8697", "pm_score": 4, "selected": true, "text": "<p>Yes, you should use a 301 permanent Redirect from .com to .org else google will mark one of the domain for dupli...
2011/06/29
[ "https://webmasters.stackexchange.com/questions/16187", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8511/" ]
> > **Possible Duplicate:** > > [What is duplicate content and how can I avoid being penalized for it on my site?](https://webmasters.stackexchange.com/questions/35652/what-is-duplicate-content-and-how-can-i-avoid-being-penalized-for-it-on-my-site) > > > I have both the .com and the .org for a domain name, and...
Yes, you should use a 301 permanent Redirect from .com to .org else google will mark one of the domain for duplicate content and that is not somwthing you want. Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.org The .htaccess file...
16,248
<p>According to the apache <a href="http://httpd.apache.org/docs/1.3/mod/core.html#filesmatch" rel="nofollow">FilesMatch</a> docs:</p> <blockquote> <p>The FilesMatch directive provides for access control by filename</p> </blockquote> <p>Basically, I only want to set an expires header for resources that have a 10 ...
[ { "answer_id": 16245, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 2, "selected": false, "text": "<p>You want an SSL client certificate. The server certificate proves who they are, the client certificate prov...
2011/06/30
[ "https://webmasters.stackexchange.com/questions/16248", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
According to the apache [FilesMatch](http://httpd.apache.org/docs/1.3/mod/core.html#filesmatch) docs: > > The FilesMatch directive provides > for access control by filename > > > Basically, I only want to set an expires header for resources that have a 10 digit "cache buster" id appended to the name. So, here is...
You want an SSL client certificate. The server certificate proves who they are, the client certificate proves who you are to them. Here's some apache documentation on how to configure your site: <http://httpd.apache.org/docs/2.0/ssl/ssl_howto.html#certauthenticate> This blog post is interesting: <http://www.gnegg.ch/...
16,251
<p>Apologies if this is a dupe. I tried searching, but didn't find anything specifically addressing this concern.</p> <p>When creating a large(ish) site, page titles usually reference both the site name and the current page name. However, it seems there are two main conventions:</p> <pre><code>Bob's Awesome Site - ...
[ { "answer_id": 16258, "author": "sourcenouveau", "author_id": 7369, "author_profile": "https://webmasters.stackexchange.com/users/7369", "pm_score": 2, "selected": false, "text": "<p>Definitely Page first, Site second. People usually don't care about the site they're on, they just care a...
2011/06/30
[ "https://webmasters.stackexchange.com/questions/16251", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/876/" ]
Apologies if this is a dupe. I tried searching, but didn't find anything specifically addressing this concern. When creating a large(ish) site, page titles usually reference both the site name and the current page name. However, it seems there are two main conventions: ``` Bob's Awesome Site - Contact Page ``` and ...
I always go for **Page Name** first: * Almost every website these days have individual icon (favicon.ico or similar) -- this alone enough to identify which site it is (unless you opened few sites which share some generic icon or no icon at all). * What is more important (from user point of view) -- site name or which ...
16,294
<p>I'm noticing that I get accesses </p> <pre><code>66.249.66.198 - - [01/Jul/2011:17:13:46 +0200] "GET /img/clip.incubus.torrent.phtml HTTP/1.1" 404 143 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.66.198 - - [01/Jul/2011:17:13:48 +0200] "GET /img/clip.global.deejays.download....
[ { "answer_id": 16295, "author": "Quentin", "author_id": 661, "author_profile": "https://webmasters.stackexchange.com/users/661", "pm_score": 0, "selected": false, "text": "<p>Presumably because someone linked there once.</p>\n" }, { "answer_id": 16296, "author": "Community", ...
2011/07/01
[ "https://webmasters.stackexchange.com/questions/16294", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8737/" ]
I'm noticing that I get accesses ``` 66.249.66.198 - - [01/Jul/2011:17:13:46 +0200] "GET /img/clip.incubus.torrent.phtml HTTP/1.1" 404 143 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 66.249.66.198 - - [01/Jul/2011:17:13:48 +0200] "GET /img/clip.global.deejays.download.phtml HTTP/1.1...
1. If domain name is new (you recently bought it) then Google may still try to get old URLs (not because it remembers those links (it will de-index such not-working-for-a-long-time links) but because there is still a site that has links to this domain) 2. Wherever those links were published there maybe a typo in URL (d...
16,320
<p>I am trying to setup a Wordpress blog to run in the subdirectory of an ASP.NET wbforms application so I can have <a href="http://www.myapplication.com/blog" rel="nofollow">http://www.myapplication.com/blog</a></p> <p>I have Wordpress running on IIS 7 fine as it's own application but when I create the 'blog' subdire...
[ { "answer_id": 18341, "author": "ash", "author_id": 9640, "author_profile": "https://webmasters.stackexchange.com/users/9640", "pm_score": 1, "selected": false, "text": "<p>You should disable inheritance. Look at this article, <a href=\"http://www.kowitz.net/archive/2007/05/16/stopping-a...
2011/07/01
[ "https://webmasters.stackexchange.com/questions/16320", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I am trying to setup a Wordpress blog to run in the subdirectory of an ASP.NET wbforms application so I can have <http://www.myapplication.com/blog> I have Wordpress running on IIS 7 fine as it's own application but when I create the 'blog' subdirectory and set it to be an application with the Wordpress folder as the ...
You should disable inheritance. Look at this article, <http://www.kowitz.net/archive/2007/05/16/stopping-asp-net-web-config-inheritance>.
16,366
<p>In our error logs we have quite a few (~ 10s / day) internal recursion errors caused by googlebot. Here is a typical example:</p> <pre><code>[Sun Jul 03 10:58:22 2011] [error] [client goo.gle.ipa.ddr] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursio...
[ { "answer_id": 16380, "author": "ʍǝɥʇɐɯ", "author_id": 7588, "author_profile": "https://webmasters.stackexchange.com/users/7588", "pm_score": 0, "selected": false, "text": "<p>Maybe you need to run HTTrack on your website with it set to download everything and follow all links within the...
2011/07/03
[ "https://webmasters.stackexchange.com/questions/16366", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4787/" ]
In our error logs we have quite a few (~ 10s / day) internal recursion errors caused by googlebot. Here is a typical example: ``` [Sun Jul 03 10:58:22 2011] [error] [client goo.gle.ipa.ddr] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase...
Try doing a search on Google of type: ``` link:<url of image> ``` That 'should' help you locate what is linking to the image.
16,383
<p>I have urls like the following:</p> <ul> <li><p><code>http://example.com/item/1</code></p></li> <li><p><code>http://example.com/item/1341</code></p></li> <li><p><code>http://example.com/item/33324</code></p></li> </ul> <p>I want to set up a funnel in Google Analytics and I understand that I can use a regular expre...
[ { "answer_id": 16393, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 2, "selected": false, "text": "<pre><code>/item/[0-9]* \n</code></pre>\n\n<p>should do it. You can test it out by using the Find URL field at...
2011/07/04
[ "https://webmasters.stackexchange.com/questions/16383", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have urls like the following: * `http://example.com/item/1` * `http://example.com/item/1341` * `http://example.com/item/33324` I want to set up a funnel in Google Analytics and I understand that I can use a regular expression. What would i enter to match all the above URLs i.e `/item/#{id}`?
``` /item/[0-9]* ``` should do it. You can test it out by using the Find URL field at the bottom of the Top Content report (old analytics) or on the Site Content->Pages report on the new interface you can do an advanced filter and enter it as a regular expression.
16,384
<p>What are the laws on this? If I have a simple registration form, can I have underneath it:</p> <pre><code>[x] Subscribe to the blog [x] Email me when a new release is issued </code></pre> <p>Auto checked? Or do they need to be Opt In by law (I remember reading this somewhere). If it makes a difference, we are r...
[ { "answer_id": 16385, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 3, "selected": true, "text": "<p>From <a href=\"http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications/opt_in_out.aspx...
2011/07/04
[ "https://webmasters.stackexchange.com/questions/16384", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5727/" ]
What are the laws on this? If I have a simple registration form, can I have underneath it: ``` [x] Subscribe to the blog [x] Email me when a new release is issued ``` Auto checked? Or do they need to be Opt In by law (I remember reading this somewhere). If it makes a difference, we are registered in the UK, and our ...
From <http://www.ico.gov.uk/for_organisations/privacy_and_electronic_communications/opt_in_out.aspx> > > If you provide a clear and prominent message along the following > lines, the fact that a suitably > prominent opt-out box has not been > ticked may help establish that consent > has been given. For example: >...
16,390
<p>As a webmaster in charge of a tiny site that has a forum, I regularly receive complains from users that both the internal search engine and that external searches (like when using Google) are totally polluted by my users' signatures (they're using long signatures and that's part of the forum's experience because sig...
[ { "answer_id": 16391, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 3, "selected": false, "text": "<p>Another solution is to wrap the sig in a span or div with style set to <code>display:none</code> and then u...
2011/07/04
[ "https://webmasters.stackexchange.com/questions/16390", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8785/" ]
As a webmaster in charge of a tiny site that has a forum, I regularly receive complains from users that both the internal search engine and that external searches (like when using Google) are totally polluted by my users' signatures (they're using long signatures and that's part of the forum's experience because signat...
Here is the same answer I provided to [noindex tag for google](https://stackoverflow.com/questions/15685205/noindex-tag-for-google/15718255#15718255) on Stack Overflow: You can prevent Google from seeing portions of the page by putting those portions in iframes that are blocked by robots.txt. ### `robots.txt` ``` Di...
16,420
<p>Right now I have the following code to redirect all non-www URLs to www URLs:</p> <pre><code>RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] </code></pre> <p>Besides that redirection, I also want to redirect all calls to /dev/ to dev.example.com. I've tried a bunch of d...
[ { "answer_id": 16421, "author": "Alex", "author_id": 231, "author_profile": "https://webmasters.stackexchange.com/users/231", "pm_score": 1, "selected": false, "text": "<p>Try this:</p>\n\n<pre><code>RewriteCond %{HTTP_HOST} ^(www\\.)?example\\.com$\nRewriteRule ^dev/(.*) http://dev.exam...
2011/07/05
[ "https://webmasters.stackexchange.com/questions/16420", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3224/" ]
Right now I have the following code to redirect all non-www URLs to www URLs: ``` RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] ``` Besides that redirection, I also want to redirect all calls to /dev/ to dev.example.com. I've tried a bunch of different approaches but no...
So .. you have more than 1 .htaccess file: one in the root folder and one in `/dev` folder. Where did you put rules from @Alex -- root or /dev .htaccess? Most likely in root. That is the reason why it did not worked. Thing is -- if Apache sees rewrite rules in lower level folder, it will NOT execute them from parent ...
16,428
<p>I am searching a good registrar (not godaddy) for </p> <pre><code>.com.br .it .fr .de .ch .es </code></pre> <p>Is there someone who can take it all?<br> I would go with Enom but it hasn't <code>.fr .com.br .ch .es</code></p> <p>Thanks guys</p>
[ { "answer_id": 16425, "author": "Nick", "author_id": 7198, "author_profile": "https://webmasters.stackexchange.com/users/7198", "pm_score": 4, "selected": true, "text": "<p>I suggest having +1 buttons affect whatever page they're on (i.e. individual posts instead of your homepage or blog...
2011/07/05
[ "https://webmasters.stackexchange.com/questions/16428", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/4744/" ]
I am searching a good registrar (not godaddy) for ``` .com.br .it .fr .de .ch .es ``` Is there someone who can take it all? I would go with Enom but it hasn't `.fr .com.br .ch .es` Thanks guys
I suggest having +1 buttons affect whatever page they're on (i.e. individual posts instead of your homepage or blog page, if that's what's being displayed). This maximises the chance of other +1 users seeing recommendations in their search results for the wide range of search terms that return your blog posts, instead...
16,468
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://webmasters.stackexchange.com/questions/1198/subdomain-versus-subdirectory">Subdomain versus subdirectory</a> </p> </blockquote> <p>I got a client portfolio website and he opens a Wordpress blog with articles related to his profession. Wha...
[ { "answer_id": 16465, "author": "Toby", "author_id": 1240, "author_profile": "https://webmasters.stackexchange.com/users/1240", "pm_score": 0, "selected": false, "text": "<p>Hosting the website would be a pain because you would need to have a dedicated line put into your house for people...
2011/07/05
[ "https://webmasters.stackexchange.com/questions/16468", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
> > **Possible Duplicate:** > > [Subdomain versus subdirectory](https://webmasters.stackexchange.com/questions/1198/subdomain-versus-subdirectory) > > > I got a client portfolio website and he opens a Wordpress blog with articles related to his profession. What the best for SEO - install it as subdomain or as ...
Any old PC running Ubuntu will get you up and running. Assuming you are on the end of an ADSL line (or Virgin Broadband) you will be able to use the service provided by dyndns.org to make your box accessible from the outside world with a few settings entered into your router box. Because of how ADSL works - one way is ...
16,534
<p>In my never ending quest for a faster website, I thought perhaps I could cache some scripts. I'm using Yslow to rate my site, everything is pretty much A (which is great, our website on Pingdom loads in 0.4-0.6 seconds which is 5-20x quicker than our competitors) except two things:</p> <p>Add expire headers:</p> ...
[ { "answer_id": 16537, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 2, "selected": false, "text": "<p>Bandwidth is almost a commodity at this point. Especially if you're <a href=\"https://webmasters.stackexchan...
2011/07/07
[ "https://webmasters.stackexchange.com/questions/16534", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5727/" ]
In my never ending quest for a faster website, I thought perhaps I could cache some scripts. I'm using Yslow to rate my site, everything is pretty much A (which is great, our website on Pingdom loads in 0.4-0.6 seconds which is 5-20x quicker than our competitors) except two things: Add expire headers: ``` (2011/7/7) ...
Moving *unique* static files to your own domain to reduce domain lookups and control expire headers is a good idea, provided you're prepared to check the master files for changes periodically. Moving *common* static files to your own domain is not always a good idea, because you lose the benefit if they're already cac...
16,535
<p>I know its possible to spread 1 cell across multiple rows using the rowspan attribute, however is it possible to spread 2 cells evenly across multiple rows, without resorting to a nested table?</p>
[ { "answer_id": 16536, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": false, "text": "<p>Sure. <code>rowspan</code> will honor the width set for the column it is used in. In other words, if the fir...
2011/07/07
[ "https://webmasters.stackexchange.com/questions/16535", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8705/" ]
I know its possible to spread 1 cell across multiple rows using the rowspan attribute, however is it possible to spread 2 cells evenly across multiple rows, without resorting to a nested table?
Sounds like this is what you are after: ``` +----------+--------------------+ | | | | | row 1 | | A | | | +--------------------+ | | | +----------+ row 2 | | | | | ...
16,576
<p>I have the following which redirects <code>mydomain1.co.uk</code> and <code>mydomain1.com</code> to <code>www.mydomain1.com</code> perfectly.</p> <pre><code>RewriteCond %{HTTP_HOST} !^(.*)\.mydomain1\.com$ [NC] RewriteRule ^(.*)$ http://www.mydomain1.com/$1 [R=301,L] </code></pre> <p>I am trying to add an addition...
[ { "answer_id": 16579, "author": "LazyOne", "author_id": 8354, "author_profile": "https://webmasters.stackexchange.com/users/8354", "pm_score": 2, "selected": false, "text": "<p>You seems to have quite a few domains and subdomains pointing to the same folder (so they share the same .htacc...
2011/07/08
[ "https://webmasters.stackexchange.com/questions/16576", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8861/" ]
I have the following which redirects `mydomain1.co.uk` and `mydomain1.com` to `www.mydomain1.com` perfectly. ``` RewriteCond %{HTTP_HOST} !^(.*)\.mydomain1\.com$ [NC] RewriteRule ^(.*)$ http://www.mydomain1.com/$1 [R=301,L] ``` I am trying to add an additional rule for a second domain, that will redirect all non www...
You seems to have quite a few domains and subdomains pointing to the same folder (so they share the same .htaccess) which makes your original approach not suitable for such situation. Use these rules instead of yours: ``` RewriteCond %{HTTP_HOST} =mydomain1.co.uk [OR] RewriteCond %{HTTP_HOST} =mydomain1.com RewriteRul...
16,589
<p>Which is better for SEO?</p> <pre><code>home &gt; page &gt; sub page &lt;h1&gt; sub page &lt;/h1&gt; </code></pre> <p>or</p> <pre><code>&lt;h1&gt; sub page &lt;/h1&gt; home &gt; page &gt; sub page </code></pre> <p>?</p>
[ { "answer_id": 16590, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>This doesn't really matter as long as you have only one <code>&lt;h1&gt;</code> on the page.</p>\n\n<p>For exampl...
2011/07/08
[ "https://webmasters.stackexchange.com/questions/16589", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
Which is better for SEO? ``` home > page > sub page <h1> sub page </h1> ``` or ``` <h1> sub page </h1> home > page > sub page ``` ?
The position of the H1 tag has basically no relevance compared to the content inside of the tag! A great descriptive text that reflects the contents of the page, is where the time should be spent. Another far more important thing to keep in mind is, how do users react to the placement of the H1 tag. Is it more intuiti...
16,596
<p>I am publishing python code on a website (that is CMS). I have a python script which reads any python script and makes a syntax-colored HTML out of it. Then I copy/paste this HTML into the CMS editing window.</p> <p>The problem is that my python syntax highlighting script uses <code>&lt;pre&gt;</code> tag to keep t...
[ { "answer_id": 16597, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 6, "selected": true, "text": "<p>You can do that with the CSS <code>white-space</code> rule:</p>\n\n<pre><code>div\n{\n font-family: \"Courie...
2011/07/08
[ "https://webmasters.stackexchange.com/questions/16596", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8867/" ]
I am publishing python code on a website (that is CMS). I have a python script which reads any python script and makes a syntax-colored HTML out of it. Then I copy/paste this HTML into the CMS editing window. The problem is that my python syntax highlighting script uses `<pre>` tag to keep tabs/spaces which are quite ...
You can do that with the CSS `white-space` rule: ``` div { font-family: "Courier New", monospace; white-space: pre; } ``` The fonts included in that rule make each character the same width which is common formatting for text in a `<pre>` tag. Keep in mind that this will make all of your `<div>` tags behave this...
16,606
<p>This is an example of an error in out log file:</p> <blockquote> <p><code>File does not exist: /var/www/website/female, referer: http://www.example.com/female/dresses/A-Dress-Black</code></p> </blockquote> <p><code>/female</code> does not physically exist, because we use friendly URLs via our <code>.htaccess</code> ...
[ { "answer_id": 16607, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>Been a while since I used Apache or wrote any Rewrite Rules, but are trying to match any number of A-Za-z and - d...
2010/04/14
[ "https://webmasters.stackexchange.com/questions/16606", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
This is an example of an error in out log file: > > `File does not exist: /var/www/website/female, referer: http://www.example.com/female/dresses/A-Dress-Black` > > > `/female` does not physically exist, because we use friendly URLs via our `.htaccess` file which looks like this: ``` RewriteEngine On # Turn on t...
You are trying to match a path that starts with a letter or number, but it starts with a '/'. Your rules should be something like ``` RewriteRule ^/([A-Za-z0-9-])/...$ ... ``` Alos, do you have access to the logs? If so, enable the logs for mog\_rewrite ``` RewriteLog /some/path RewriteLogLevel 3 ```
16,625
<p>How to rewrite url:</p> <pre><code>www.domain.com domain.com </code></pre> <p>to</p> <pre><code>www.domain.com/sell.html </code></pre> <p>Were sell.html is already rewritten I need some kind of redirection.</p>
[ { "answer_id": 16619, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": false, "text": "<p>There's a lot more to SEO than a Google Places listing or number of pages in a website. There are at least 2...
2011/07/09
[ "https://webmasters.stackexchange.com/questions/16625", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
How to rewrite url: ``` www.domain.com domain.com ``` to ``` www.domain.com/sell.html ``` Were sell.html is already rewritten I need some kind of redirection.
There's a lot more to SEO than a Google Places listing or number of pages in a website. There are at least 200 ranking factors and they vary in importance. The site that is outranking you *probably* has better quality links then you do. Quantity of backlinks is irrelevant. Quality is what matters. Not to mention you ...
16,636
<p>For SEO reasons, I've understood that it is important that the pages top most h1 is descriptive of the page's actual content. If one also wishes to have the site title at the top most part of the page, what element would this be put in? For example, take a simple blog. If one wishes to have the blog post header to b...
[ { "answer_id": 16639, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 0, "selected": false, "text": "<p>I'm not exactly sure what you mean by \"what element would this be put in\". <code>&lt;h1&gt;</code> tags ar...
2011/07/10
[ "https://webmasters.stackexchange.com/questions/16636", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3606/" ]
For SEO reasons, I've understood that it is important that the pages top most h1 is descriptive of the page's actual content. If one also wishes to have the site title at the top most part of the page, what element would this be put in? For example, take a simple blog. If one wishes to have the blog post header to be t...
The title of the page is hopefully already in the `<title>` tag in your `<head>`. Therefore, no tag exists for the purpose of showing your page's title. Putting it in a `<p>` or `<span>` as you suggest yourself would be perfectly fine. As an example, just look at this page's source: ``` <div id="hlogo"> <a href="...
16,641
<p>I would like to know what's the best location for an ID in a SEO optimized URL: </p> <pre class="lang-none prettyprint-override"><code>http://www.example.com/123/slug-title http://www.example.com/slug-title-123 </code></pre>
[ { "answer_id": 16642, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 4, "selected": true, "text": "<p>Look no further then the URL of this page:</p>\n\n<pre><code>http://webmasters.stackexchange.com/questions/16...
2011/07/10
[ "https://webmasters.stackexchange.com/questions/16641", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/2942/" ]
I would like to know what's the best location for an ID in a SEO optimized URL: ```none http://www.example.com/123/slug-title http://www.example.com/slug-title-123 ```
Look no further then the URL of this page: ``` http://webmasters.stackexchange.com/questions/16641/seo-urls-best-place-for-the-id ``` It's in the `http://www.site.com/action/id/slug-title` format. But truthfully, both work well and are optimized for the search engines.
16,655
<p>I was trying to host a zend-framework project on new host provider. After uploading everything and configuring the database connection I have encountered <code>Internal Server Error</code> message. My service provider told they don't installed zend-framework but I have integrated the framework as a library into the...
[ { "answer_id": 16658, "author": "ʍǝɥʇɐɯ", "author_id": 7588, "author_profile": "https://webmasters.stackexchange.com/users/7588", "pm_score": 1, "selected": false, "text": "<p>From my reading of the error message:</p>\n\n<p><code>Unable to load dynamic library '/usr/local/lib/php/extensi...
2011/07/11
[ "https://webmasters.stackexchange.com/questions/16655", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5134/" ]
I was trying to host a zend-framework project on new host provider. After uploading everything and configuring the database connection I have encountered `Internal Server Error` message. My service provider told they don't installed zend-framework but I have integrated the framework as a library into the project. ![e...
Your error log shows that the Zend framework can't find the PDO MySQL driver it needs to connect to the MySQL server. This could be for a couple of reasons: 1. It's possible your server is running an old version of PHP. (The PDO class is only included in PHP 5.1 or later.) Check what version you're running by creating...
16,670
<p>Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is. </p> <p>My employer is in the middle of switching over from one version of their website to another, and for the time being would like for the old site to redirect to the new one, but ...
[ { "answer_id": 16671, "author": "LazyOne", "author_id": 8354, "author_profile": "https://webmasters.stackexchange.com/users/8354", "pm_score": 3, "selected": true, "text": "<p><a href=\"http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect\" rel=\"nofollow\">Redirect directive...
2011/07/11
[ "https://webmasters.stackexchange.com/questions/16670", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8896/" ]
Disclaimer: My webmastering experience is almost nil. Apologies if anything seems ignorant - if it sounds that way, it probably is. My employer is in the middle of switching over from one version of their website to another, and for the time being would like for the old site to redirect to the new one, but have the p...
[Redirect directive](http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect) is part of **mod\_alias** module. Make sure that you have this line (or similar) uncommented (no `#` in front) in your `httpd.conf` file: ``` LoadModule alias_module modules/mod_alias.so ``` Another *possible* reason: add trailing...
16,757
<p>I want to permanently delete some pages in my site using 410 status. I'm not sure of correct syntax of removing pages using 410.</p> <p>I've found one syntax and I've a page( duplicate product page content) to remove : <a href="http://www.creditcardpaymentgateways.in/indiapay-payment-gateway-frequently-asked-questi...
[ { "answer_id": 16762, "author": "Nick", "author_id": 7198, "author_profile": "https://webmasters.stackexchange.com/users/7198", "pm_score": 4, "selected": true, "text": "<p><strong>Assume that you can't reuse content unless told otherwise.</strong></p>\n\n<p>Unless the page specifically ...
2011/07/13
[ "https://webmasters.stackexchange.com/questions/16757", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/6776/" ]
I want to permanently delete some pages in my site using 410 status. I'm not sure of correct syntax of removing pages using 410. I've found one syntax and I've a page( duplicate product page content) to remove : <http://www.creditcardpaymentgateways.in/indiapay-payment-gateway-frequently-asked-questionsfaq.html> so w...
**Assume that you can't reuse content unless told otherwise.** Unless the page specifically states that the content is licensed for reuse under a Creative Commons licence or similar, or the work is in the [public domain](http://en.wikipedia.org/wiki/Public_domain), you should assume that content is not licensed for re...
16,783
<p>I have 3 urls leading to same page</p> <p>// as most pages are in google, my previous website's version</p> <pre><code>http://mysite.com/1234.aspx </code></pre> <p>// shortcut</p> <pre><code>http://mysite.com/1234 </code></pre> <p>// SEO url</p> <pre><code>http://mysite.com/1234/state/city/company-name </code>...
[ { "answer_id": 16784, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 3, "selected": false, "text": "<p>Yes! That should be enough to make sure search engines treat it as one page.</p>\n" }, { "answer_id...
2011/07/13
[ "https://webmasters.stackexchange.com/questions/16783", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8939/" ]
I have 3 urls leading to same page // as most pages are in google, my previous website's version ``` http://mysite.com/1234.aspx ``` // shortcut ``` http://mysite.com/1234 ``` // SEO url ``` http://mysite.com/1234/state/city/company-name ``` Should i put a permanent redirect in the first two urls so google co...
If you want to be extra certain they treat them all as one page, use canonical URLs. Just put this at the top of the page: ``` <link rel="canonical" href="http://mysite.com/1234/state/city/company-name"> ```
16,799
<p>I have a directory on my ISP's web server, I don't want users to see files inside that directory, so I have a index.html file in it to redirect user to my main page, I wonder someone could still write a program and use http or other protocols to list the files in it ? I know they can't use browsers to access those f...
[ { "answer_id": 16800, "author": "bobince", "author_id": 8964, "author_profile": "https://webmasters.stackexchange.com/users/8964", "pm_score": 2, "selected": false, "text": "<p>You certainly could access the files in a web browser or other HTTP client, either by brute-force attack on fil...
2010/11/12
[ "https://webmasters.stackexchange.com/questions/16799", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have a directory on my ISP's web server, I don't want users to see files inside that directory, so I have a index.html file in it to redirect user to my main page, I wonder someone could still write a program and use http or other protocols to list the files in it ? I know they can't use browsers to access those file...
Actually, if the web server and/or permissions aren't set up right, they *can* access the files with a web browser. Anyone who knows (or guesses) the names of files within the directory can get them just fine. `index.html` only hides the directory listing, and the same thing can be done by disabling directory indexes f...
16,875
<p>I have a main domain (<code>me.com</code>) and I am hosting files for my mom's website (<code>mom.com</code>) in a subdirectory in my <code>public_html</code> folder so that <code>mom.com</code> uses files from <code>me.com/mom</code>.</p> <p>All I want to do is make it so that anyone trying to access her site thro...
[ { "answer_id": 16876, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>You can use this rule in your .htaccess:</p>\n\n<pre><code>RewriteEngine on\nRewriteCond %{HTTP_HOST} ^(www\\.)?m...
2011/03/22
[ "https://webmasters.stackexchange.com/questions/16875", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have a main domain (`me.com`) and I am hosting files for my mom's website (`mom.com`) in a subdirectory in my `public_html` folder so that `mom.com` uses files from `me.com/mom`. All I want to do is make it so that anyone trying to access her site through `me.com/mom` gets an error, without disturbing the visitors t...
**Edit: Fixed an error!** This is the theory: ``` RewriteEngine on RewriteCond %{HTTP_HOST} mom.com$ [NC] RewriteRule ^mom/ - [R=404,L] ``` On some versions, if the above doesn't work, you can do this ugly trick ``` RewriteEngine on RewriteCond %{HTTP_HOST} mom.com$ [NC] RewriteRule ^mom/ /someurlthatdoesntexist [...
16,898
<p>AFAIK, Google accepts sitemaps which are about ordinary URLs (text/plain), images (image/png, image/gif, image/jpg, etc.), and videos (video/avi, video/mpeg, etc.).</p> <p>My question is, how many Internet Media Types (formerly known as MIME Types) can have sitemaps. For example, if I'm a researcher, can I create a...
[ { "answer_id": 16876, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>You can use this rule in your .htaccess:</p>\n\n<pre><code>RewriteEngine on\nRewriteCond %{HTTP_HOST} ^(www\\.)?m...
2011/07/15
[ "https://webmasters.stackexchange.com/questions/16898", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8972/" ]
AFAIK, Google accepts sitemaps which are about ordinary URLs (text/plain), images (image/png, image/gif, image/jpg, etc.), and videos (video/avi, video/mpeg, etc.). My question is, how many Internet Media Types (formerly known as MIME Types) can have sitemaps. For example, if I'm a researcher, can I create a sitemap f...
**Edit: Fixed an error!** This is the theory: ``` RewriteEngine on RewriteCond %{HTTP_HOST} mom.com$ [NC] RewriteRule ^mom/ - [R=404,L] ``` On some versions, if the above doesn't work, you can do this ugly trick ``` RewriteEngine on RewriteCond %{HTTP_HOST} mom.com$ [NC] RewriteRule ^mom/ /someurlthatdoesntexist [...
16,901
<p>I am developing a web application and I would like to check for duplicate <code>id</code> values in a HTML page. I am running the application on my local machine.</p> <p>There is a way to do that?</p> <p>P.S.: I am using Firefox and Firebug.</p>
[ { "answer_id": 16904, "author": "Alex", "author_id": 231, "author_profile": "https://webmasters.stackexchange.com/users/231", "pm_score": 2, "selected": false, "text": "<p>Use the <a href=\"http://validator.w3.org/\" rel=\"nofollow noreferrer\">W3C Validator</a>. It will tell you if ther...
2011/07/15
[ "https://webmasters.stackexchange.com/questions/16901", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8979/" ]
I am developing a web application and I would like to check for duplicate `id` values in a HTML page. I am running the application on my local machine. There is a way to do that? P.S.: I am using Firefox and Firebug.
The W3C's [validator](http://validator.w3.org/check) tool will report duplicate IDs. To test your code: 1. Copy the generated source code to your clipboard. 2. Visit <http://validator.w3.org/#validate_by_input> 3. Paste your markup into the box and hit 'Check'. You can test it with the following code if you wish: ``...
16,923
<p>I have two sites I am currently working on which is a shopping cart and another shopper. Both are under the same domain name so for example </p> <pre><code>http://example.com/first_url http://example.com/second_url </code></pre> <p>Both these URLs have tons of pages below them </p> <pre><code>http://example.co...
[ { "answer_id": 16924, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 6, "selected": true, "text": "<p>You don't need the trailing slash to block those directories. This will work:</p>\n\n<pre><code>Disallow: /f...
2011/07/15
[ "https://webmasters.stackexchange.com/questions/16923", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have two sites I am currently working on which is a shopping cart and another shopper. Both are under the same domain name so for example ``` http://example.com/first_url http://example.com/second_url ``` Both these URLs have tons of pages below them ``` http://example.com/first_url/product1 http://example.co...
You don't need the trailing slash to block those directories. This will work: ``` Disallow: /first_url/* Disallow: /second_url/* ``` This [Google help page](http://code.google.com/web/controlcrawlindex/docs/robots_txt.html) covers this quite well.
17,002
<p>Take for example this random question: <a href="https://webmasters.stackexchange.com/questions/16999/tool-or-plugin-required-to-show-out-in-which-html-files-a-given-css-selectors-is">Tool or plugin required to show out in which html files a given css selectors is used</a>, notice that the relevant part is <code>/que...
[ { "answer_id": 17003, "author": "UpTheCreek", "author_id": 3312, "author_profile": "https://webmasters.stackexchange.com/users/3312", "pm_score": 2, "selected": false, "text": "<p>Yes, it's they could have added the ID after the question title if they had wished. </p>\n\n<p>Regarding th...
2011/07/17
[ "https://webmasters.stackexchange.com/questions/17002", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9015/" ]
Take for example this random question: [Tool or plugin required to show out in which html files a given css selectors is used](https://webmasters.stackexchange.com/questions/16999/tool-or-plugin-required-to-show-out-in-which-html-files-a-given-css-selectors-is), notice that the relevant part is `/questions/16999`. Now...
I do not know **exact** reasons why StackExchange sites do have ID before slug, but here is why I would have it this way: Sometimes URL can be truncated (intentionally (too long to store in DB etc) or by mistake (happens quite often when copy-paste)) .. and if ID is before slug, the server/script can still recognize t...
17,017
<p>Some of the sites we're hosting are compromised by... I don't know what. Every directory on the webserver contains a .htaccess file which redirects a user coming from a search engine to a page which doesn't even exist - see the .htaccess file below.</p> <p>The problem first appeared on 10 December 2010 and has been...
[ { "answer_id": 17018, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>There isn't really a simple explanation for what caused this without knowing a lot more about your server config ...
2010/12/14
[ "https://webmasters.stackexchange.com/questions/17017", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/22651/" ]
Some of the sites we're hosting are compromised by... I don't know what. Every directory on the webserver contains a .htaccess file which redirects a user coming from a search engine to a page which doesn't even exist - see the .htaccess file below. The problem first appeared on 10 December 2010 and has been spreading...
If you noticed it "at several hosting providers" then I would think its highly likely something to do with a site on your server(s) not todo with the server itself, unless your bringing over certain config files to new hosting providers etc? If I was you, I would enforce password changes, someones got access to your s...
17,070
<p>I have added a Facebook like box and like buttons on <a href="http://pedazosdecarbono.blogspot.com/" rel="nofollow noreferrer">my blog</a> and, recently, I've been seeing on analytics a lot of hits to pages ending with <code>?fb_xd_fragment=</code>.</p> <p>I've found a <a href="http://forum.developers.facebook.net/...
[ { "answer_id": 17079, "author": "xyious", "author_id": 8957, "author_profile": "https://webmasters.stackexchange.com/users/8957", "pm_score": 0, "selected": false, "text": "<p>on a page linked (<a href=\"http://bugs.developers.facebook.net/show_bug.cgi?id=9777\" rel=\"nofollow\">this one...
2011/07/19
[ "https://webmasters.stackexchange.com/questions/17070", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5465/" ]
I have added a Facebook like box and like buttons on [my blog](http://pedazosdecarbono.blogspot.com/) and, recently, I've been seeing on analytics a lot of hits to pages ending with `?fb_xd_fragment=`. I've found a [related thread](http://forum.developers.facebook.net/viewtopic.php?id=60571) on the Facebook Forums whi...
Looking at the [Facebook Platform bug](http://bugs.developers.facebook.net/show_bug.cgi?id=9777) (marked "WontFix") a workaround seems to be to add the following to your pages: From [comment 14](http://bugs.developers.facebook.net/show_bug.cgi?id=9777#c14): ``` <!-- Correct fb_xd_fragment Bug Start --> <script> doc...
17,074
<p>I have written an article <a href="http://programmingbulls.com/html-image-tag-1" rel="nofollow noreferrer">HTML Image Tag</a> for the site and it has been indexed by Google. But when I search it, google displays</p> <blockquote> <p>HTML Image Tag - ProgrammingBulls</p> <p><code>http://programmingbulls.com/html-image...
[ { "answer_id": 17075, "author": "Quentin", "author_id": 661, "author_profile": "https://webmasters.stackexchange.com/users/661", "pm_score": 4, "selected": false, "text": "<p>The \"CSS\" is actually text in the explicit description of the page:</p>\n\n<pre><code>&lt;meta name=\"descripti...
2011/07/19
[ "https://webmasters.stackexchange.com/questions/17074", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have written an article [HTML Image Tag](http://programmingbulls.com/html-image-tag-1) for the site and it has been indexed by Google. But when I search it, google displays > > HTML Image Tag - ProgrammingBulls > > > `http://programmingbulls.com/html-image-tag-1:` > > > content { font-family:verdana; font-size:...
The "CSS" is actually text in the explicit description of the page: ``` <meta name="description" content=".content { font-family:verdana; font-size:14px; font-weight:normal } We often use images in a webpage.To insert images in our webpage &lt; img&gt; tag is used in HTML. HTML&lt; Img&gt;tag And Src Attribute Images ...
17,095
<p>I have a web calendar, all my own work. It works fine. But I see in the logs a bunch of search indexers go round and round and round trying to chase every link. It could go forward to the year 3000 month by month and day by day. I don't think the indexers should follow this as it doesn't serve much purpose. What HTT...
[ { "answer_id": 17099, "author": "Kzqai", "author_id": 118, "author_profile": "https://webmasters.stackexchange.com/users/118", "pm_score": 1, "selected": false, "text": "<p>Probably simply <code>&lt;a rel='nofollow' ...</code> on the calendar navigation links (as opposed to the events th...
2011/07/19
[ "https://webmasters.stackexchange.com/questions/17095", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8511/" ]
I have a web calendar, all my own work. It works fine. But I see in the logs a bunch of search indexers go round and round and round trying to chase every link. It could go forward to the year 3000 month by month and day by day. I don't think the indexers should follow this as it doesn't serve much purpose. What HTTP h...
Use [rel="nofollow"](http://www.google.com/support/webmasters/bin/answer.py?answer=96569) on all links that you don't want spiders to follow or index (i.e. days, months, etc.). Use [robots.txt](http://www.robotstxt.org/) to specify paths that you want them to ignore. If your site is a web application, consider using ...
17,226
<p>In my website, I wan't adsense crawler to not consider certain parts of the HTML. Is there any snippet I can use. The reason is I am using a plugin from an external provider and as soon as I installed that plugin, adsense stopped showing relevant ads and started showing ads related to that plugin.</p> <pre><code>&l...
[ { "answer_id": 17228, "author": "Su'", "author_id": 4502, "author_profile": "https://webmasters.stackexchange.com/users/4502", "pm_score": 4, "selected": true, "text": "<p>You can do this with <a href=\"http://www.google.com/adsense/support/bin/answer.py?answer=23168\">section targeting<...
2011/07/22
[ "https://webmasters.stackexchange.com/questions/17226", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8557/" ]
In my website, I wan't adsense crawler to not consider certain parts of the HTML. Is there any snippet I can use. The reason is I am using a plugin from an external provider and as soon as I installed that plugin, adsense stopped showing relevant ads and started showing ads related to that plugin. ``` <!--Adsense Shou...
You can do this with [section targeting](http://www.google.com/adsense/support/bin/answer.py?answer=23168): ``` <!-- google_ad_section_start(weight=ignore) --> [stuff to ignore here] <!-- google_ad_section_end --> ```
17,247
<p>I have my links set up like this:</p> <pre><code>&lt;a href="http://abc.com/test/abc"&gt; &lt;a href="http://abc.com/test/def"&gt; </code></pre> <p>the abc.com is repeated many times. What I would like to know is if I need include this at all. How about if I code the links as:</p> <pre><code>&lt;a href="/test/abc...
[ { "answer_id": 17248, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": false, "text": "<p>Those two examples are identical and won't have any effect on your rankings or pages indexed. </p>\n" }, ...
2011/07/22
[ "https://webmasters.stackexchange.com/questions/17247", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have my links set up like this: ``` <a href="http://abc.com/test/abc"> <a href="http://abc.com/test/def"> ``` the abc.com is repeated many times. What I would like to know is if I need include this at all. How about if I code the links as: ``` <a href="/test/abc"> <a href="/test/def"> ``` Would a search engine ...
Those two examples are identical and won't have any effect on your rankings or pages indexed.
17,267
<p>I'm working on a CMS which gets keywords from end user, which means that they are totally dynamic for each page. I get each keyword separately. What delimiter characters should I use to include those keywords in <code>&lt;meta name='keywords'</code> element?</p> <p>Second question is, can I use space in my keywords...
[ { "answer_id": 17269, "author": "Su'", "author_id": 4502, "author_profile": "https://webmasters.stackexchange.com/users/4502", "pm_score": 4, "selected": true, "text": "<p>Separate your keywords with a comma. Spaces are fine.</p>\n" }, { "answer_id": 17271, "author": "Marco D...
2011/07/23
[ "https://webmasters.stackexchange.com/questions/17267", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8972/" ]
I'm working on a CMS which gets keywords from end user, which means that they are totally dynamic for each page. I get each keyword separately. What delimiter characters should I use to include those keywords in `<meta name='keywords'` element? Second question is, can I use space in my keywords? For example, can I hav...
Separate your keywords with a comma. Spaces are fine.
17,304
<p>I'm making a blog site and instead of the users blogs being called /blog?display=<em>username</em> I would like it to just be a sub domain such as mysite.com/<em>username</em> </p> <p>How would I be able to make the first URL look like the second URL?</p>
[ { "answer_id": 17305, "author": "zgold", "author_id": 9158, "author_profile": "https://webmasters.stackexchange.com/users/9158", "pm_score": 4, "selected": true, "text": "<p>Place this in your .htaccess file:</p>\n\n<pre><code>RewriteEngine On\nRewriteCond %{REQUEST_FILENAME} !-f\nRewrit...
2011/07/22
[ "https://webmasters.stackexchange.com/questions/17304", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9173/" ]
I'm making a blog site and instead of the users blogs being called /blog?display=*username* I would like it to just be a sub domain such as mysite.com/*username* How would I be able to make the first URL look like the second URL?
Place this in your .htaccess file: ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /blog?display=$1 [L] ``` This will redirect each URL which do not corresponds to an existing file (`!-f`) or existing directory (`!-d`) to the corresponding `blog?...` UR...
17,311
<p>I have this kind of settings for Google Sites and Blogger in Godaddy, below. I cannot get URL Framing (not URL masking) working with them. I am unsure what the problem, cannot understand what services such as Blogger and Godaddy really do.</p> <p><strong>Wrong A-records in Go Daddy!</strong></p> <pre><code>; A Rec...
[ { "answer_id": 17305, "author": "zgold", "author_id": 9158, "author_profile": "https://webmasters.stackexchange.com/users/9158", "pm_score": 4, "selected": true, "text": "<p>Place this in your .htaccess file:</p>\n\n<pre><code>RewriteEngine On\nRewriteCond %{REQUEST_FILENAME} !-f\nRewrit...
2011/07/24
[ "https://webmasters.stackexchange.com/questions/17311", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I have this kind of settings for Google Sites and Blogger in Godaddy, below. I cannot get URL Framing (not URL masking) working with them. I am unsure what the problem, cannot understand what services such as Blogger and Godaddy really do. **Wrong A-records in Go Daddy!** ``` ; A Records @ 3600 IN A 216.239.3...
Place this in your .htaccess file: ``` RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /blog?display=$1 [L] ``` This will redirect each URL which do not corresponds to an existing file (`!-f`) or existing directory (`!-d`) to the corresponding `blog?...` UR...
17,323
<p>I've getting lots of 404 errors from crossdomain.xml. Here are the request details, as provided by Google App Engine:</p> <pre><code>404 22ms 19cpu_ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30 69.130.*.* - - [24/Jul/2011:07:43:42 -0700] "GET /cr...
[ { "answer_id": 17324, "author": "Toby", "author_id": 1240, "author_profile": "https://webmasters.stackexchange.com/users/1240", "pm_score": -1, "selected": false, "text": "<p>Do you have flash based adverts on your website, it looks like the 3rd party advert is looking in your domain for...
2011/07/24
[ "https://webmasters.stackexchange.com/questions/17323", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9167/" ]
I've getting lots of 404 errors from crossdomain.xml. Here are the request details, as provided by Google App Engine: ``` 404 22ms 19cpu_ms 0kb Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30 69.130.*.* - - [24/Jul/2011:07:43:42 -0700] "GET /crossdomain.xml ...
I also was finding these references in my logs. This seems to be related to a service called "Drop Down Deals", that involves a browser add-on that seems, well, broken. <http://www.dropdowndeals.com/> <https://nodpi.org/forum/index.php?topic=3462.0;wap2>
17,338
<p>I have a WordPress blog running on an Apache2 server currently that I need to completely move to a new domain name.</p> <p><code>http://www.somesite.com/</code> to <code>http://www.someothersite.com</code></p> <p>I need all requests to that domain to be redirected to a new domain name. Can this be done with .htacc...
[ { "answer_id": 17342, "author": "LazyOne", "author_id": 8354, "author_profile": "https://webmasters.stackexchange.com/users/8354", "pm_score": 2, "selected": false, "text": "<p>If URLs are exactly the same and the only difference is the domain name, then it is very easy to do. Just place...
2011/07/24
[ "https://webmasters.stackexchange.com/questions/17338", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/1941/" ]
I have a WordPress blog running on an Apache2 server currently that I need to completely move to a new domain name. `http://www.somesite.com/` to `http://www.someothersite.com` I need all requests to that domain to be redirected to a new domain name. Can this be done with .htaccess? If so what's the rule to be used?
If URLs are exactly the same and the only difference is the domain name, then it is very easy to do. Just place this line in .htaccess in website root folder of `www.somesite.com`: ``` Redirect 301 / http://www.someothersite.com/ ``` The above rule will redirect (301 Permanent Redirect) ALL requests to a new domain ...
17,340
<p>I am using Facebook comments on couple of my blogs at the moment and I just found that somehow magically all the previous comments made on posts are gone and are no longer being displayed.</p> <p>I'm using wordpress for all of these blogs and <a href="http://we8u.com/facebook-comments/" rel="nofollow">Facebook Comm...
[ { "answer_id": 17342, "author": "LazyOne", "author_id": 8354, "author_profile": "https://webmasters.stackexchange.com/users/8354", "pm_score": 2, "selected": false, "text": "<p>If URLs are exactly the same and the only difference is the domain name, then it is very easy to do. Just place...
2011/07/24
[ "https://webmasters.stackexchange.com/questions/17340", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/131510/" ]
I am using Facebook comments on couple of my blogs at the moment and I just found that somehow magically all the previous comments made on posts are gone and are no longer being displayed. I'm using wordpress for all of these blogs and [Facebook Comments for WordPress](http://we8u.com/facebook-comments/) to manage all...
If URLs are exactly the same and the only difference is the domain name, then it is very easy to do. Just place this line in .htaccess in website root folder of `www.somesite.com`: ``` Redirect 301 / http://www.someothersite.com/ ``` The above rule will redirect (301 Permanent Redirect) ALL requests to a new domain ...
17,374
<p><a href="http://www.tagman.com/index.php/smart-tag-loading.html" rel="nofollow">This article</a> says Google +1 tags can add a second to page load time, which means a 10% decline in visitors.</p> <p>The article authors say they use smart tag loading to reduce page load time.</p> <p>Does anyone know of an open sour...
[ { "answer_id": 25518, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>Google <a href=\"http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS\" rel=\"nof...
2011/07/25
[ "https://webmasters.stackexchange.com/questions/17374", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5026/" ]
[This article](http://www.tagman.com/index.php/smart-tag-loading.html) says Google +1 tags can add a second to page load time, which means a 10% decline in visitors. The article authors say they use smart tag loading to reduce page load time. Does anyone know of an open source method to do this rather than a propriet...
Google [recommends the following](http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS):- ``` <script type="text/javascript"> // Add a script element as a child of the body function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "deferredfunctions.js"; documen...
17,377
<p>I see a lot of blogs (coding horror for example) that seem to feature random pictures in the entries.</p> <p>Would I be correct in saying they probably didn't seek permission to use those images? What are the rules around this? Can I use any image I want in my blog post? Or do I have to seek permission?</p> <p...
[ { "answer_id": 25518, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>Google <a href=\"http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS\" rel=\"nof...
2011/07/25
[ "https://webmasters.stackexchange.com/questions/17377", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5727/" ]
I see a lot of blogs (coding horror for example) that seem to feature random pictures in the entries. Would I be correct in saying they probably didn't seek permission to use those images? What are the rules around this? Can I use any image I want in my blog post? Or do I have to seek permission? I'm thinking there m...
Google [recommends the following](http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS):- ``` <script type="text/javascript"> // Add a script element as a child of the body function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "deferredfunctions.js"; documen...
17,379
<p>I'm looking for an online <strong>opensource</strong> editor for <strong>css files</strong>. It should have <strong>syntax highlighting</strong>. Also it should be <strong>easily integratable</strong> within php code.</p> <p><strong>Edit:</strong> I need something like <code>textarea</code> that highlights my css c...
[ { "answer_id": 25518, "author": "toomanyairmiles", "author_id": 12685, "author_profile": "https://webmasters.stackexchange.com/users/12685", "pm_score": 2, "selected": false, "text": "<p>Google <a href=\"http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS\" rel=\"nof...
2011/07/25
[ "https://webmasters.stackexchange.com/questions/17379", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I'm looking for an online **opensource** editor for **css files**. It should have **syntax highlighting**. Also it should be **easily integratable** within php code. **Edit:** I need something like `textarea` that highlights my css code. And i want to add it to my website so i can change my css from everyplace.
Google [recommends the following](http://code.google.com/speed/page-speed/docs/payload.html#DeferLoadingJS):- ``` <script type="text/javascript"> // Add a script element as a child of the body function downloadJSAtOnload() { var element = document.createElement("script"); element.src = "deferredfunctions.js"; documen...
17,426
<p>Found some curious CSS in the source for <a href="http://contrastrebellion.com/" rel="nofollow">http://contrastrebellion.com/</a>:</p> <pre><code>font-family: restore-n8, restore-1, restore-2, sans-serif; </code></pre> <p><code>Restore-n8</code> and the like don't seem to be font names. What does this CSS snippet ...
[ { "answer_id": 17427, "author": "xyious", "author_id": 8957, "author_profile": "https://webmasters.stackexchange.com/users/8957", "pm_score": 1, "selected": false, "text": "<p>Tried to do a search on it, but it seems like you can only use font-family for font families. Therefore i will a...
2011/07/26
[ "https://webmasters.stackexchange.com/questions/17426", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7369/" ]
Found some curious CSS in the source for <http://contrastrebellion.com/>: ``` font-family: restore-n8, restore-1, restore-2, sans-serif; ``` `Restore-n8` and the like don't seem to be font names. What does this CSS snippet do?
It's [Restore](http://typekit.com/fonts/restore), served by TypeKit. These fonts have been included using CSS3's `@font-face`. The fonts themselves have been included in the styles, using base-64 encoding, and can be referenced like any other font family in CSS once defined. Here's a quick example of the CSS that def...
17,445
<p>I just performed a Google search for the words "Google Analytics" and noticed half way down the page that there was an image next to one of the results:</p> <p><img src="https://i.stack.imgur.com/oKPtn.png" alt="Google search"></p> <p>How can I achieve this? Having used Yoast's plugin I know how much of a genius h...
[ { "answer_id": 17447, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 5, "selected": true, "text": "<p>Here's how he did it: <a href=\"http://yoast.com/highlighting-wordpress-authors-search/\">http://yoast.com/h...
2011/07/27
[ "https://webmasters.stackexchange.com/questions/17445", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7801/" ]
I just performed a Google search for the words "Google Analytics" and noticed half way down the page that there was an image next to one of the results: ![Google search](https://i.stack.imgur.com/oKPtn.png) How can I achieve this? Having used Yoast's plugin I know how much of a genius he is!
Here's how he did it: <http://yoast.com/highlighting-wordpress-authors-search/> > > To do this, you need to apply the authorship markup Google announced a > couple weeks back. This basically means adding rel="author" to a link > to the authors page on the same domain. My author link for this post, > for instance, ...
17,518
<p>I added the no-index tag for the google-bot, but it is kind of taking a long time to de-index some pages since I have over 100k pages I need to de-index lol :)))</p> <p>What is the proper way to de-index pages using robots.txt?</p> <p>Thanks!</p> <p>Any idea how long should it take?</p>
[ { "answer_id": 17519, "author": "Matthew Brookes", "author_id": 5464, "author_profile": "https://webmasters.stackexchange.com/users/5464", "pm_score": 0, "selected": false, "text": "<p>Take a look at <a href=\"http://www.robotstxt.org/\" rel=\"nofollow\">robotstxt.org</a> has all the inf...
2011/07/28
[ "https://webmasters.stackexchange.com/questions/17518", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5809/" ]
I added the no-index tag for the google-bot, but it is kind of taking a long time to de-index some pages since I have over 100k pages I need to de-index lol :))) What is the proper way to de-index pages using robots.txt? Thanks! Any idea how long should it take?
Assuming these pages still exist, but you just want them removed from search results... > > What is the proper way to de-index pages using robots.txt? > > > You wouldn't necessarily use `robots.txt` to *de-index* pages. ie. remove already indexed pages from the Google search results. A `noindex` robots meta tag i...
17,551
<p>Using robots.txt, how do you disallow the root of a site (http://www.example.com/) but allow a subdirectory (http://www.example.com/lessons/)?</p>
[ { "answer_id": 17552, "author": "Floern", "author_id": 5694, "author_profile": "https://webmasters.stackexchange.com/users/5694", "pm_score": 3, "selected": false, "text": "<pre><code>User-agent: *\nDisallow: /\nAllow: /lessons/\nAllow: /other-dir/\n</code></pre>\n\n<p>This does disallow...
2011/07/29
[ "https://webmasters.stackexchange.com/questions/17551", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7126/" ]
Using robots.txt, how do you disallow the root of a site (http://www.example.com/) but allow a subdirectory (http://www.example.com/lessons/)?
``` User-agent: * Disallow: / Allow: /lessons/ Allow: /other-dir/ ``` This does disallow the entire website, but explicitly allows given directories.
17,553
<p>I'm trying to add some javascript triggered Google Analytics events to a website that is already working with GA.</p> <p>I've included the following beneath the standard GA script (new ga.js script). </p> <pre><code>_gaq.push(['_trackEvent', 'Downloads', 'Extension']); </code></pre> <p>Which seems to be working o...
[ { "answer_id": 28810, "author": "greg", "author_id": 14876, "author_profile": "https://webmasters.stackexchange.com/users/14876", "pm_score": 1, "selected": false, "text": "<p>Unique events are similar events made by a unique visitor.</p>\n\n<p>In your case : 1 visitor who makes 5 time t...
2011/07/29
[ "https://webmasters.stackexchange.com/questions/17553", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9266/" ]
I'm trying to add some javascript triggered Google Analytics events to a website that is already working with GA. I've included the following beneath the standard GA script (new ga.js script). ``` _gaq.push(['_trackEvent', 'Downloads', 'Extension']); ``` Which seems to be working ok, but the results listed in the ...
Unique events are similar events made by a unique visitor. In your case : 1 visitor who makes 5 time the same event.
17,600
<p>I've been pulling my hair out but can't figure out why my page looks like a huge mess in IE9, but Firefox, Chrome, Opera, Safari works great.</p> <p>My website is here: <a href="http://173.244.195.179/test-o.html" rel="nofollow">http://173.244.195.179/test-o.html</a></p> <p>Could anyone tell me what I'm doing that...
[ { "answer_id": 17601, "author": "Jawad", "author_id": 18657, "author_profile": "https://webmasters.stackexchange.com/users/18657", "pm_score": 0, "selected": false, "text": "<p>You need a Doctype. Just put</p>\n\n<pre><code>&lt;!DOCTYPE html&gt;\n</code></pre>\n\n<p>At the top in your HT...
2011/07/30
[ "https://webmasters.stackexchange.com/questions/17600", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5852/" ]
I've been pulling my hair out but can't figure out why my page looks like a huge mess in IE9, but Firefox, Chrome, Opera, Safari works great. My website is here: <http://173.244.195.179/test-o.html> Could anyone tell me what I'm doing that isn't compatible with IE9?
Looking at your source code, you have a couple of serious issues: ``` <script language=javascript type='text/javascript'> ... </script> <!DOCTYPE html> <html> <head> ``` You have a script tag at the very top of your page. They should go inside the `head` tags. Which leads me to the next issue: ``` <!DOCTYPE html> ...
17,661
<p>I remember first starting out using tables for layouts and learned that I should not be doing that. I am working on a new site and can not seem to do equal height columns without using tables. Here is an example of the attempt with div tags.</p> <pre><code>&lt;div class="row"&gt; &lt;div class="column"&gt;column1&l...
[ { "answer_id": 17662, "author": "Nightfirecat", "author_id": 9321, "author_profile": "https://webmasters.stackexchange.com/users/9321", "pm_score": 2, "selected": false, "text": "<p>No, using <code>display: table</code>, <code>display: table-row</code>, and <code>display: table-cell</cod...
2011/08/01
[ "https://webmasters.stackexchange.com/questions/17661", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I remember first starting out using tables for layouts and learned that I should not be doing that. I am working on a new site and can not seem to do equal height columns without using tables. Here is an example of the attempt with div tags. ``` <div class="row"> <div class="column">column1</div> <div class="column">c...
No, using `display: table`, `display: table-row`, and `display: table-cell` would not be as bad as using `<table>` tags. The reason for that is that HTML is a *semantic* language, meaning that the tags used should describe the content that is within. In this case, CSS can be used to describe to the browser how the data...
17,683
<p>In Google Webmaster Central, I have decided that my search results will be shown as non-www but I also decided that my site redirects to www. Will this be a problem for my seo.</p>
[ { "answer_id": 17684, "author": "Keith", "author_id": 1248, "author_profile": "https://webmasters.stackexchange.com/users/1248", "pm_score": 0, "selected": false, "text": "<p>foo.bar and www.foo.bar would show as separate sites if not done properly. are you handling the redirect through...
2011/08/02
[ "https://webmasters.stackexchange.com/questions/17683", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8557/" ]
In Google Webmaster Central, I have decided that my search results will be shown as non-www but I also decided that my site redirects to www. Will this be a problem for my seo.
no. there is no problem SEO-wise. in the WMT you can set which url will be displayed (in your case: the non-www url). just make sure to handle redirects the appropriate way. via .htacces you would need to set up the following: ``` RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^yoururl.com [NC] RewriteRule ^...
17,695
<p>One of our client's SEO agencies has recently began sending a lot of "shady" requests about what should be changed on our client's web site in order to comply to best SEO practices. </p> <p>We suspect their attempt to simply justify additional costs however since its one of our most important clients we can't simpl...
[ { "answer_id": 17696, "author": "Narnian", "author_id": 9341, "author_profile": "https://webmasters.stackexchange.com/users/9341", "pm_score": 2, "selected": false, "text": "<p>I've never read anything to suggest that a search engine checks the font-size defined in your css. That seems ...
2011/08/02
[ "https://webmasters.stackexchange.com/questions/17695", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
One of our client's SEO agencies has recently began sending a lot of "shady" requests about what should be changed on our client's web site in order to comply to best SEO practices. We suspect their attempt to simply justify additional costs however since its one of our most important clients we can't simply ignore a...
You should be fine with that. It's understandable that design aesthetics will have sub headings displayed with larger text than page headings. As long as you are using the markup properly and not trying to game the search engines you will have nothing to worry about. Just like `display:none` has legitimate uses and bla...
17,704
<p>I have a sitemap on my site at this location:</p> <p><a href="https://www.loveelectronics.co.uk/handlers/sitemap.ashx" rel="nofollow">https://www.loveelectronics.co.uk/handlers/sitemap.ashx</a></p> <p>which is referenced in my robots.txt like so:</p> <pre><code>Sitemap: https://www.loveelectronics.co.uk/Handlers/...
[ { "answer_id": 17705, "author": "Su'", "author_id": 4502, "author_profile": "https://webmasters.stackexchange.com/users/4502", "pm_score": 1, "selected": false, "text": "<p>You're probably just dealing with a relatively dumb spider.</p>\n\n<p><code>/sitemap.xml</code> is the \"standard\"...
2011/08/02
[ "https://webmasters.stackexchange.com/questions/17704", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9346/" ]
I have a sitemap on my site at this location: <https://www.loveelectronics.co.uk/handlers/sitemap.ashx> which is referenced in my robots.txt like so: ``` Sitemap: https://www.loveelectronics.co.uk/Handlers/Sitemap.ashx ``` For some reason, I keep getting requests for the following files: ``` sitemap.xml sitemap-b...
You're probably just dealing with a relatively dumb spider. `/sitemap.xml` is the "standard" location, which explains that request. Whatever spider/bot is hitting that location is just taking the safe bet. Hopefully, for them anyway, they're also looking at your robots file. As for the others, they're not standard na...
17,781
<p>I'm migrating a Joomla 1.5 site to a WordPress 3.1 site (I will later update to WP 3.2.x) and I've found the right tool to do it, a plugin called <a href="http://wordpress.org/extend/plugins/joomla-15-importer/faq/" rel="nofollow">Joomla 1.5 Importer</a>. There is another plugin called <a href="http://wordpress.org...
[ { "answer_id": 17836, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 3, "selected": true, "text": "<p>This should do it</p>\n\n<pre><code>RewriteRule ^(.*)/(.*)/[0-9]\\-(.*)$ http://yoursite.com/$1/$2/$3\n</cod...
2011/08/04
[ "https://webmasters.stackexchange.com/questions/17781", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9385/" ]
I'm migrating a Joomla 1.5 site to a WordPress 3.1 site (I will later update to WP 3.2.x) and I've found the right tool to do it, a plugin called [Joomla 1.5 Importer](http://wordpress.org/extend/plugins/joomla-15-importer/faq/). There is another plugin called [Joomla/Mambo To WordPress Migrator](http://wordpress.org/e...
This should do it ``` RewriteRule ^(.*)/(.*)/[0-9]\-(.*)$ http://yoursite.com/$1/$2/$3 ```
17,793
<p>The below is a part of <code>traceroute</code> to my hosted server:</p> <pre><code> 9 ae-2-2.ebr2.dallas1.level3.net (4.69.132.106) 19.433 ms 19.599 ms 19.275 ms 10 ae-72-72.csw2.dallas1.level3.net (4.69.151.141) 19.496 ms ae-82-82.csw3.dallas1.level3.net (4.69.151.153) 19.630 ms ae-62-62.csw1.dallas...
[ { "answer_id": 17794, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 7, "selected": true, "text": "<blockquote>\n <p>If a packet is not acknowledged within the expected timeout, an\n asterisk is displayed.</p...
2011/08/04
[ "https://webmasters.stackexchange.com/questions/17793", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5679/" ]
The below is a part of `traceroute` to my hosted server: ``` 9 ae-2-2.ebr2.dallas1.level3.net (4.69.132.106) 19.433 ms 19.599 ms 19.275 ms 10 ae-72-72.csw2.dallas1.level3.net (4.69.151.141) 19.496 ms ae-82-82.csw3.dallas1.level3.net (4.69.151.153) 19.630 ms ae-62-62.csw1.dallas1.level3.net (4.69.151.12...
> > If a packet is not acknowledged within the expected timeout, an > asterisk is displayed. > > > From <http://en.wikipedia.org/wiki/Traceroute> However zyzzyva.site5.com did eventually respond which is why you have line 16.
17,883
<p>I am trying to implement background music on a website using the audio object, which is controlled by a JavaScript, <a href="https://webmasters.stackexchange.com/questions/17604/javascript-control-of-audio-not-working-in-firefox-works-in-chrome">I have posted a question about this before,</a> @LazyOne explained that...
[ { "answer_id": 17881, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 0, "selected": false, "text": "<p>Instead of aliasing www.example.com to example.com, you should configure example.com as Google points out, then c...
2011/08/06
[ "https://webmasters.stackexchange.com/questions/17883", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9010/" ]
I am trying to implement background music on a website using the audio object, which is controlled by a JavaScript, [I have posted a question about this before,](https://webmasters.stackexchange.com/questions/17604/javascript-control-of-audio-not-working-in-firefox-works-in-chrome) @LazyOne explained that IIS will not ...
Sign into your Google Apps Dashboard, go to `Domain Settings` -> `Domain Names`, from there you have the option to setup your naked domain redirection - follow the instructions presented, you will need to set up a new `'A'` record (this is one of the very rare cases in Google Apps setup which doesn't use a `'CNAME'` re...
17,914
<p>I'd like to ask "What exactly is considered <em>a lot of traffic</em> for a website?"</p> <p>What's the minimum someone could say - after stating their website receives a lot of traffic - as to not be laughed at?</p> <p><em>Inspired by <a href="https://stackoverflow.com/questions/647210/just-what-is-a-big-database...
[ { "answer_id": 17923, "author": "Nick", "author_id": 7198, "author_profile": "https://webmasters.stackexchange.com/users/7198", "pm_score": 6, "selected": true, "text": "<p>I've created the following scale to help give some feel of what &quot;a lot&quot; might mean. It uses estimates of ...
2011/08/07
[ "https://webmasters.stackexchange.com/questions/17914", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5727/" ]
I'd like to ask "What exactly is considered *a lot of traffic* for a website?" What's the minimum someone could say - after stating their website receives a lot of traffic - as to not be laughed at? *Inspired by [this question](https://stackoverflow.com/questions/647210/just-what-is-a-big-database) on stack overflow*
I've created the following scale to help give some feel of what "a lot" might mean. It uses estimates of **unique monthly visitors** for popular websites to create a high point, then works down from there. ### The "what's a lot of traffic?" scale (monthly uniques): ``` "A right royal load" = 1 billion+ e.g. G...
17,939
<p>I would like to create a custom report in Google Analytics that will measure weekday performance only over a period of time ie week 01 (Monday to Friday) verses week 02 (Monday to Friday).</p> <p>Is this possible and if so how.</p>
[ { "answer_id": 17944, "author": "Osvaldo", "author_id": 6355, "author_profile": "https://webmasters.stackexchange.com/users/6355", "pm_score": 0, "selected": false, "text": "<p>As far as I know the only way you can do it is by assigning custom variables to visits that happen between Mond...
2011/08/08
[ "https://webmasters.stackexchange.com/questions/17939", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I would like to create a custom report in Google Analytics that will measure weekday performance only over a period of time ie week 01 (Monday to Friday) verses week 02 (Monday to Friday). Is this possible and if so how.
This is entirely possible. Assuming you are running Google Analytics Version 5 (the new interface): ``` 1. Go to "Custom Reports" (top navigation) 2. Click on "+New Custom Report" 3. And set the following: a. +add metric: Entrances, Bounces, Unique Visitors, Pageviews, Avg. Time on Page, Avg. Time on Site b. +add di...
17,995
<p>I recently upgraded a shopsystem to prestashop and imported the previous products (~1200), and I managed to keep the old <code>category_id</code> and <code>product_id</code>. I'm trying to set up those 2 rules to redirect all my old incoming links to the new page, however for some reason they always end up on the 40...
[ { "answer_id": 17997, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 1, "selected": false, "text": "<p>Try removing \"/prestashop\" from your rewrite rules but add</p>\n\n<pre><code>RewriteBase /prestashop\n</code></...
2011/08/10
[ "https://webmasters.stackexchange.com/questions/17995", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8006/" ]
I recently upgraded a shopsystem to prestashop and imported the previous products (~1200), and I managed to keep the old `category_id` and `product_id`. I'm trying to set up those 2 rules to redirect all my old incoming links to the new page, however for some reason they always end up on the 404 page instead. So my ol...
The common mistake that a lot of people do is trying to match whole URL including query string. The reality is: **when matching URL, the pattern get applied to path part of it and query string has to be matched separately**. In other words -- `RewriteRule` cannot be used to match query string directly -- only with hel...
17,998
<p>Following is the content of .htaccess file</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^(.+)\.example\.org$ [NC] RewriteRule ^(.*)$ http://example.org/%1 [L] &lt;/IfModule&gt; </code></pre> <p>My purpose ...
[ { "answer_id": 17999, "author": "Jacek Kaniuk", "author_id": 9494, "author_profile": "https://webmasters.stackexchange.com/users/9494", "pm_score": 1, "selected": false, "text": "<p>You can't use absolute URLs</p>\n\n<pre><code>RewriteCond %{HTTP_HOST} ^(.+)\\.example\\.org$ [NC]\nRewrit...
2011/08/09
[ "https://webmasters.stackexchange.com/questions/17998", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9492/" ]
Following is the content of .htaccess file ``` <IfModule mod_rewrite.c> Options +FollowSymLinks Options +Indexes RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^(.+)\.example\.org$ [NC] RewriteRule ^(.*)$ http://example.org/%1 [L] </IfModule> ``` My purpose is to map all subdomain to folders. Fo...
You can't use absolute URLs ``` RewriteCond %{HTTP_HOST} ^(.+)\.example\.org$ [NC] RewriteRule ^(.*)$ /%1 [L] ```
18,012
<p>This question is about keywords in HTML.</p> <p>Which of the following cases is more favorable from an SEO point of view?</p> <pre><code>Arizona State University, Education </code></pre> <p>vs.</p> <pre><code>Arizona, State, University, Education </code></pre> <p>Thanks.</p>
[ { "answer_id": 18013, "author": "paulmorriss", "author_id": 1643, "author_profile": "https://webmasters.stackexchange.com/users/1643", "pm_score": 2, "selected": false, "text": "<p>Major search engines do not use the meta keywords tag, for example <a href=\"http://googlewebmastercentral....
2011/08/10
[ "https://webmasters.stackexchange.com/questions/18012", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9500/" ]
This question is about keywords in HTML. Which of the following cases is more favorable from an SEO point of view? ``` Arizona State University, Education ``` vs. ``` Arizona, State, University, Education ``` Thanks.
Major search engines do not use the meta keywords tag, for example [Google](http://googlewebmastercentral.blogspot.com/2009/09/google-does-not-use-keywords-meta-tag.html). I'm presuming you're talking about keywords in the meta tag, because you used that tag on the question.
18,031
<p>We often get requests to put an ad over or below "the fold" - the visible portion of the screen on page load, a term derived from newspapers which are delivered folded in half. </p> <p>I use Chrome on a Mac with a super light address bar (no favorites, etc) on an external monitor with a 1680x1050 resolution. My fol...
[ { "answer_id": 18032, "author": "xyious", "author_id": 8957, "author_profile": "https://webmasters.stackexchange.com/users/8957", "pm_score": 0, "selected": false, "text": "<p>I wouldn't think that there is a standard. I do think that most people these days have monitors that are 720+ pi...
2011/08/10
[ "https://webmasters.stackexchange.com/questions/18031", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/1161/" ]
We often get requests to put an ad over or below "the fold" - the visible portion of the screen on page load, a term derived from newspapers which are delivered folded in half. I use Chrome on a Mac with a super light address bar (no favorites, etc) on an external monitor with a 1680x1050 resolution. My fold is a bit...
``` **The fold does not exist.** **The fold does not exist.** **The fold does not exist.** **The fold does not exist.** **The fold does not exist.** **The fold d...
18,045
<p>The title of a feed is "unknown title" in Google reader. What could be the reason? Am I correct if I'm assuming that it should be appearing similar for all the subscribers of that feed and other feed-readers (other than Google reader) as well.</p>
[ { "answer_id": 18057, "author": "Jeff Atwood", "author_id": 3, "author_profile": "https://webmasters.stackexchange.com/users/3", "pm_score": 2, "selected": false, "text": "<p>Make sure you validate the feed, at least:</p>\n\n<p><a href=\"http://validator.w3.org/feed/\" rel=\"nofollow\">h...
2011/08/10
[ "https://webmasters.stackexchange.com/questions/18045", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/7682/" ]
The title of a feed is "unknown title" in Google reader. What could be the reason? Am I correct if I'm assuming that it should be appearing similar for all the subscribers of that feed and other feed-readers (other than Google reader) as well.
Would have been helpful to post your feed link... Anyway RSS feeds need a `<title>` tag. Here is the basic format the feed should be in: ``` <rss version="2.0"> <channel> <title>Your Title</title> <link>http://example.com</link> <description>Example</description> <item> <!-- item details --> ...
18,050
<p>I currently run a small web-app that connects local businesses with new customers in a very specific niche. In the past few months this model has worked very well and the growth is excellent, so much so in fact that I'm preparing to expand the app to support multiple sites/niches. Ultimately it will be structured ve...
[ { "answer_id": 18054, "author": "Jeff Atwood", "author_id": 3, "author_profile": "https://webmasters.stackexchange.com/users/3", "pm_score": 5, "selected": true, "text": "<p>Neither method is perfect; both have their pros and cons.</p>\n\n<p>It is definitely <em>simpler</em> to have one ...
2011/08/10
[ "https://webmasters.stackexchange.com/questions/18050", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9516/" ]
I currently run a small web-app that connects local businesses with new customers in a very specific niche. In the past few months this model has worked very well and the growth is excellent, so much so in fact that I'm preparing to expand the app to support multiple sites/niches. Ultimately it will be structured very ...
Neither method is perfect; both have their pros and cons. It is definitely *simpler* to have one distinct Google Analytics key for every domain or subdomain. There is no question about this. However, that breaks down when you have, say, dozens or hundreds of domains. If you have many **SUBdomains** using the same Goo...
18,068
<p>We have a problem. We've noticed a large amount of traffic showing up on our Google Analytics. Upon further investigation we have found that we've had our content copied under a different URL.</p> <p>Our site: <a href="http://www.targetis.co.uk" rel="nofollow">http://www.targetis.co.uk</a> The coppied site: <a href...
[ { "answer_id": 18069, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 3, "selected": false, "text": "<p>Punch <code>target-is.com</code> into a <a href=\"http://www.targetdomain.com/cgi-bin/whois.cgi\" rel=\"nofollow\...
2011/08/11
[ "https://webmasters.stackexchange.com/questions/18068", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9528/" ]
We have a problem. We've noticed a large amount of traffic showing up on our Google Analytics. Upon further investigation we have found that we've had our content copied under a different URL. Our site: <http://www.targetis.co.uk> The coppied site: <http://www.target-is.com> (isn't showing up with Chrome for us) We d...
Punch `target-is.com` into a [`whois` search](http://www.targetdomain.com/cgi-bin/whois.cgi) and see who controls it: ``` Connected to whois.enom.com This domain has already been registered. Displaying domain information provided by ENOM, INC. =-=-=-= Visit AboutUs.org for more information about target-is.com [Ab...
18,079
<p><strong>Preface:</strong></p> <p>I recently inherited a website project that my employer had summer interns create. Being non-technical types, they opted for Joomla CMS to create the content. They also opted to make all of the current content static, and to manage updates manually, article by article (these were hi...
[ { "answer_id": 18069, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 3, "selected": false, "text": "<p>Punch <code>target-is.com</code> into a <a href=\"http://www.targetdomain.com/cgi-bin/whois.cgi\" rel=\"nofollow\...
2011/08/11
[ "https://webmasters.stackexchange.com/questions/18079", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/8896/" ]
**Preface:** I recently inherited a website project that my employer had summer interns create. Being non-technical types, they opted for Joomla CMS to create the content. They also opted to make all of the current content static, and to manage updates manually, article by article (these were high school interns with ...
Punch `target-is.com` into a [`whois` search](http://www.targetdomain.com/cgi-bin/whois.cgi) and see who controls it: ``` Connected to whois.enom.com This domain has already been registered. Displaying domain information provided by ENOM, INC. =-=-=-= Visit AboutUs.org for more information about target-is.com [Ab...
18,150
<p>Markdown creates output like this:</p> <pre><code>&lt;p&gt;see this example:&lt;/p&gt; &lt;pre&gt;&lt;code&gt;code&lt;/code&gt;&lt;/pre&gt; </code></pre> <p>Is this correct or should it be:</p> <pre><code>&lt;p&gt;see this example &lt;pre&gt;&lt;code&gt;code&lt;/code&gt;&lt;/pre&gt; &lt;/p&gt; </code></pre> <p>T...
[ { "answer_id": 18152, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": false, "text": "<p><a href=\"http://www.w3.org/TR/html401/struct/text.html#h-9.2.1\" rel=\"noreferrer\">According to the w3c</a...
2011/08/12
[ "https://webmasters.stackexchange.com/questions/18150", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9558/" ]
Markdown creates output like this: ``` <p>see this example:</p> <pre><code>code</code></pre> ``` Is this correct or should it be: ``` <p>see this example <pre><code>code</code></pre> </p> ``` To me the second one seems correct, since the paragraph and the code example are one unit. What are your thoughts about th...
As John said, `code` is an in-line element, and can be placed in paragraphs. (Not necessarily *should*; there are plenty of other places it's also allowed.) Either your title or examples above are wrong, so I'll cover both possible cases, stealing from Gruber's docs. To produce a [code *block*](http://daringfireball.n...
18,182
<p>My website is loading large (~3mb) SVG file with jQuery. It takes quite a while therefore I decided to enable gzip compression. I have a hosting account with Bluehost which supports custom .htaccess files. Here is what I have tried to add to .htaccess file to enable compression without any success (I used Google's P...
[ { "answer_id": 18244, "author": "pritaeas", "author_id": 798, "author_profile": "https://webmasters.stackexchange.com/users/798", "pm_score": 2, "selected": false, "text": "<p>I use the following in the .htaccess on my bluehost account (as recommended by a friend)</p>\n\n<pre><code> &lt...
2011/08/13
[ "https://webmasters.stackexchange.com/questions/18182", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9565/" ]
My website is loading large (~3mb) SVG file with jQuery. It takes quite a while therefore I decided to enable gzip compression. I have a hosting account with Bluehost which supports custom .htaccess files. Here is what I have tried to add to .htaccess file to enable compression without any success (I used Google's Page...
An update to this question, I recently spoke to BlueHost who told me the following: > > The way gzip works is that when certain criteria are reached with the server resources, gzip will be enabled and start compressing the sites as needed. Even with the code in the .htaccess file, that's not actually something that y...
18,201
<p>Go to this video: <a href="http://www.youtube.com/watch?v=qrO4YZeyl0I" rel="nofollow noreferrer">http://www.youtube.com/watch?v=qrO4YZeyl0I</a> on Firefox6.0</p> <p><img src="https://i.stack.imgur.com/3spFu.png" alt="enter image description here"></p> <p>Now, right click on the black image (View Background Image),...
[ { "answer_id": 18202, "author": "kd1987", "author_id": 9572, "author_profile": "https://webmasters.stackexchange.com/users/9572", "pm_score": 2, "selected": false, "text": "<p>Here is how the webmaster actually had done it.</p>\n\n<p>When user uploaded the image, it did a base64_encode(i...
2011/08/14
[ "https://webmasters.stackexchange.com/questions/18201", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5502/" ]
Go to this video: <http://www.youtube.com/watch?v=qrO4YZeyl0I> on Firefox6.0 ![enter image description here](https://i.stack.imgur.com/3spFu.png) Now, right click on the black image (View Background Image), you will see this in the address bar: ``` data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFMAAABTCAMAAADUbMsyAA...
No -- it is an old and known way -- just relatively rarely used. <http://en.wikipedia.org/wiki/Data_URI_scheme> The image is part of the page itself and is transmitted on every page view and therefore cannot be cached by browser which means you spending more traffic. The benefit compared to standalone image is that y...
18,225
<p>In my application I have users who can post offers. An offer belongs to a category and a subcategory. The title of the offer can be long (~80 characters)</p> <p>My options to have url's uniqueness, are:</p> <pre><code>i) /users/:id/offer/:title ii) /category/:name/offer/:title-:number iii) /category/:name/subcat...
[ { "answer_id": 18247, "author": "HackToHell", "author_id": 8222, "author_profile": "https://webmasters.stackexchange.com/users/8222", "pm_score": 3, "selected": false, "text": "<p><strong>Category 3</strong> seems to be the best as it clearly shows the search terms and google can better ...
2011/08/15
[ "https://webmasters.stackexchange.com/questions/18225", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9585/" ]
In my application I have users who can post offers. An offer belongs to a category and a subcategory. The title of the offer can be long (~80 characters) My options to have url's uniqueness, are: ``` i) /users/:id/offer/:title ii) /category/:name/offer/:title-:number iii) /category/:name/subcategory/:name/offer/:ti...
**Category 3** seems to be the best as it clearly shows the search terms and google can better relate it to search queries
18,231
<p>I need to publish my website into a subfolder of an existing one. Notice that there's no way to create a subdomain (e.g.: <a href="http://mynewwebsite.example.com" rel="nofollow">http://mynewwebsite.example.com</a>), no way to access to IIS. At the moment I just tried to use the Publish command from my VS2010 and co...
[ { "answer_id": 18249, "author": "HackToHell", "author_id": 8222, "author_profile": "https://webmasters.stackexchange.com/users/8222", "pm_score": 3, "selected": false, "text": "<p>Here is your reason </p>\n\n<p><a href=\"http://www.studyhorror.com/robots.txt\" rel=\"noreferrer\">http://w...
2011/08/14
[ "https://webmasters.stackexchange.com/questions/18231", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I need to publish my website into a subfolder of an existing one. Notice that there's no way to create a subdomain (e.g.: <http://mynewwebsite.example.com>), no way to access to IIS. At the moment I just tried to use the Publish command from my VS2010 and copy/paste file from my disk to subfolder domain via FTP. This i...
Here is your reason <http://www.studyhorror.com/robots.txt> **User-agent: \* Disallow:** Remove that !
18,278
<p>I have a website (powered by Rails/Postgres and nginx) where I had setup a blog and a coupons section as:</p> <pre><code>http://examplecom/blog/ http://example.com/coupons/ </code></pre> <p>Blog is powered by wordpress and similarly the coupons section is powered by PHP/MySQL.</p> <p>The traffic of my website has...
[ { "answer_id": 19398, "author": "danlefree", "author_id": 1064, "author_profile": "https://webmasters.stackexchange.com/users/1064", "pm_score": 1, "selected": false, "text": "<blockquote>\n <p>1) Is the above thought process correct?</p>\n</blockquote>\n\n<p>Providing that you are movi...
2011/08/15
[ "https://webmasters.stackexchange.com/questions/18278", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9606/" ]
I have a website (powered by Rails/Postgres and nginx) where I had setup a blog and a coupons section as: ``` http://examplecom/blog/ http://example.com/coupons/ ``` Blog is powered by wordpress and similarly the coupons section is powered by PHP/MySQL. The traffic of my website has increased a lot over the last 6 ...
> > 1) Is the above thought process correct? > > > Providing that you are moving PHP/MySQL to a server with the same (or greater) resources as PHP/MySQL are presently using, then yes this would be a wise move. > > 2) How much SEO impact would I have > > > Subdomains and subdirectories are [considered analogo...
18,288
<p>I want to know if it would be better to make an image for the buttons that I use, or can I get away with pure CSS. Ill give you the code.</p> <p>html:</p> <pre><code>&lt;ul id="buttons-dev"&gt; &lt;li id="button-plan"&gt;P&lt;span id="text-plan"&gt;plan&lt;/span&gt;&lt;/li&gt; &lt;li id="button-develop"&gt;D&l...
[ { "answer_id": 18303, "author": "feeela", "author_id": 1803, "author_profile": "https://webmasters.stackexchange.com/users/1803", "pm_score": 0, "selected": false, "text": "<p>\"Ill give you the code.\" Better would be a design-draft of your buttons…</p>\n\n<p>Most often you will need bu...
2011/08/16
[ "https://webmasters.stackexchange.com/questions/18288", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/693/" ]
I want to know if it would be better to make an image for the buttons that I use, or can I get away with pure CSS. Ill give you the code. html: ``` <ul id="buttons-dev"> <li id="button-plan">P<span id="text-plan">plan</span></li> <li id="button-develop">D<span id="text-develop">develop</span></li> <li id="butto...
Recently i stumbled upon an excellent article about [CSS3 Gradient Buttons](http://webdesignerwall.com/tutorials/css3-gradient-buttons), and that gave me the kick to change to pure CSS instead of background images. The same style applies to different width's and height's of buttons and even adapt to the used font size....
18,409
<p>I want to add shadow to all the text into a website. The text is in different elements of the website.</p> <p>Now I was thinking of 2 things.</p> <p>1) add a class to all the containers with text, and just give the class the text-shadow style. This will give me a lot of work tho, adding a class the all the element...
[ { "answer_id": 18410, "author": "MrWhite", "author_id": 1243, "author_profile": "https://webmasters.stackexchange.com/users/1243", "pm_score": 3, "selected": true, "text": "<p>IMO you should not create a specific class just for <code>text-shadow</code>. That's like adding presentation ba...
2011/08/18
[ "https://webmasters.stackexchange.com/questions/18409", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/693/" ]
I want to add shadow to all the text into a website. The text is in different elements of the website. Now I was thinking of 2 things. 1) add a class to all the containers with text, and just give the class the text-shadow style. This will give me a lot of work tho, adding a class the all the elements in the website....
IMO you should not create a specific class just for `text-shadow`. That's like adding presentation back into the document. `text-shadow` should be added to those elements (or predefined classes) that require it. So, of your two options, #2 would be my recommendation, although I would have said you should only be adding...
18,420
<p>Is this already acceptable in the Adsense ToS? (can't find any information on this specific case). If the user resizes the browser (css 3):</p> <pre><code>@media screen and (max-width: 980px) { #skyscraper { display: none; } } </code></pre> <p><img src="https://i.stack.imgur.com/ppzDn.jpg" alt="example at okcupid...
[ { "answer_id": 18429, "author": "Nick", "author_id": 7198, "author_profile": "https://webmasters.stackexchange.com/users/7198", "pm_score": 4, "selected": true, "text": "<p>You can't hide ads; it's in the <a href=\"https://www.google.com/adsense/terms\" rel=\"nofollow\">AdSense terms and...
2011/08/18
[ "https://webmasters.stackexchange.com/questions/18420", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9678/" ]
Is this already acceptable in the Adsense ToS? (can't find any information on this specific case). If the user resizes the browser (css 3): ``` @media screen and (max-width: 980px) { #skyscraper { display: none; } } ``` ![example at okcupid.com - large site](https://i.stack.imgur.com/ppzDn.jpg) The idea is to pres...
You can't hide ads; it's in the [AdSense terms and conditions](https://www.google.com/adsense/terms) under "5. Prohibited Uses": > > You shall not, and shall not authorize or encourage any third party > to: ... (ii) edit, modify, filter, truncate or change the order of the > information contained in any Ad, Link, A...
18,427
<p>So when you want to embed google docs on a site you are given this chunk of code:</p> <pre><code>&lt;iframe width='500' height='300' frameborder='0' src='https://docs.google.com/spreadsheet/pub?hl=en_US&amp;hl=en_US&amp;key=0AiV6Vq32hBZIdHZRN3EwWERLZHVUT25ST01LTGxubWc&amp;output=html&amp;widget=true'&gt;&lt;/iframe...
[ { "answer_id": 20232, "author": "jflaflamme", "author_id": 10237, "author_profile": "https://webmasters.stackexchange.com/users/10237", "pm_score": 0, "selected": false, "text": "<p>I think you should modify your filters to accept the &amp; sign in a src url. </p>\n\n<p>The main problem ...
2011/08/18
[ "https://webmasters.stackexchange.com/questions/18427", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9691/" ]
So when you want to embed google docs on a site you are given this chunk of code: ``` <iframe width='500' height='300' frameborder='0' src='https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AiV6Vq32hBZIdHZRN3EwWERLZHVUT25ST01LTGxubWc&output=html&widget=true'></iframe> ``` This works fine on my site. If ...
**Double**, use it everywhere, thats the **HTML Standard**. However, both work on almost every browser. Some browsers you can even use nothing, like `width=1`
18,452
<p>What's the best approach to take for Google ranking if your domain name has two possible spellings?</p> <p>Example:</p> <p>mich*<em>ea</em>*lflatley.com (Irish spelling) &amp; mich*<em>ae</em>*lflatley.com (Normal spelling)</p> <p>I want someone to be able to search google with both spellings if possible. </p>
[ { "answer_id": 18453, "author": "laurent", "author_id": 9543, "author_profile": "https://webmasters.stackexchange.com/users/9543", "pm_score": 4, "selected": true, "text": "<p>Redirect the secondary domain to the main one using a permanent redirect:</p>\n\n<pre><code>&lt;?php\n// Permane...
2011/08/19
[ "https://webmasters.stackexchange.com/questions/18452", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/10550/" ]
What's the best approach to take for Google ranking if your domain name has two possible spellings? Example: mich\**ea*\*lflatley.com (Irish spelling) & mich\**ae*\*lflatley.com (Normal spelling) I want someone to be able to search google with both spellings if possible.
Redirect the secondary domain to the main one using a permanent redirect: ``` <?php // Permanent redirection header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.example.com/"); exit(); ?> ``` That won't affect your Google page rank. **Edit:** You should probably choose one main spelling and use ...
18,466
<p>Is there a way to +1 something via a URL, just like you would with Twitter or Facebook?</p> <hr> <p>e.g.</p> <p>With Twitter you have:</p> <pre><code>http://twitter.com/home?status={url} </code></pre> <p>With Facebook you have: </p> <pre><code>http://www.facebook.com/sharer.php?u={url}&amp;t={title} </code></p...
[ { "answer_id": 18465, "author": "John Conde", "author_id": 1253, "author_profile": "https://webmasters.stackexchange.com/users/1253", "pm_score": 3, "selected": true, "text": "<p>If you're using the <code>&lt;b&gt;</code> tag but making it look like normal text then this is black hat SEO...
2011/08/19
[ "https://webmasters.stackexchange.com/questions/18466", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9695/" ]
Is there a way to +1 something via a URL, just like you would with Twitter or Facebook? --- e.g. With Twitter you have: ``` http://twitter.com/home?status={url} ``` With Facebook you have: ``` http://www.facebook.com/sharer.php?u={url}&t={title} ``` With Digg you have: ``` http://digg.com/submit?phase=2&url=...
If you're using the `<b>` tag but making it look like normal text then this is black hat SEO. The only reason why someone would do this is to manipulate their search engine rankings. That's a blatant violation of the search engines' terms of service.
18,472
<p>Are the new HTML5 tags like</p> <pre><code>&lt;header&gt;,&lt;footer&gt;,&lt;hgroup&gt;,&lt;nav&gt;,... </code></pre> <p>... really useful for SEO?</p> <p>How do google and other search engines treat these tags in terms of SEO?</p>
[ { "answer_id": 18482, "author": "Moses", "author_id": 4043, "author_profile": "https://webmasters.stackexchange.com/users/4043", "pm_score": 3, "selected": true, "text": "<p>Anything that helps a search engine better understand the content and makeup of a web page is ostensibly better fo...
2011/08/19
[ "https://webmasters.stackexchange.com/questions/18472", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/5117/" ]
Are the new HTML5 tags like ``` <header>,<footer>,<hgroup>,<nav>,... ``` ... really useful for SEO? How do google and other search engines treat these tags in terms of SEO?
Anything that helps a search engine better understand the content and makeup of a web page is ostensibly better for SEO. The information a spider is able to discern about the structure of your page directly increases the accuracy of the spider's effective grading of your page. This is not to say that it will necessaril...
18,481
<p>I am using an html crown in my website, character code is <code>&amp;#9819;</code>, but this looks different in the browsers.</p> <pre><code>Firefox 6.0 -&gt; different Chrome 13.0 -&gt; different IE 9.0, Safari 5.1, Opera 11.50 -&gt; same </code></pre> <p>I have tried to explicit add a font-family to the span, bu...
[ { "answer_id": 18518, "author": "Saif Bechan", "author_id": 693, "author_profile": "https://webmasters.stackexchange.com/users/693", "pm_score": 1, "selected": true, "text": "<p>After knowing that the correct name is a glyph I have searched for a solution, but it cannot be done. There ar...
2011/08/19
[ "https://webmasters.stackexchange.com/questions/18481", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/693/" ]
I am using an html crown in my website, character code is `&#9819;`, but this looks different in the browsers. ``` Firefox 6.0 -> different Chrome 13.0 -> different IE 9.0, Safari 5.1, Opera 11.50 -> same ``` I have tried to explicit add a font-family to the span, but this does not help. Anyone have an idea how I c...
After knowing that the correct name is a glyph I have searched for a solution, but it cannot be done. There are only 3 things you can do. 1) Use the @font-face in css with a special font that has the character. The character will display the same in all browsers. 2) Choose your audience: Just restrict access to the w...
18,533
<p>What is better, if somebody skip <code>&lt;title&gt;</code> tag or <code>&lt;meta name="description" /&gt;</code> </p> <p>or leave empty value:</p> <pre><code>&lt;title&gt;&lt;/title&gt; &lt;meta name="description" content="" /&gt; </code></pre> <p>? Or maybe all above has the same meaning for crawlers?</p>
[ { "answer_id": 18534, "author": "ZippyV", "author_id": 3118, "author_profile": "https://webmasters.stackexchange.com/users/3118", "pm_score": 0, "selected": false, "text": "<p>It is required to have the title tag in your html document. If you don't have a description for your page then d...
2011/08/21
[ "https://webmasters.stackexchange.com/questions/18533", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
What is better, if somebody skip `<title>` tag or `<meta name="description" />` or leave empty value: ``` <title></title> <meta name="description" content="" /> ``` ? Or maybe all above has the same meaning for crawlers?
It is better to leave the title tag and description meta tag out than to have them populated with empty strings. **Best:** Unique, keyword-rich title tag and relevant description meta tag. **Okay:** Unique, keyword-rich title tag and **no** description meta tag. **Bad:** No title tag and no description meta tag. ...
18,577
<p>Is there a way to accept form input and have the output dumped/printed back to the web page with HTML or JavaScript/AJAX and without PHP/Perl/server-side scripts?</p>
[ { "answer_id": 18578, "author": "Simon Hudson", "author_id": 7981, "author_profile": "https://webmasters.stackexchange.com/users/7981", "pm_score": 2, "selected": false, "text": "<p>Off the top of my head, you could do something like...</p>\n\n<pre><code>&lt;form class=\"dump\" action=\"...
2011/08/22
[ "https://webmasters.stackexchange.com/questions/18577", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9726/" ]
Is there a way to accept form input and have the output dumped/printed back to the web page with HTML or JavaScript/AJAX and without PHP/Perl/server-side scripts?
Off the top of my head, you could do something like... ``` <form class="dump" action="#" method="post"> <fieldset> <legend>Dump inputs</legend> <label for="name">Name</label> <input id="name" type="text" size="25" /> <label for="email">email</label> <input id="email" type="text" size="25" /> <i...
18,592
<p>I am using Windows 7 and XAMPP. I want to create a virtual host so I added </p> <pre><code>127.0.0.1 myawesomeproject </code></pre> <p>to my hosts file (C:\Windows\System32\drivers\etc\hosts) like this:</p> <pre><code> # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file us...
[ { "answer_id": 18593, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 2, "selected": false, "text": "<p>Given the configuration you describe I'm sort of surprised that you apache is starting. Try configuring your host...
2011/08/22
[ "https://webmasters.stackexchange.com/questions/18592", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/-1/" ]
I am using Windows 7 and XAMPP. I want to create a virtual host so I added ``` 127.0.0.1 myawesomeproject ``` to my hosts file (C:\Windows\System32\drivers\etc\hosts) like this: ``` # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. ...
Given the configuration you describe I'm sort of surprised that you apache is starting. Try configuring your hosts file like this ``` 127.0.0.1 localhost myawesomeproject.com ``` then tidy up your vhosts like this ``` <VirtualHost *:80> DocumentRoot "C:\xampp\htdocs" ServerName localhost </VirtualHost> ...
18,623
<p>Is it possible to use Google Analytics or a similar tool to track the users' inter-site click behaviour?</p> <p>I'd like to know how many users clicked on certain links on a particular page which lead them to a different area of the site.</p> <p>e.g. if users always click on "Contact Us" link after reading "About ...
[ { "answer_id": 18624, "author": "Anonymous", "author_id": 8009, "author_profile": "https://webmasters.stackexchange.com/users/8009", "pm_score": 2, "selected": false, "text": "<p>Google Analytic's \"In-page\" analytics feature is what you're after, I believe. It allows you to browse your...
2011/08/23
[ "https://webmasters.stackexchange.com/questions/18623", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9285/" ]
Is it possible to use Google Analytics or a similar tool to track the users' inter-site click behaviour? I'd like to know how many users clicked on certain links on a particular page which lead them to a different area of the site. e.g. if users always click on "Contact Us" link after reading "About Us", then we can ...
Use the "Navigation Summary" to work out which internal page a visitor reached your page from: 1. Choose 'Content' and then 'Content by Title' from the Analytics menu: ![content by title from the Google Analytics menu](https://i.stack.imgur.com/C6wXm.png) 2. Click whichever page title you're interesting in learning m...
18,627
<p>We've recently bought couple of domains but the content of the domains is still under development. </p> <p>Which content should we upload to the domains to tell search engines "There is currently nothing, but check in the future" and don't get crawling/ranking penalty for the future content?</p>
[ { "answer_id": 18642, "author": "Ben Hoffman", "author_id": 108, "author_profile": "https://webmasters.stackexchange.com/users/108", "pm_score": 2, "selected": false, "text": "<p>I would add a robots.txt file to all of these sites with the code below in it if you are worried about Google...
2011/08/23
[ "https://webmasters.stackexchange.com/questions/18627", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3899/" ]
We've recently bought couple of domains but the content of the domains is still under development. Which content should we upload to the domains to tell search engines "There is currently nothing, but check in the future" and don't get crawling/ranking penalty for the future content?
I would add a robots.txt file to all of these sites with the code below in it if you are worried about Google attempting to crawl your site: ``` User-agent: * Disallow: / ``` Remember, Google needs to know your site exists before they will even scan it. So if you haven't created any links to the site or a Google Web...
18,628
<p>Are these two equivalent?</p> <pre><code>&lt;meta name="keywords" content="first" /&gt; &lt;meta name="keywords" content="second, third" /&gt; </code></pre> <p>and</p> <pre><code>&lt;meta name="keywords" content="first, second, third" /&gt; </code></pre> <p>I have keywords that are applied for all the pages and ...
[ { "answer_id": 18629, "author": "Community", "author_id": -1, "author_profile": "https://webmasters.stackexchange.com/users/-1", "pm_score": 5, "selected": true, "text": "<p>The <code>keywords</code> meta tag doesn't do anything anymore, at least as far as most search engines are concern...
2009/06/15
[ "https://webmasters.stackexchange.com/questions/18628", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/3604/" ]
Are these two equivalent? ``` <meta name="keywords" content="first" /> <meta name="keywords" content="second, third" /> ``` and ``` <meta name="keywords" content="first, second, third" /> ``` I have keywords that are applied for all the pages and I want to have a separate set of keywords for each page. Is there a...
The `keywords` meta tag doesn't do anything anymore, at least as far as most search engines are concerned. You're trying to solve a problem that doesn't exist. Search engines index by content nowadays, and they do that without your help. See [the Wikipedia article on the meta tag](http://en.wikipedia.org/wiki/Meta%5Ft...
18,670
<p>I am using:</p> <pre><code>&lt;IfModule mod_rewrite.c&gt; Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteRule (.*) http://example.com/$1 [L,R=301] &lt;/IfModule&gt; </code></pre> <p>But I want to rewrite all UPPERCASE characters to lowercase characters,...
[ { "answer_id": 18740, "author": "LazyOne", "author_id": 8354, "author_profile": "https://webmasters.stackexchange.com/users/8354", "pm_score": 5, "selected": true, "text": "<p>To implement such redirect using mod_rewrite and .htaccess you need to use <code>RewriteMap</code> directive whi...
2011/08/23
[ "https://webmasters.stackexchange.com/questions/18670", "https://webmasters.stackexchange.com", "https://webmasters.stackexchange.com/users/9759/" ]
I am using: ``` <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC] RewriteRule (.*) http://example.com/$1 [L,R=301] </IfModule> ``` But I want to rewrite all UPPERCASE characters to lowercase characters, e.g: * OLD: `/myfolder-sample-URL....
To implement such redirect using mod\_rewrite and .htaccess you need to use `RewriteMap` directive which cannot be placed in .htaccess -- only in server config / VirtualHost context. If you have such access: **1.** Place this line inside `<VirtualHost>` block for your site: ``` RewriteMap lc int:tolower ``` **2.** ...