I activated this plugin but not showing any options or menu in bar of wordpress, how to use this plugin?
]]>Hi guys
I need to update my site’s PHP to a newer version, so I would like to know what PHP version your plugin supports.
Wordpress is recommending a minimum version of 7.4. Does your plugin support this version?
Thank you!!!
]]>Hi. The plugin uses a function screen_icon
which was deprecated long ago – https://developer.www.ads-software.com/reference/functions/screen_icon/
get_screen_icon
should be used instead.
@automattic, would be nice to maintain such a useful plugin.
]]>This plugin does not explicitly state which open source license it is distributed under. Could some clarification be added here on that?
Thanks!
]]>Getting a few notices
https://www.flowpress.com/screenshots/screenshot%202019-10-23%20at%208.52.15%20AM.png
]]>What exactly occurs when “flush rules” is clicked? Does it restore the default WordPress rewrite rules? Repair missing rules?
Thanks! This is a really helpful tool.
]]>Hello guys,
The plugin “Rewrite Rules Inspector” is outdated for the current version of WP. Will you update the plugin, or will it not be updated ??
I thank you.
Rodrigo
Your plugin is a great plugin !
but.. can u explain me whats happen if i see all of my rewrite rules all with missing source and how to fix that ?
simone
https://www.ads-software.com/plugins/rewrite-rules-inspector/
]]>Please implement a bump release so this appears again in the wordpress admin panel when searching for plugins (plugins not updated in over 2 years are not shown)
/wp-admin/plugin-install.php
https://www.ads-software.com/plugins/rewrite-rules-inspector/
]]>Excellent plugin, I have only one question:
If you have multiple matches for a URL (say, 2 matches) is the order in which they are resolved from top to bottom? (So in essence, only the topmost match matters and will be used?)
https://www.ads-software.com/plugins/rewrite-rules-inspector/
]]>Warning: preg_match(): Unknown modifier ‘p’ in /Users/dbushaw/Sites/trivista/wp-content/plugins/rewrite-rules-inspector/rewrite-rules-inspector.php on line 165
To fix: Change the following on line 165:
preg_match( “!^$rule!”, $match_path )
To:
preg_match( “#^$rule#”, $match_path )
Source: https://stackoverflow.com/questions/17394677/php-regex-unknown-modifier-p
https://www.ads-software.com/plugins/rewrite-rules-inspector/
]]>Not sure if it’s in the scope of the plugin, although it seems related…
But, an additional option to view query vars would be helpful for some using this… Instead of having to do this:
global $wp_query;
var_dump($wp_query->query_vars);
https://www.ads-software.com/plugins/rewrite-rules-inspector/
]]>Hi,
Last week I installed some plugins (sendpress), and some of them messed up with some custom rewrites created by other plugins. I didn’t noticed it, until I needed to use one of these pages created with custom rules. These pages were returning 404 errors for days.
It could be avoided if some plugin warned me about this. RRI does this job, but I need to go to the plugin page to see these missing rewrites. I think the warn should be displayed in every admin page.
Thank you
Lucas
https://www.ads-software.com/extend/plugins/rewrite-rules-inspector/
]]>Strict Standards: Declaration of Rewrite_Rules_Inspector_List_Table::single_row() should be compatible with WP_List_Table::single_row($item) in /wordpress-site/wp-content/plugins/rewrite-rules-inspector/rewrite-rules-inspector.php on line 298
https://www.ads-software.com/extend/plugins/rewrite-rules-inspector/
]]>Hi,
I am sorry I didn’t reply in time to other one, this time I am notify self. But here are the rewrite rules all in red, and I am hoping you can give me a clue why they would be like that.
[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
[^/]+/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
[^/]+/([^/]+)/?$ index.php?attachment=$1 missing
([^/]+)(/[0-9]+)?/?$ index.php?name=$1&page=$2 missing
[^/]+/attachment/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
[^/]+/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
([^/]+)/wc-api(/(.*))?/?$ index.php?name=$1&wc-api=$3 missing
([^/]+)/comment-page-([0-9]{1,})/?$ index.php?name=$1&cpage=$2 missing
([^/]+)/page/?([0-9]{1,})/?$ index.php?name=$1&paged=$2 missing
([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?name=$1&feed=$2 missing
([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?name=$1&feed=$2 missing
([^/]+)/trackback/?$ index.php?name=$1&tb=1 missing
[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
[^/]+/attachment/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
[^/]+/attachment/([^/]+)/?$ index.php?attachment=$1 missing
(.?.+?)(/[0-9]+)?/?$ index.php?pagename=$1&page=$2 missing
.?.+?/attachment/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
.?.+?/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
(.?.+?)/wc-api(/(.*))?/?$ index.php?pagename=$1&wc-api=$3 missing
(.?.+?)/comment-page-([0-9]{1,})/?$ index.php?pagename=$1&cpage=$2 missing
(.?.+?)/page/?([0-9]{1,})/?$ index.php?pagename=$1&paged=$2 missing
(.?.+?)/(feed|rdf|rss|rss2|atom)/?$ index.php?pagename=$1&feed=$2 missing
(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?pagename=$1&feed=$2 missing
(.?.+?)/trackback/?$ index.php?pagename=$1&tb=1 missing
.?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
.?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
.?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
.?.+?/attachment/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
.?.+?/attachment/([^/]+)/?$ index.php?attachment=$1 missing
([0-9]{4})/?$ index.php?year=$1 missing
([0-9]{4})/wc-api(/(.*))?/?$ index.php?year=$1&wc-api=$3 missing
([0-9]{4})/page/?([0-9]{1,})/?$ index.php?year=$1&paged=$2 missing
([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ index.php?year=$1&feed=$2 missing
([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?year=$1&feed=$2 missing
([0-9]{4})/([0-9]{1,2})/?$ index.php?year=$1&monthnum=$2 missing
([0-9]{4})/([0-9]{1,2})/wc-api(/(.*))?/?$ index.php?year=$1&monthnum=$2&wc-api=$4 missing
([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ index.php?year=$1&monthnum=$2&paged=$3 missing
([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ index.php?year=$1&monthnum=$2&feed=$3 missing
([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?year=$1&monthnum=$2&feed=$3 missing
([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ index.php?year=$1&monthnum=$2&day=$3 missing
([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/wc-api(/(.*))?/?$ index.php?year=$1&monthnum=$2&day=$3&wc-api=$5 missing
([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ index.php?year=$1&monthnum=$2&day=$3&paged=$4 missing
([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ index.php?year=$1&monthnum=$2&day=$3&feed=$4 missing
([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?year=$1&monthnum=$2&day=$3&feed=$4 missing
author/([^/]+)/?$ index.php?author_name=$1 missing
author/([^/]+)/wc-api(/(.*))?/?$ index.php?author_name=$1&wc-api=$3 missing
author/([^/]+)/page/?([0-9]{1,})/?$ index.php?author_name=$1&paged=$2 missing
author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?author_name=$1&feed=$2 missing
author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?author_name=$1&feed=$2 missing
search/(.+)/?$ index.php?s=$1 missing
search/(.+)/wc-api(/(.*))?/?$ index.php?s=$1&wc-api=$3 missing
search/(.+)/page/?([0-9]{1,})/?$ index.php?s=$1&paged=$2 missing
search/(.+)/(feed|rdf|rss|rss2|atom)/?$ index.php?s=$1&feed=$2 missing
search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?s=$1&feed=$2 missing
comments/wc-api(/(.*))?/?$ index.php?&wc-api=$2 missing
comments/page/?([0-9]{1,})/?$ index.php?&paged=$1 missing
comments/(feed|rdf|rss|rss2|atom)/?$ index.php?&feed=$1&withcomments=1 missing
comments/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?&feed=$1&withcomments=1 missing
wc-api(/(.*))?/?$ index.php?&wc-api=$2 missing
page/?([0-9]{1,})/?$ index.php?&paged=$1 missing
(feed|rdf|rss|rss2|atom)/?$ index.php?&feed=$1 missing
feed/(feed|rdf|rss|rss2|atom)/?$ index.php?&feed=$1 missing
.*wp-register.php$ index.php?register=true missing
.*wp-app\.php(/.*)?$ index.php?error=403 missing
.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$ index.php?feed=old missing
robots\.txt$ index.php?robots=1 missing
portfolio_entries/([^/]+)/?$ index.php?portfolio_entries=$1 missing
portfolio_entries/([^/]+)/page/?([0-9]{1,})/?$ index.php?portfolio_entries=$1&paged=$2 missing
portfolio_entries/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?portfolio_entries=$1&feed=$2 missing
portfolio_entries/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?portfolio_entries=$1&feed=$2 missing
portfolio-item/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
portfolio-item/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
portfolio-item/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
portfolio-item/[^/]+/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
portfolio-item/[^/]+/([^/]+)/?$ index.php?attachment=$1 missing
portfolio-item/([^/]+)(/[0-9]+)?/?$ index.php?portfolio=$1&page=$2 missing
portfolio-item/[^/]+/attachment/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
portfolio-item/[^/]+/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
portfolio-item/([^/]+)/wc-api(/(.*))?/?$ index.php?portfolio=$1&wc-api=$3 missing
portfolio-item/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?portfolio=$1&cpage=$2 missing
portfolio-item/([^/]+)/page/?([0-9]{1,})/?$ index.php?portfolio=$1&paged=$2 missing
portfolio-item/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?portfolio=$1&feed=$2 missing
portfolio-item/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?portfolio=$1&feed=$2 missing
portfolio-item/([^/]+)/trackback/?$ index.php?portfolio=$1&tb=1 missing
portfolio-item/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
portfolio-item/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
portfolio-item/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
portfolio-item/[^/]+/attachment/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
portfolio-item/[^/]+/attachment/([^/]+)/?$ index.php?attachment=$1 missing
product/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
product/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
product/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
product/[^/]+/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
product/[^/]+/([^/]+)/?$ index.php?attachment=$1 missing
product/([^/]+)(/[0-9]+)?/?$ index.php?product=$1&page=$2 missing
product/[^/]+/attachment/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
product/[^/]+/([^/]+)/wc-api(/(.*))?/?$ index.php?attachment=$1&wc-api=$2 missing
product/([^/]+)/wc-api(/(.*))?/?$ index.php?product=$1&wc-api=$3 missing
product/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?product=$1&cpage=$2 missing
product/([^/]+)/page/?([0-9]{1,})/?$ index.php?product=$1&paged=$2 missing
product/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?product=$1&feed=$2 missing
product/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?product=$1&feed=$2 missing
product/([^/]+)/trackback/?$ index.php?product=$1&tb=1 missing
product/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ index.php?attachment=$1&cpage=$2 missing
product/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
product/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?attachment=$1&feed=$2 missing
product/[^/]+/attachment/([^/]+)/trackback/?$ index.php?attachment=$1&tb=1 missing
product/[^/]+/attachment/([^/]+)/?$ index.php?attachment=$1 missing
product-tag/([^/]+)/?$ index.php?product_tag=$1 missing
product-tag/([^/]+)/page/?([0-9]{1,})/?$ index.php?product_tag=$1&paged=$2 missing
product-tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?product_tag=$1&feed=$2 missing
product-tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?product_tag=$1&feed=$2 missing
product-category/(.+?)/?$ index.php?product_cat=$1 missing
product-category/(.+?)/page/?([0-9]{1,})/?$ index.php?product_cat=$1&paged=$2 missing
product-category/(.+?)/(feed|rdf|rss|rss2|atom)/?$ index.php?product_cat=$1&feed=$2 missing
product-category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?product_cat=$1&feed=$2 missing
type/([^/]+)/?$ index.php?post_format=$1 missing
type/([^/]+)/page/?([0-9]{1,})/?$ index.php?post_format=$1&paged=$2 missing
type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?post_format=$1&feed=$2 missing
type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?post_format=$1&feed=$2 missing
tag/([^/]+)/?$ index.php?tag=$1 missing
tag/([^/]+)/wc-api(/(.*))?/?$ index.php?tag=$1&wc-api=$3 missing
tag/([^/]+)/page/?([0-9]{1,})/?$ index.php?tag=$1&paged=$2 missing
tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ index.php?tag=$1&feed=$2 missing
tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?tag=$1&feed=$2 missing
category/(.+?)/?$ index.php?category_name=$1 missing
category/(.+?)/wc-api(/(.*))?/?$ index.php?category_name=$1&wc-api=$3 missing
category/(.+?)/page/?([0-9]{1,})/?$ index.php?category_name=$1&paged=$2 missing
category/(.+?)/(feed|rdf|rss|rss2|atom)/?$ index.php?category_name=$1&feed=$2 missing
category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?category_name=$1&feed=$2 missing
shop/page/([0-9]{1,})/?$ index.php?post_type=product&paged=$matches[1] missing
shop/(feed|rdf|rss|rss2|atom)/?$ index.php?post_type=product&feed=$matches[1] missing
shop/feed/(feed|rdf|rss|rss2|atom)/?$ index.php?post_type=product&feed=$matches[1] missing
shop/?$ index.php?post_type=product missing
I tried adding them like this to functions.php but the plugin still says the rule is missing
add_action( 'init', 'add_new_rr_rules' );
function add_new_rr_rules() {
add_rewrite_rule(
"robots\.txt$",
"index.php?robots=1",
"bottom");
}
I tried adding them like this to .htaccess and wordpress no longer works if all of them are added. not one page. all say missing.
RewriteRule feed/(feed|rdf|rss|rss2|atom)/?$ index.php?&feed=$1 [L]
Any help would be appreciated, or even a hint. Thanks again for writing this, I use it all the time, just dont know what to do with the data i see. lol.
https://www.ads-software.com/extend/plugins/rewrite-rules-inspector/
]]>Hi,
Thanks for writing this. One thing that unfortunately I hope you may add to the plugin, is some button to click to fix the errors shown. I have 61 of those errors and am not sure what to do with them. Is this a mistake of the theme author, or plugin is causing this. Is there an easy way to fix something like that without hiring anyone?
https://www.ads-software.com/extend/plugins/rewrite-rules-inspector/
]]>Hi!
I don’t know if you could help me with this : I have identified a problem with my ‘page’ post type (the default wordpress pages). Somehow it “picks up” a rewrite rule that should not be applied to it. And when i specify any page in the “match URL” field of your plugin i get these 3 rewrite rules :
([^/]+)/?$
index.php?custom_tag_not_for_pages=$matches[1]
custom_post_type
////////////////////////////////////////////////
(.?.+?)(/[0-9]+)?/?$
index.php?pagename=$matches[1]&page=$matches[2]
page
////////////////////////////////////////////////
([^/]+)(/[0-9]+)?/?$
index.php?name=$matches[1]&page=$matches[2]
post
////////////////////////////////////////////////
Do you know for what possible reason this could be happening?
Any help would be much appreciated ! thanks !
https://www.ads-software.com/extend/plugins/rewrite-rules-inspector/
]]>Pretty minor issue. Plugin URI points to automattic.com, not the plugin page on www.ads-software.com.
https://www.ads-software.com/extend/plugins/rewrite-rules-inspector/
]]>