Support » Fixing WordPress » How to handle "other" files.

  • I’m considering installing WP, but my old, hand coded site has a lot of “other” files sitting in odd directories:

    • XML Directory – Accessed by other sites.
    • PDF Directory – Linked to by internal & external links.
    • Archives – Linked to by internal & external links.
    • Images – With external links so the URL shouldn’t change.

    I’m trying to figure out how to make sure these are properly handled before making the switch. In short I need to make sure the files are accessible, linkable with static URLs. How would you excellent folk handle this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    You may use custom post types to maintain other files and create directory too.


    So, if I were to create a custom post for an XML file in a custom directory an outside site could link to it and the raw XML file would load? Or would the XML file wrapped in the wordpress template load?


    That depends upon the functionality you want to develop. You can upload the xml or link it to an external xml url or both.


    The main functionality I need for these “other” files is to be able to include them on other sites through iframes or links or through other methods of including each one on a page.

    Example: I created an XML widget that will display a daily comic strip. A third party system on a seperate site needs to access the file on via a static link. So by making an iframe with the link they can have the comic display on their site. How would this work after I’ve installed WordPress?

    Yes, that’s possible.

    One way is to create custom post type and enable this features.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to handle "other" files.’ is closed to new replies.