If you use the Permalinks feature in WordPress, and you use relative links to link to files or images on your server, as follows:
<a href="images/foo.png"> in your index.php template, or your posts, then it will not work properly, since it will automatically become something like
The usual work around is not to use relative links in your template, or posts.
But in case you want to, you can use the w3 org recommendation and add a base URI to your index.php, which looks like :
to the index.php file, in the “head” section. This should prevent the relative links from getting botched.
Originally seen at the Support Forums.
Sorry, the comment form is closed at this time.