Expert SEO Dave Naylor shares a useful tip related to .htaccess files – he calls it a bad decision to have .htaccess files in different directories on your web server:

Example:

  • Say I have my site, path-wise located at /
  • My site also has a shop, located at /shop/

The problem is that your /shop/.htaccess not only overrides /.htaccess for all the /shop/.* URLs, but it actually *disables* all the rewrites for /.htaccess.

This is a problem if for example you one day decide to do any mass site-wide redirects, such as domain or protocol canonicalisation. Cleaning up those old URLs can be a problem too.

Dave Naylor a UK SEO

[tags]seo[/tags]

You may also like:

  1. Which URLs should you add in the XML Sitemap file of your Website?
  2. Google Has Issues Identifying Original Source Documents
  3. Is Your Website Search Engine Friendly
  4. Use CSS For Better Organic Search Rankings
  5. Prevent Search Engines from Indexing your Sitemaps