Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...