WordPress.org

Ready to get started?Download WordPress

Forums

Accessing an xml file with url rewriting on (1 post)

  1. fzilbermann
    Member
    Posted 3 years ago #

    Hello,

    I have a quite "simple" problem but I can't rid of it. On a page, I have a swf file calling for an xml playlist file. It's a swf made by another guy and, for the moment, I can't get the FLA sources.

    Let's say my site is at http://www.mysite.com. Without pretty permalinks, if I access the page with the swf that way :

    http://www.mysite.com/?page_id=1

    The swf search for the swf in the root directory 'http://www.mysite.com/' and it works fine. But with permalinks, the page is located at :

    http://www.mysite.com/direct

    So the call for the xml file is :

    http://www.mysite.com/direct/playlist.xml ( checked with Firebug ).

    Of course there's no playlist.xml in the directory /direct because there's not direct directory. But the way the swf is made, it looks for the file here ... If I had the source fla, i could modify the way playlist.xml is called and compiled again into a more friendly swf, but I can't ...

    I'm still looking for an answer. I can't create the "direct" directory because then WP would simply try to access that directory and for example, list the content ( tried ). I tried .htaccess too but can't get the rewrite rule to work with that call ( maybe call from swf files don't work ... ).

    Last answer would be to disable permalinks for that page but leave it working for the rest of the site. Didn't find how to do it :-/

    So thanks for any answer you can hint me to !

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.