I have a WordPress site in a temporary location, and the site URL is an IP address followed by slash, tilde and the short site name. I also have a number of internal links in the pages that assume linking from the root -
<a href="/services"> - for example. Now these links do not work in the testing environment because of the shared IP.
Does anyone know what I can do to make my internal links work, no matter where the site lives?
UPDATE: I'm trying to update links (and the SRC of uploaded images) in the page content, not in a template file.
ANOTHER UPDATE: I think I'm going to just go the manual route and drop in absolute URLs.