Redirecting to different url... Redirecting to different url...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Redirecting to different url...

Started by viettho, October 08, 2007, 07:31:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

viettho

Here is the problem:
when I type http://www.freeeh.com/media, it automatically redirects to http://freeeh.com/media/ . How would I keep the original url instead of the redirecting one? The reason i'm asking this because it can't be logged in if I bridge with Simple Machines forum.  Thanks for your help.

Nibbler

It's not Coppermine that does this but your webserver.

Joachim Müller

It's not a matter of redirection, but the browser auto-completing the correct URL syntax. Reference to a folder must always contain a trailing slash. As many users forget to enter it, modern browsers automatically add it to the URL. Therefor, http://www.freeeh.com/media is just wrong and your browser is correctly changing the link to the valid URL, which is http://www.freeeh.com/media/
What you mistakenly considered to be a redirection certainly is not the reason for your bridging issues.

If you have issues with bridging, you shouldn't have posted on the misc board, but on the one that is dedicated to bridging issues. Moving your thread accordingly. Post the needed data (refer to the sticky thread on the bridging board what you need to post) and I'm convinced that we can help you solve your issues.

viettho

Thanks for all the replies. I didn't know that missing a trailing slash is invalid url. I guess I'll just have to be sure to include that. Thanks

Nibbler

The change from www.freeeh.com to freeeh.com is a redirect and it is caused by the webserver. Even the completion of the slash is done by the webserver in fact. If this was not the case there would be no way to access a file named 'media'.