You are here
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:
href="http://192.168.2.10/wp-content/uploads/2010/06/datasheet.pdf">datasheet
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.
You really shouldn't use absolute links...
Add new comment