FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Redirect





Dimaod
I need to make a redirect from http://www.trooper.frih.net to http://www.trooper.frih.net/index.php

I tried to use Site redirection in Direct Admin an do it like that

Local URL Path Redirect URL
/ http://www.trooper.frih.net/index.php

Its not working...

Quote:
Forbidden
You don't have permission to access /index.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.phpindex.php on this server.

Additionally, a 302 Found error was encountered while trying to use an ErrorDocument to handle the request.
mathiaus
Dimaod wrote:
I need to make a redirect from http://www.trooper.frih.net to http://www.trooper.frih.net/index.php

Eh? It should got to that page automaticaly. remove index.html if you dont want it and it should work.

Also the way your redirecting is wrong. no matter the url it goes to that page even if it is that page so you say go to index they do and you send them there again. Rolling Eyes
devroom
agree
just put remove the index.html
and the index.php will be the standard

very easy

the redirection u mean is for yourdomain.frih.net/123 to yourdomain.frih.net/site2/peter/car/pictures/ocean/
Bondings
You created an eternal loop with the redirect that you are currently using. The easiest thing would be to just use the directory without index.php.

To specify which file you want to be executed with the directory, you need to put "DirectoryIndex file.extension" in a file called .htaccess in the same directory.
n0obie4life
DirectoryIndex index.php

Put that in .htaccess


(well, if you are that desperate)
Related topics
Free Domain & Redirect Services
target = _parent redirect script?
Auto redirect your visitors to a different page
redirect(append_sid()); - need help !
Formulieren
redirect...???
301 permanent redirect possible?
redirect ze strony glownej
php page-refresh/redirect/boot help needed please
Auto redirect.
[DirectAdmin] Duvida no Redirect - Desespero!
Redirect to Post -Saving Server Bandwidth !!
How do i do a redirect wit htaccess?
Option Redirect
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.