Prob. pointing to

Hello guys.

I am trying to set up a rather simple online store, but I am a total newbie and I am full of doubts. The one that irks me the most at this time is how I can redirect my visitors from to

I haven’t see an answer looking into the knowledge base or this very forum, so here I am.

PS: I’ve tried to change the web directory from /home/mydom/ to /home/mydom/ but so far it doesn’t work :-/

Edit: Now it works but the whole shop is broken into pieces, I’ll try to reinstall everything =(

You can do such a redirect with a .htaccess file with this line:

RedirectMatch ^/$

But I don’t know why you don’t just upload the main index to the main directory of the site in the first place.

– Dan

If you’re uncomfortable with messing with your .htaccess file, create a plain text document with the just the following line (no white space):

<?php header('Location:'); ?>

Save that as index.php and upload it to your main directory. This will forward all visits from to

Do I have to put just that line on the .htaccess file?

Thank you :slight_smile:

Looks like everything is fine right now, thanks :slight_smile: