Jump to content
xisto Community
Sign in to follow this  
demonatashadow

Redirection Loop

Recommended Posts

Ok, now when I try to add a redirection it says the following:

Redirecting / to http://forums.xisto.com/no_longer_exists/ will cause a redirection loop because '/'
which is located at /home/hickado/public_html/
is above 'http://forums.xisto.com/no_longer_exists/'
which is located at /home/hickado/public_html/phpBB3

whats up with that? I tried everything to fix this problem.

Share this post


Link to post
Share on other sites

This is quite strange. I redirect from ~/public_html to ~/public_html/folder all the time with no problems. If you want, here is an .htaccess file of mine that I use to redirect to a higher directory without a single problem:

RedirectMatch permanent ^/$ http://infrosoft.phatcode.net/phpwebsite
Just replace my site with your site. Hopefully that will work well.

Share this post


Link to post
Share on other sites

I think what it is actually attempting is the following:

Take any requests to any pages in / -- this includes your forum directory

Forward those requests to the forum directory

As the forum directory is in / we need to forward them to the forum directory

It then repeats the last 2 steps for ever, as it is constantly forwarding itself to a page that needs forwarding again. Try setting the forwarding to go from /index.htm to /phpBB3/index.php. Regardless of whether index.htm exists, anyone who types your address in will automatically look for it, and get forwarded.

 

If that doesn't work, Tetraca's idea is also perfectly valid, just a different way of doing things.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.