Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

force www.domain access?


jdcoffman

Recommended Posts

Many ways you can do it - either a bit of PHP that gets the requested URL and if it's not got www then redirect or do it on the webserver by only allowing the www hostname to the web folder and redirecting any requests without the www.

 

I know this is a general web question but thought one of you might know right off... Thanks!
Link to comment
Share on other sites

How might I go about doing either of those?

 

Depends what kind of access you have to manage your domain and how your webserver is configured. You could try this article to make a rewrite rule in you htaccess file (if allowed by your webserver).

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...