html - Links not working in my error page -
i have created personalised error 404 page , redirected through htaccess file.
when error tiped main folder, links work perfectly.
ex: www.domain.com/tipingerror.hmlt
but when error tiped subfolders, links not work.
ex: www.domain.com/folder/tipingerror.lhtm
links in 404 page like:
<li> <a href="../ordenador/castellano/contacto.html">contact</a> </li>
does have solution problem?
relative paths don't work if url has different folder depth. change them absolute paths like
<li> <a href="/ordenador/castellano/contacto.html">contact</a> </li>
here cool article relative / absolute paths. might if have more issues.
Comments
Post a Comment