Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer
    
Thanks for replying. The main website is Flash so there is no html 'active link' to the blog page. Will Google still be able to find it even with the XML Sitemap? –  ubique Apr 7 '12 at 17:09
    
If the website is in Flash then the XML sitemap is even more important as, even though Google can index some Flash content, it is generally not considered SEO friendly and links to your blog may not be found. The XML sitemap explicitly tells search engines where your blog is so you know they will find it. –  John Conde Apr 7 '12 at 17:11
    
Thanks for that - have updated the sitemap –  ubique Apr 8 '12 at 20:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.