How to fix the errors
-
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/
-
I have 61 of those errors and am not sure what to do with them.
What are the errors?
Is there an easy way to fix something like that without hiring anyone?
Probably not with this plugin. It’s meant as a diagnostic tool, and doesn’t necessarily fix things for you.
I have the same question. I rewrote the author_base and author_structure and my rules show up and they work, but it says that they are missing from the database. I don’t know what that means though or how to fix it.
I mean, I know what a database is but I didn’t know rewrite rules went in the database. Or how to get them in there. Here is the code I’m using
// change author slug / url base add_action('init', 'my_author_base'); function my_author_base() { global $wp_rewrite; $wp_rewrite->author_base = 'profile'; $wp_rewrite->author_structure = 'profile/%author%'; }
Sorry for the long delay, didn’t subscribe to post, stupid me.
Those rewrite rules are still there in red. If you want here they are:
[^/]+/([^/]+)/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 to add them the same way the above poster tried (just not as author), i tried adding them to the .htaccess file like this
RewriteRule feed/(feed|rdf|rss|rss2|atom)/?$ index.php?&feed=$1 [L]
but they just completely make wordpress stop working, not a single page works if added to htaccess. I am out of ideas. lol.
Thanks in advance.
- The topic ‘How to fix the errors’ is closed to new replies.