Hello,
I was using an old plugin to do my needs with disabling feeds. It has an awesome feature that completely disables rewrite rules for all the feeds. It just gives error 404 right away.
See, my website has a lots of content. While using disable feeds wp works, it takes some time like 10 seconds for it to return error 404 for my feeds. It clearly uses resources on my website.
But it you add a feature like what I said, it will instantly throw a 404 error
]]>Hi,
First of all, thank you for the plugin. I’ woul’d like to rate this plugin on max stars. After checking the plugin creator, I see that I’m directing my requests to a programmer with extensive experience so I hope that solutions to the problems presented below will be quickly implemented:
1. Disabling the plugin causes a critical WordPress error.
Please fix this bug. Write here when the problem is solved – I’ll test plugin
2. What about the existing .XML file?
My goal is to stop generating the feed (I don’t post often) and a static XML file meets all my needs. Your plugin halfway meets my expectations. You implemented a “404” redirect and wrote the following code:
$wp_query->is_feed = false;
$wp_query->set_404();
status_header(404);
/*Override the xml+rss header set by WP in send_headers*/
header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset') );
Please include an option for an existing .XML file in your plugin, e.g. add a field: exclude for “Location of existing xml file (for rss)” in the settings tab -> reading.
ps. I’ve .XML file on the server and I’d like the link to it not to be removed from the header.
3. Feature (the plugin will be ranked very high): Can you implement a new option in your plugin that uses the existing wordpress code that does not save the XLM file, but generates it after going to yoursite.com/feed/ to create an .XML file on the server?
Please let me know if you can do this. For example, the extended plugin functions:
– Field: radio button: rss / rss2 / rdf / atom;
– Button: “Generate XML”;
– Text field (copyable) e.g. below the “Generate XML” button.
The plugin will use the code from above point 2. so that the link to the generated .XML file isn’t removed in the header – after generating the .XML file. Finally, the code from the current plugin is run.
Please let me know what you think here too. If I have the skills to help, I will (remember, I’m not a programmer).
Best regards,
Luke