Page 1 of 1

[HELP] <a href="" > help.

Posted: Mon Jul 26, 2010 6:34 pm
by Andy11548
I need help with the <a href="" > code. I've redirected it to my forums on my website. But when I click "Homepage" on the link there, which was origionally directed to < a href="./index.php" >, it now takes me to the forum index. How do I make it so that it directs back to the origionall index.php?

If you need me to reword it, just ask.

Re: [HELP] <a href="" > help.

Posted: Mon Jul 26, 2010 6:53 pm
by Thizzle
Well, I can only assume that the "index" file is in two different directories... So You'll have to add the name of the directory like this <a href="URL/DIRECTORY/index.php"/>

Re: [HELP] <a href="" > help.

Posted: Mon Jul 26, 2010 7:05 pm
by Andy11548
Thizzle wrote:Well, I can only assume that the "index" file is in two different directories... So You'll have to add the name of the directory like this <a href="URL/DIRECTORY/index.php"/>
I know this, but the first dictionary is just in htdocs on local host.

Re: [HELP] <a href="" > help.

Posted: Tue Jul 27, 2010 2:07 am
by Grizzzzzzzzzz
you'll have to do something like

Code: Select all

<a href="../../index.php"/>
with additional ../ per parent directory


if i'm still not hitting the nail on the head then post your folder/file layout of the specific files

Re: [HELP] <a href="" > help.

Posted: Tue Jul 27, 2010 4:01 am
by Andy11548
Grizzzzzzzzzz wrote:you'll have to do something like

Code: Select all

<a href="../../index.php"/>
with additional ../ per parent directory


if i'm still not hitting the nail on the head then post your folder/file layout of the specific files

Thanks dude, it works. Cheers for the Help ;) (Y)