Support » Plugin: Rewrite Rules Inspector » Most of my Rewrite Rules are Red

  • treccase

    (@treccase)


    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.

    http://wordpress.org/extend/plugins/rewrite-rules-inspector/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    Hmm… they should only be missing until you flush your rewrite rules. Have you tried that?

    You may have a plugin installed which is prematurely flushing rewrite rules on init, and deleting values that should be there. What plugins are you running? Can you try deactivating all of your plugins, flushing your rewrite rules, and seeing if the problem persists?

    Thread Starter treccase

    (@treccase)

    Hi,

    I only have the 4 plugins part of the WPML (WPML translation: manager, strings, main, images) and the theme.

    Thank you so much for your answer. I think the theme and the translation plugin are not as compatible as claimed, and yes there are too many flushes but beyond my capabilities .

    Thanks again, and thanks for making this plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Most of my Rewrite Rules are Red’ is closed to new replies.