Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

simple mydomain.com and www.mydomain.com question


osc-user

Recommended Posts

Posted

I know google and google PR treats mydomain.com and www.mydomain.com as two different urls. so what I want to do is configure it such that both mydomain.com and www.mydomain.com points to www.mydomain.com I remember coming across a way to do this. It was fairly simple but I can't find it again. can someone point me in the right direction?

 

an example of this is motorola.com ...it points to www.motorola.com

 

thanks!

 

James

Posted

Assuming you are on Apache, then you need to create name-based virtual domains for both, and set the domain name for both to the one you want. Documentation can be found over at Apache.org. If you are using some other server... then good luck...

Posted

it turns out my cheapo vitual hosing service is limiting my redirects. and I certainly don't have mod_rewrite access. I think either of those would have done what I wanted.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...