• Hi all,

    I have a site that uses relative linkage for images, swfs, etc. Everything works smoothly in the “ugly” format, but when switched to /%postname%/ format, I lose majority of my links on all but the home page.

    I’ve tried using absolute paths for everything, but I am having issues stemming from the multiple domains attached to the site.

    For instance-
    Using absolute paths: My flash nav works on http://www.example.com, but then stops working on http://www.examplesite.com. Both pull from the same ftp, the same directory.

    Using relative paths: My flash nav works on all attached domains. However when I change the permalinks, the swf doesn’t even appear.

    The question: Is there a better way to rewrite these permalinks, without going through wordpress? I’m on a linux server, and can access my .htaccess file, if necessary.

    Thanks in advance!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have a site that uses relative linkage for images, swfs, etc. Everything works smoothly in the “ugly” format…

    Relative links do not work well in WordPress. I’d recommend that you either stick to using the default permalinks or fix whatever is wrong with the absolute links.

    http://codex.wordpress.org/Linking_Posts_Pages_and_Categories#Absolute_versus_Relative_Links

    Thread Starter heerefishyfish

    (@heerefishyfish)

    interesting…

    Well then I guess the question is, what could be wrong with my absolute paths? To my knowledge, there’s not more than one way to write them… I seem to be stuck in a catch 22 here.

    Well it’s either/or …

    What do you want more, the ability to keep your relative links or pretty URLs..

    As said above, relative links do not work well with WordPress…

    Catch22 indeed.. 🙂

    Path problems are easily solved by simply looking at the path in the output source code, you’ll soon where things are pointing..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing Permalinks- losing css, images on subpages’ is closed to new replies.