protecting the sitemap generator folder how?
« on: March 08, 2018, 09:09:04 AM »
How do I protect the sitemap generator folder?

So only I can access it, do I use deny, order and allow my IP?
If so do I need to allow access to any files in that folder?
Re: protecting the sitemap generator folder how?
« Reply #1 on: March 08, 2018, 09:46:31 AM »
I think I have got it

Create a .htaccess file and put it in the generator folder with the below.
Make sure to change the IP addresses

Code: [ External links are visible to forum administrators only ]
order deny,allow
deny from all
allow from
allow from

<FilesMatch "sitemap.xsl">
allow from all

You will need to set the IP addresses: - This is your IP - This is the server IP
« Last Edit: March 08, 2018, 09:52:20 AM by Crazy BigGaz »