SOLVED - How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
SOLVED - How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
Please help to enlighten this part. I'm not getting it.
You do not have the required permissions to view the files attached to this post.
Last edited by imanickam on Wed Jun 13, 2018 3:02 am, edited 2 times in total.
Reason: Marked as Solved. Changed the title to 'How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website'
Reason: Marked as Solved. Changed the title to 'How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website'
- leolam
- Joomla! Master
- Posts: 20243
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ UK/ S'pore/Jakarta/ North America
- Contact:
Re: can anyone help me to optimize the site I made
This is another issue and you should open a new thread for each new issue.
Where you get this error? Change RSS-feed to RSS 2.0 (https://docs.joomla.org/Help38:Extensio ... tion_Feeds)
Leo
Where you get this error? Change RSS-feed to RSS 2.0 (https://docs.joomla.org/Help38:Extensio ... tion_Feeds)
Leo

Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services
-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
The issue here is with this website:- http://www.nksquare.co.in/DEV/cihner/
In the above website when the following link (http://www.nksquare.co.in/DEV/cihner/in ... d&type=rss) is passed on the the browser, featured article is displayed. .
The featured article is also displayed on the following link:- http://www.nksquare.co.in/DEV/cihner/in ... &type=atom (see the screenshot).
Our client have send this website for security audit. Please see the security audit report (attached), I'm not able to understand what it (audit report) is saying. What is the action needed on our part (recommending by security audit report)?
One important thing is that, we have not implemented RSS feature on this website, so we don't need RSS feed.
I think, when the user visits the following links:-http://www.nksquare.co.in/DEV/cihner/in ... d&type=rss , http://www.nksquare.co.in/DEV/cihner/in ... &type=atom can we direct them to 404 error page or to custom page?
Thank you.
In the above website when the following link (http://www.nksquare.co.in/DEV/cihner/in ... d&type=rss) is passed on the the browser, featured article is displayed. .
The featured article is also displayed on the following link:- http://www.nksquare.co.in/DEV/cihner/in ... &type=atom (see the screenshot).
Our client have send this website for security audit. Please see the security audit report (attached), I'm not able to understand what it (audit report) is saying. What is the action needed on our part (recommending by security audit report)?
One important thing is that, we have not implemented RSS feature on this website, so we don't need RSS feed.
I think, when the user visits the following links:-http://www.nksquare.co.in/DEV/cihner/in ... d&type=rss , http://www.nksquare.co.in/DEV/cihner/in ... &type=atom can we direct them to 404 error page or to custom page?
Thank you.
You do not have the required permissions to view the files attached to this post.
- mandville
- Joomla! Master
- Posts: 15018
- Joined: Mon Mar 20, 2006 1:56 am
- Location: The Girly Side of Joomla in Sussex
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
Who audited your site?
Can't you just disable feed for articles,
https://www.google.co.uk/search?q=jooml ... isable+rss
Did you not notice that your site fails on basic security ?
Can't you just disable feed for articles,
https://www.google.co.uk/search?q=jooml ... isable+rss
Did you not notice that your site fails on basic security ?
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}
-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
Even after disabling "Show Feed link" the featured article is shown when accessing this above two links. Can I not show 404 error message when the user access this link (https://www.google.co.uk/search?q=jooml ... isable+rss)?mandville wrote:Who audited your site?
Can't you just disable feed for articles,
https://www.google.co.uk/search?q=jooml ... isable+rss
Did you not notice that your site fails on basic security ?
- leolam
- Joomla! Master
- Posts: 20243
- Joined: Mon Aug 29, 2005 10:17 am
- Location: Netherlands/ UK/ S'pore/Jakarta/ North America
- Contact:
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
@Mandville: Cross Posting issue already posted here viewtopic.php?f=706&t=962580&p=3527320#p3527320
Leo
Leo

Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services
-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
Re: can anyone help me to optimize the site I made
Mr. leolam, when the user enters http://www.nksquare.co.in/DEV/cihner/in ... d&type=rss OR this link http://www.nksquare.co.in/DEV/cihner/in ... &type=atom, I want it to be displayed a "404 error " message. There is no need for RSS feed in this website. I have followed you link but it does not help. Please help me to solve this problem.leolam wrote:This is another issue and you should open a new thread for each new issue.
Where you get this error? Change RSS-feed to RSS 2.0 (https://docs.joomla.org/Help38:Extensio ... tion_Feeds)
Leo
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
There might be a plugin out there that can pull this off, but no, there is no configuration option to disable core views.
- sozzled
- Joomla! Exemplar
- Posts: 9979
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
I think @mbabker is right. I don't know how the Joomla CMS can prevent attempted usage of these URLs to fail (or generate a 404) unless you deliberately instruct J! to redirect those attempts to a 404 page. In other words, I don't know how to disable these things, either.
One way to do this would be to use the Redirects component. Another way would be to add a couple of lines to the .htaccess file. There might be other ways as well, but those are the first two methods that come to mind and, in my own case, when I want to prevent people using these URLS—however people may discover or try to use them—I redirect those URLs elsewhere (wherever you choose to send them).
One way to do this would be to use the Redirects component. Another way would be to add a couple of lines to the .htaccess file. There might be other ways as well, but those are the first two methods that come to mind and, in my own case, when I want to prevent people using these URLS—however people may discover or try to use them—I redirect those URLs elsewhere (wherever you choose to send them).
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”

-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
sozzled wrote:I think @mbabker is right. I don't know how the Joomla CMS can prevent attempted usage of these URLs to fail (or generate a 404) unless you deliberately instruct J! to redirect those attempts to a 404 page. In other words, I don't know how to disable these things, either.
One way to do this would be to use the Redirects component. Another way would be to add a couple of lines to the .htaccess file. There might be other ways as well, but those are the first two methods that come to mind and, in my own case, when I want to prevent people using these URLS—however people may discover or try to use them—I redirect those URLs elsewhere (wherever you choose to send them).
Mr. sozzled, I want to redirect all the below links to the home page and I want to do that from .htaccess. Can you please show me how to do that?
1. http://localhost/cihner/index.php?format=feed&type=rss
2. http://localhost/cihner/index.php?format=feed&type=atom
3. http://localhost/cihner/index.php?format=feed&type=1
4. http://localhost/cihner/index.php?forma ... type[]=rss
- sozzled
- Joomla! Exemplar
- Posts: 9979
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
Assuming "http://localhost/cinher" is the home page, I would do it something like this:vijay2014 wrote:I want to redirect all the below links to the home page and I want to do that from .htaccess. Can you please show me how to do that?
1. http://localhost/cihner/index.php?format=feed&type=rss
2. http://localhost/cihner/index.php?format=feed&type=atom
3. http://localhost/cihner/index.php?format=feed&type=1
4. http://localhost/cihner/index.php?forma ... type[]=rss
Code: Select all
RewriteEngine On
RewriteCond %{QUERY_STRING} format=feed
RewriteRule .* http://localhost/cihner/
https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”

-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
I have added those lines but it's of no effect. What could be the issue?sozzled wrote:Assuming "http://localhost/cinher" is the home page, I would do it something like this:vijay2014 wrote:I want to redirect all the below links to the home page and I want to do that from .htaccess. Can you please show me how to do that?
1. http://localhost/cihner/index.php?format=feed&type=rss
2. http://localhost/cihner/index.php?format=feed&type=atom
3. http://localhost/cihner/index.php?format=feed&type=1
4. http://localhost/cihner/index.php?forma ... type[]=rssCode: Select all
RewriteEngine On RewriteCond %{QUERY_STRING} format=feed RewriteRule .* http://localhost/cihner/
- sozzled
- Joomla! Exemplar
- Posts: 9979
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
There's no effect because ...
a) there's no real website called http://localhost/cihner/ (perhaps)?
or
b) you added these lines to the ".htaccess" file that's not associated with your website (perhaps)?
or
c) you didn't really add these lines to a file called .htaccess (perhaps)?
or
d) you just made this up to get me to guess ...
You're the expert here, not me. Sorry, but I can't guess any better. I tried my hardest to guess the right answer.
Please stop quoting everything I wrote. I know what I've written: there's no reason to quote every word I've written when you reply. Thanks.
a) there's no real website called http://localhost/cihner/ (perhaps)?
or
b) you added these lines to the ".htaccess" file that's not associated with your website (perhaps)?
or
c) you didn't really add these lines to a file called .htaccess (perhaps)?
or
d) you just made this up to get me to guess ...
You're the expert here, not me. Sorry, but I can't guess any better. I tried my hardest to guess the right answer.
Please stop quoting everything I wrote. I know what I've written: there's no reason to quote every word I've written when you reply. Thanks.

https://www.kuneze.com/blog
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”
“If you think I’m wrong then say, ‘I think you’re wrong.’ If you say ‘You’re wrong!’, how do you know?”

-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
btw:- this is how I was able to direct to the home pagesozzled wrote:There's no effect because ...
a) there's no real website called http://localhost/cihner/ (perhaps)?
or
b) you added these lines to the ".htaccess" file that's not associated with your website (perhaps)?
or
c) you didn't really add these lines to a file called .htaccess (perhaps)?
or
d) you just made this up to get me to guess ...
You're the expert here, not me. Sorry, but I can't guess any better. I tried my hardest to guess the right answer.
Please stop quoting everything I wrote. I know what I've written: there's no reason to quote every word I've written when you reply. Thanks.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} format=feed
RewriteRule (.*) /cihner/? [R=302,L]
</IfModule>
Thank you
-
- Joomla! Apprentice
- Posts: 19
- Joined: Sat Jun 02, 2018 8:34 pm
Re: How can i disable "index.php?format=feed&type=rss" and "index.php?format=feed&type=atom" from my joomla website
Can you now please check this site(https://www.nksquare.co.in/DEV/cihner/) whether it fails on basic security?mandville wrote:Who audited your site?
Can't you just disable feed for articles,
https://www.google.co.uk/search?q=jooml ... isable+rss
Did you not notice that your site fails on basic security ?