how to not use relative links in html, but everytime starting from the domain.
- by Andy
Hi,
I'm trying to make a page for use with wordpress and it's almost working,
The page I want to use is an HTML page with designated space for it within certain DIVs.
I'm encountering the problem of wordpress using the wrong links to kind of everything. I will probably have to change every link to http://www.mydomain.com/sub/folder/image.jpg while there are many links.
the page is positioned in a subfolder, there where wordpress is installed on the server.
But other pages are positioned in the root, and retrieve all other files directly starting from the domain so writing /sub/folder/image.jpg is enough.
Is there a way I could get this to work with html/php files in sub folders as well (so when typing a link like /sub/folder/image.jpg they retrieve http://www.mydomain.com/sub/folder/image.jpg
and not
http://www.mydomain.com/sub/folder/sub/folder/image.jpg
thanks!