0

my folder structure is as follows:

sample/register

i have a file in sample folder named index.html .i want to redirect to this file from a file within register folder.how can i do that? this is what i have done.But the problem is that i have a file within register folder named index.html and its getting redirected to this folder.how do i mention the root folder?

<li><a id="register" href="index.html">Back</a></li>
4

1 回答 1

1

Depending on where your root folder is href="/index.html" may work or just going up one folder with href="../index.html"

于 2013-10-30T06:03:54.473 回答