free
This is our archive, please go to the main forum page for the latest discussions and news about free web hosting.


Cpanel redirect problems

heymrdj
May 1st, 2006, 20:41
The redirect system in cpanel isn't quite working right for me. Even manually editing the .htaccess file didn't fix the problem. I am trying to get / to redirect to /test/filled%20version.htm but the cpanel redirect always takes it to /test/filled%2520version.htm Why is cpanel adding in this 25? OF course when it does that it creates an error because there is no file by %2520. Any ideas?

heymrdj
May 1st, 2006, 20:53
Why is this now in the paid hosting section? I'm not asking a question for or relating to paid hosting. This is just about cpanel in general.

T^2
May 1st, 2006, 20:58
Doesn't really solve your problem but why not just use a javascript redirect?

Bruce
May 1st, 2006, 21:02
Why is this now in the paid hosting section? I'm not asking a question for or relating to paid hosting. This is just about cpanel in general.
It's web hosting related. You're likely to get more help here anyhow.

heymrdj
May 1st, 2006, 21:05
Doesn't really solve your problem but why not just use a javascript redirect?

Well i don't really have an old page to direct from. I built up a template package, but not thinking of the public_htm system. So if I moved them to where I didn't need a redirect, fixing all the images would be hell on earth to say the least.

GamePhreak
May 1st, 2006, 21:37
The redirect system in cpanel isn't quite working right for me. Even manually editing the .htaccess file didn't fix the problem. I am trying to get / to redirect to /test/filled%20version.htm but the cpanel redirect always takes it to /test/filled%2520version.htm Why is cpanel adding in this 25? OF course when it does that it creates an error because there is no file by %2520. Any ideas?
It's not necessarily cPanel's fault. The reason it does that is because the URL "code" for a percent sign is %25. cPanel takes %20, and thinks that that is actually what the URL is, and so turns it into %2520

Try using an actual space in the URL when setting up the redirect in cPanel.

NetCafe
May 2nd, 2006, 02:24
Have u tried actually renaming the file with the "25"?

T^2
May 2nd, 2006, 09:26
<HTML>
<HEAD>
<script language="javascript"><!--
location.replace("http://redirectURL.com/redirectedpage.html")
//-->
</script>
<TITLE></TITLE>
</HEAD>

<body>

</body>

</HTML>

Just make that as index.html and it'll redirect to the page you choose.

heymrdj
May 2nd, 2006, 11:09
<HTML>
<HEAD>
<script language="javascript"><!--
location.replace("http://redirectURL.com/redirectedpage.html")
//-->
</script>
<TITLE></TITLE>
</HEAD>

<body>

</body>

</HTML>
Just make that as index.html and it'll redirect to the page you choose.

This worked perfectly, thanks alot.

T^2
May 2nd, 2006, 16:52
No problem, glad I could help.





  
  News · Search free hosts · Free file hosting · Free image hosting · Reviews · Forums · Related Links · Advertising Info · Contact Us


Copyright © 1996-2008 Per Olof Sandholm. All rights reserved. Privacy Statement

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum