Jump to content

setting website to default to root page


Recommended Posts

This is a combination of your provider DNS settings and your .htaccess file.

Usually it is a good idea to stick with your default setting, as google sees www as a seperate site.
So if you dont want to have your SEO messed up you leave it.

But your shop is now situated in a "subdomain" of folder called /prestashop?

Moving that to the www root is more delicate

Link to comment
Share on other sites

You are confusing me. What do you want ?
Your site works with AND without the WWW.

So you ONLY want the website to work for http://triumptennis....... ?
Why do you want that ?
If your dNS settings are setup properly, the http:// wil always redirect to www.xxxxxxx

This is how to redirect from http:// to WWW
RewriteEngine On
rewritecond %{http_host} ^jouwsite.nl
rewriteRule ^(.*) http://www.jouwsite.nl/$1 [R=301,L]

You can try to see if you can change this code so it will do the reverse

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...