Cannot redirect

ivona

New member
Joined
Apr 19, 2009
Messages
1
I have installed a e-commerce software on root/home directory so it's visible on
www.clhostesseservizi.com/home - this is the home page

I wanted to redirect

/

to

http://www.clhostesseservizi.com so that people who cometo visit
www.clhostesseservizi.com goes directly to my shop homepage

it's just that it won't redirect!!!!

i have made several shots, so sometimes it recìdirects but won't open other pages from a redirected page; other times it won't open in any case. More than that when redurected i cannot access the back office of my shop.

Is there maybe a problem with permissions?
Or ? What should I do?
Thanks a lot!
 
Warning: this site appears to be selling sex service and I'e disabled the links on the original post and in my reply. Do not look at this site unless you want to see pictures of female "hostesses".

ivona, you've made it hard to help you because you're using incorrect terminology.

When someone types just the domain name into their browser, the directory they end up in is called your site's DocumentRoot. On DirectAdmin that's the directory at:
Code:
/home/USERNAME/domains/clhostesseservizi.com/public_html
when you're logged in through the shell, or when using ftp it's simply
Code:
domains/clhostesseservizi.com/public_html

If you want people to visit your a subdirectory on your site called home then you need to redirect from your DocumentRoot to the directory inside it called home. You can do that using either .htaccess or php redirection.

Jeff
 
Back
Top