cancel
Showing results for 
Search instead for 
Did you mean: 

RSS feeds are not restricted

Highlighted

RSS feeds are not restricted

I have installed Magento 1.7.0.2 within a subdirectory of my document root, e.g.:

http://www.example.com/estore

In my .htaccess file found at the root folder of Magento (/estore) I have restricted access to RSS feed as follows:

 

RewriteRule ^(index.php/?)?rss/catalog/notifystock/? - [NC,L,R=403]

The above works for the below links:

 

http://www.example.com/estore/rss/catalog/notifystock/
http://www.example.com/estore/index.php/rss/catalog/notifystock/

However, the below links are not restricted:

 

http://www.example.com/rss/catalog/notifystock/
http://www.example.com/index.php/rss/catalog/notifystock/

The Base URL declared in Magento configuration at the section System -> Configuration -> Web for both Unsecure and Secure URLs is the same, as I have moved my store to full HTTPS:

https://www.example.com/estore/

I have also modified in the same way the .htaccess file under the document root, but the problem persists.

1 REPLY

Re: RSS feeds are not restricted

Hi @dandrikop,

 

I guess is working under https://www.example.com/estore/ because the .htaccess on that directory.

Has the .htaccess file under http://www.example.com/ the same rule?