kcg Posted September 4, 2009 Share Posted September 4, 2009 Hello, I have a header which I am using for a few different pages. When I go to a page inside a folder, the links then break because they are pointing to /index.php instead of ../index.php Is there any function to solve this problem, or even a work around? Thanks ~ kcg Link to comment https://forums.phpfreaks.com/topic/173088-included-header-problem/ Share on other sites More sharing options...
BinaryG Posted September 4, 2009 Share Posted September 4, 2009 you could use a direct link ie http://www.yoursite.co/index.php that way it will always point to the correct place Link to comment https://forums.phpfreaks.com/topic/173088-included-header-problem/#findComment-912341 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.