301 Redirect, ReWrites Arghh!

Associate
Joined
8 Jul 2004
Posts
2,392
Location
Le Norfolk
Right I have an issue

I have a ourdomain.com running the main website on our primary web servers. I then have blog.ourdomain.com on a different supporting web server.

Now I don't want to move the blog to our primary web servers for several reasons, main one being security but I do want it to appear as www.ourdomain.com/blog in a way thats good for SEO.

What's the best way to go about this?

Cheers!
 
I'm not sure what exactly you want to do, if you want to be using /blog/ you're going to have to do some kind of mod_rewrite to rewite it blog.ourdomain.com if that would even work, then you'll have to move blog.ourdomain.com to something like blog2.ourdomain.com so you would be able to rewrite blog.ourdomain.com to /blog/.

That is of course if you want to keep the domain pointing to the same server as it currently is, if you move it then it would make it easier.

Is there a particular reason you want to move it or is it just personal preference?
 
If I've understood the OP properly, I don't think this is possible.

We have a similar problem on a couple of our sites where the site was created in ASP.Net MVC and sits on a windows server, yet the blog is WordPress and sits on an Ubuntu server on a blog.mainsite.com domain.

As far as I know it hasn't really hurt SEO at all, but I'm not 100% on that.
 
As far as I'm aware google does not see blog.domain.com any different to domain.com/blog/

It does indeed.

Spunkey said:
If I've understood the OP properly, I don't think this is possible.

We have a similar problem on a couple of our sites where the site was created in ASP.Net MVC and sits on a windows server, yet the blog is WordPress and sits on an Ubuntu server on a blog.mainsite.com domain.

As far as I know it hasn't really hurt SEO at all, but I'm not 100% on that.

Spunky you understood correctly. I'm now looking into whether our Cisco 11500 series content switch can do it.
 
mod_proxy

Be prepared for all sorts of fun though, especially if you have any ajax or security cleverness.

Really not a recommended setup though.
 
mod_proxy

Be prepared for all sorts of fun though, especially if you have any ajax or security cleverness.

Really not a recommended setup though.

All our webservers are IIS. We have Helicon ISAPI rewrite but to use mod_proxy it seems we would also need Helicon Ape.

Thanks though, will look into it.
 
Back
Top Bottom