Neal Babcock's picture

I am trying to use a Wordpress VM as a personal library for engineering information such as PDFs, spreadsheets, images, etc. I like the search features of Wordpress, and the fact that I can categorize information as I choose.

The Turnkey Wordpress VM resides on a USB drive.

The problem arises when I move the USB drive from one computer to another, as the IP address changes. This breaks all the links to the media files in the posts.

For example, this works fine on my home computer:


However, the network at work uses a different IP, and the link does not work. I really don't want to modify the network settings on my work machine.

If I modify the link as I am creating the post like this:

a href="../wp-content/uploads/2010/06/datasheet.pdf">datasheet

it works, but it seems clunky, and is an extra step.

Does anyone have a solution to this?

Perhaps I am using the wrong appliance. My goal is to create a portable, easily usable library of files. I tried the MediaWiki appliance, but that didn't work much better.

Any suggestions would be appreciated.

Liraz Siri's picture

Especially not if they point to a specific IP address. I'd recommend using relative links if possible, and if not, look into using a dynamic DNS service. I think there are a few free ones...

Add new comment