Website .htaccess file for Wordpress sub folder

Posted by ubique on Pro Webmasters See other posts from Pro Webmasters or by ubique
Published on 2012-04-07T13:18:43Z Indexed on 2012/04/07 17:48 UTC
Read the original article Hit count: 214

Filed under:
|

I developed a Flash website for a client and added the following .htaccess file in the root directory and the non-www to www redirect works perfectly.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^website.com [NC]
RewriteRule ^(.*)$ http://www.website.com/$1 [L,R=301]

I was also asked to add a Wordpress blog so I put it in a new directory folder (as opposed to a sub domain) with so the URL is www.website.com/blog

Does Google now see the main site and blog as two different websites? Do I need to link them together using another .htaccess file in the Wordpress Root so Google automatically crawls the whole domain? Any help appreciated....

© Pro Webmasters or respective owner

Related posts about htaccess

Related posts about Wordpress