• fzilbermann

    (@fzilbermann)


    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 https://www.mysite.com. Without pretty permalinks, if I access the page with the swf that way :

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

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

    https://www.mysite.com/direct

    So the call for the xml file is :

    https://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 !

  • The topic ‘Accessing an xml file with url rewriting on’ is closed to new replies.