Mobile app version of vmapp.org
Login or Join
Fox8124981

: 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.

@Fox8124981

Posted in: #Htaccess #Wordpress

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....

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kristi941

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme