up level relative paths problem
-
Hi,
I threw my site (still in beta, sorry no link) at the W3 link checker and got errors with relative links.
I use pages and subpages, and relative links like ../subpage2 to refer to another subpage under the same page. There is no problem when you follow the links on the site: then the link shows up correctly as /site/page/subpage2. However, when you start directly at the subpage, like the link checker or from a bookmark *without* the closing slash, the link shows the subpage directly under the top level, as site/subpage2.
While I can see the logic of it (no closing slash = not a “directory” to back up to), it is annoying and confuses link checkers.
Could this be repaired? Can I repair it myself? Comments?
(Note to self: Add correction of my redirection .htaccess for the old site to to-do list)
- The topic ‘up level relative paths problem’ is closed to new replies.