: Website .htaccess file for Wordpress sub folder 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.
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 ^(.*)$ www.website.com/ [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 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....
More posts by @Fox8124981
1 Comments
Sorted by latest first Latest Oldest Best
They will not be seen as two separate websites. They will be seen as one. If you want them to be seen as two separate websites you'll need to put them on two different domains.
You don't have to do anything special for Google to find them as they will follow links to your main site and blog and then crawl them and index them from there. However, you can help the search engines along by using an XML sitemap to tell them where your pages are.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.