Skip to content

Instantly share code, notes, and snippets.

@jbanety
Created February 21, 2017 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbanety/55e2c0c8c5633f4e5611556026ea0964 to your computer and use it in GitHub Desktop.
Save jbanety/55e2c0c8c5633f4e5611556026ea0964 to your computer and use it in GitHub Desktop.
Fake sitemap.xml
<?php
header('Content-Type: text/xml; charset=utf-8');
echo file_get_contents("http://[WEBSITEURL]/index.php?option=com_osmap&view=xml&id=1");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment