TCH-JimE Posted December 11, 2002 Posted December 11, 2002 Hi, Have a minor problem. I have the current subdomain: Http://links.**** Now normally this would be ok, but this folder has no index.htm, but instead its main file which is needs to see is links.php However, if i setup redirect to be: http://links.****/links.php It does not work and all i get is the directory listing. Anyone know why or how to get around this? I can't rename the links.php because its needed to be called that. Cheers Jim Quote
TCH-JimE Posted December 11, 2002 Author Posted December 11, 2002 Doh! Thought I had solved this but now its not working! If i redirect using /links.php in the redirect bar then the redirect works to that page, but as soon as i try to click on a link to another file in the directory, it fails to work and it just sits there doing nothing! Why ? Jim Quote
Head Guru Posted December 11, 2002 Posted December 11, 2002 Wow you answered your own question in under 3 minutes. Awesome! Quote
TCH-JimE Posted December 11, 2002 Author Posted December 11, 2002 Yer but now its not working, see edited post above! James Quote
TCH-JimE Posted December 11, 2002 Author Posted December 11, 2002 Do u mean working ones? If so, http://test.bugmansbrewery.com/ Its set up to go to test.bugmansbrewrey.com/link.php But it does not :-( James Quote
TCH-Don Posted December 11, 2002 Posted December 11, 2002 How about creating an index.html to redirect like: <HTML> <HEAD> <TITLE>Links</TITLE> <script LANGUAGE="JavaScript"> <!-- Begin window.location="links.php";; // End --> </script> <meta http-equiv="refresh" CONTENT="0; url=links.php"> </HEAD> <body> <a href="links.php">click to goto Links</a> </body> </HTML> This would have three ways to get to your links page, script, refresh, and clickable link. Quote
TCH-JimE Posted December 11, 2002 Author Posted December 11, 2002 Hi, Well i have found a minor work around, its not the ideal solution and i may not always be able to do my solution, but i thought i would bring it up so the teccies can work out why and how to fix it for future people and problems James Edit - fixed. Always put http://www.domainname.com never www.domainname.com Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.