Giter Club home page Giter Club logo

rewrite-rules-inspector's Introduction

Rewrite Rules Inspector

Stable tag: 1.3.1
Requires at least: 3.1
Tested up to: 5.7
Requires PHP: 5.6
License: GPLv2 or later
Tags: rewrite rules, tools
Contributors: danielbachhuber, automattic, tmoorewp, GaryJ

A simple admin tool for inspecting rewrite rules.

Description

A simple WordPress admin tool for inspecting rewrite rules. View a listing of all your rewrite rules, see which rewrite rules match a given URL (and the priorites they match in), or filter by different sources of rewrite rules. Perform a soft flush of your rewrite rules to regenerate them.

Originally developed for clients hosted at WordPress VIP, we thought it would be useful for development environments, etc. too. Feel free to fork the plugin in GitHub โ€” pull requests are always welcome. Hit us with feedback, questions, bug reports, and feature requests in the GitHub issues.

Installation

Install the plugin from within WordPress

  1. Visit the Plugins page from your WordPress dashboard and click "Add New" at the top of the page.
  2. Search for "rewrite-rules-inspector" using the search bar on the right side.
  3. Click "Install Now" to install the plugin.
  4. After it's installed, click "Activate" to activate the plugin on your site.

Install the plugin manually

  1. Download the plugin from WordPress.org or get the latest release from our Github Releases page.
  2. Unzip the downloaded archive.
  3. Upload the entire rewrite-rules-inspector folder to your /wp-content/plugins directory.
  4. Visit the Plugins page from your WordPress dashboard and look for the newly installed plugin.
  5. Click "Activate" to activate the plugin on your site.

Screenshots

  1. See which rewrite rules match a given URL, and the priorities they match in.
    The main screen showing the rewrite rules

  2. An error message appears if rewrite rules are missing in the database
    One rule is highlighted in red as it is missing

Changelog

See the change log.

rewrite-rules-inspector's People

Contributors

danielbachhuber avatar david-binda avatar dbernar1 avatar emrikol avatar garyjones avatar javierparra avatar jeremyfelt avatar machouinard avatar nickdaugherty avatar philipjohn avatar ramiy avatar simonhampel avatar wpprodigy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rewrite-rules-inspector's Issues

Flush doesn't flush

Hi guys, and thanks for your very handy tool.
That helped find me why my sitemap.xml were missing.
As you can see from this screenshot
http://cl.ly/403L3J2j390X2t2Y3R1n
where I have missing rules with the plugin
"BWP Google XML Sitemaps" and from this screenshot
http://cl.ly/0f040v3S3C292T2o0q07
where the plugin is "Google XML Sitemap".

I try to flush but the problem is still there.
Any idea on that? Or where to go from there?

Thanks,

how to use it

hi! i downloaded plugin from github and successfully activated it but i cannot find its settings nor rewrite rules output messages in admin

Indicate missing rewrite rules

If a custom post type was registered or similar, but the rewrite rule is missing in the rewrite rules values, we should indicate as such.

List out permastructs

It would be useful if the rewrite rules page listed out all the various permastructs that WordPress is aware of like post permalink, category, tag, etc.

PHP strict on PHP 5.4.x

PHP 5.4.x is throwing a strict like this:

Declaration of Rewrite_Rules_Inspector_List_Table::single_row() should be compatible with WP_List_Table::single_row($item) on line 298 in file /var/www/clients/client1/web1/web/wp-content/plugins/rewrite-rules-inspector/rewrite-rules-inspector.php

Flushing does not flush missing rules

I've installed the plugin, but hitting the "Flush Rules" button just brings up the same screen that says:

Rewrite rules flushed.

Some rewrite rules may be missing, try flushing.

And all the missing rules re-appear...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.