Support » Localhost Installs » How to Make References Relative

  • Resolved chaplaindoug


    I noticed after installing (on my Windows Server 2008 server) and working on my WordPress site, that all references to files and pages (and permalinks) look like “ . . .” is the local area network IP for the server and will mean nothing to users once the site goes live. I have already tried viewing the site outside the LAN and any graphic, file, or page (other than the home page) does not come up.

    SO, how can I make all the referecnes and permalinks relative? Instead of… for instance why not just wp-content/…? I tried that on some images I have in HTML on a page and it works. If I cannot make it relative, then how can I replace to with the actual web address (e.g., Any help will be greatly appreciated. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Once you get your live site running it should work fine.

    You should only use hard-coded links if you have to. If you do, you can code them with the URL of the page on your live site.

    The permalink structure should resolve itself.

    I have gone “live” in that I now have an external IP address assigned, which is mapped by my firewall to the internal IP. When I try to use it, it does not resolve. The site comes up. But without some of the graphics. It works internally, but not externally. There must be something else going on. Any ideas?

    Are you going to eventually move this to an external host, or are you trying to host on your own server?

    I plan to host it on my own server. I have no problem developing my ASP.Net web sites on our servers. I am just having trouble with this WordPress site. Any suggestions?

    The solution to my problem was to log in as admin. Go to settings>general and to set the web site address there near the top. Thanks.


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to Make References Relative’ is closed to new replies.