0

I'm trying to include an xml file in my WP site where you could go to a url, much like this one:

www.example.com/somepage/anotherpage/thefile.xml

and view "thefile.xml" - no header, no footer, just the xml file.

I've been searching for ways to accomplish this for awhile now.

0

simply add as a link wherever you want.

<a href="www.example.com/somepage/anotherpage/thefile.xml">www.example.com/somepage/anotherpage/thefile.xml<a>

I have done the same here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.