Website is PHP/mySQL. Some of the pages (inventory) have friendly URLs. Great.
The problem is when on these profile pages (those with friendly URLs), it is also adding that friendly URL in front of the links of the top nav bar (aka menu drop down).
So instead of faq.php … now the link is productA/faq.php which of course breaks the links.
It is not doing it in the footer though, just the header links.
We have looked everywhere and admit defeat!
Please help!
Seeing that we have no code to look at, I’ll just have to throw out a wild (yet relevant) guess – you’re using relative links in the header.
For example, instead of having
<a hreF="/faq.php">FAQ</a>in the menu, you have<a href="faq.php">FAQ</a>or<a href="./faq.php">FAQ</a>, causing it to put the current directory structure before the file.