I have sitemap.xml
in the root directory of http://example.com
When i try to access http://example.com/sitemap.xml. It obviously throws route not found error.
So to try this changed .htaccess
to look like:
Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/sitemap.xml
RewriteRule ^ index.php [L]
Laravel Version in use: 5.1
But, no luck. How can i just make use and render manually generated xml file rather than serving from route? I am not looking for complex xml parsing theory here. Just trying a hook to escape from the specific routing. Any help will be much appreciated.
via Mithun