Currently we have a site www.brentwoodbusinesscenter.com and when you click on the "Blog" button in the top header it takes you to our worpress blog located at www.industrialspaceinbrentwood.com Since the link to the blog is in the top navigation I would like to use the url www.brentwoodbusinesscenter.com/blog.php and have it redirect to www.industrialspaceinbrentwood.com There are several ways I thought about doing this, but which one would be the most beneficial for SEO purposes? 1. I could create the page /blog.php and put a simple redirect to www.industrialspaceinbrentwood.com 2. I could edit the .htaccess file to redirect traffic using that file. 3. Just leave it as is, not including the path in the sitemap
I just created this link... Not sure if its the best way for SEO purposes. Is this adequate? http://www.sandcreekplaza.com/blog
I also did the same for another site we have... http://www.brentwoodbusinesscenter.com/blog I used websitegrader and entered the url I made... It seems to like it. I guess that means its SEO friendly?
Yes...it tells the SE's that the file has moved perminately to a new location on the server, then SE's in time update their index with the new file location.
I just implemented some changes. Will this 301 redirect work? In the directory brentwoodbusinesscenter.com/blog i setup an index.php page that reads... <?php header("HTTP/1.1 301 Moved Permanently" ); header("Location: http://www.officespacebrentwood.com/"); exit(); ?>
OK, here is another redirect question... My friends website does not allow .htaccess files since its a windows server. What would be the best way to redirect traffic going from peterbrucephotography/blog to peterbrucephoto.com ? Currently I'm using the following technique. In the directory peterbrucephotography.com/blog i setup an index.php page that reads... <?php header("HTTP/1.1 301 Moved Permanently" ); header("Location: http://www.peterbrucephoto.com/"); exit(); ?>
Seems like the method above is working fine. I just submitted all the sitemaps in my google webmaster tools account and they were all approved with no errors.