FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home » WordPress » WordPress RewriteRules Viewer

WordPress RewriteRules Viewer

WordPress RewriteRules Viewer » WordPress RewriteRules Viewer

WordPress RewriteRules Viewer

September 18th, 2007

Description | Download | Installation | Screenshots

Updated 3-31-08 for WordPress version 2.5

AskApache RewriteRules Viewer

Often I am programming a plugin, or modifying my .htaccess rules, or editing a WordPress template file and I get stuck when it comes to how WordPress rewrites url's internally. This simple plugin displays all the internal WordPress rewrites.

Please Backup your entire MySql Database before you ever mess with Permalinks or rewrites.

Description

WordPress Internal Rewrite RulesAskApache RewriteRules Viewer is a simple plugin that makes it easy for developers and code hackers to view the current WordPress RewriteRules at any time.

Download AskApache RewriteRules Viewer Plugin

  1. askapaches-rewriterules-viewer at wordpress.org

Installation

  1. Upload askapaches-rewriterules-viewer.zip to the /wp-content/plugins/ directory
  2. Unzip into its own folder /wp-content/plugins/askapaches-rewriterules-viewer/askapaches-rewriterules-viewer.php
  3. Activate the plugin through the 'Plugins' menu in WordPress by clicking "AskApache RewriteRules Viewer"
  4. Go to your Options Panel and open the "AA RewriteRules" submenu.

Screenshots

Plugin Default View
AskApache RewriteRules Viewer Plugin Panel

RewriteRules Output
WordPress Internal Rewrite Rules


http://www.askapache.com/wordpress/rewriterule-viewer-plugin.html#comments

Reader Comments

  1. Danial ~June 18, 2011 @ 1:23 pm
    I m trying to integrate my own php codes into my wordpress site, and I want to have some custom links for my php pages other than wordpress's permalinks. so is this possible through rewrite?
  2. Ryan ~October 21, 2010 @ 3:27 pm
    Nice plugin, did help me troubleshoot an issue. If only there was an edit mode where I could see a textbox with all the rewrite rules, I could manually remove (or add) any rewrite rules necessary and save it. BEcause I see the problem but that does not help me to fix it, instead I have to learn how to use the wordpress Rewrite Rules class and write a plugin that makes the changes for me. WOuld like to see future versions include a edit mode to make modifications easy.
  3. AL2Phoenix ~June 27, 2010 @ 4:17 am
    I can't see the .htaccess rewrite rule. I am running on WPMU 3.0. How would I be able to access it? Thanks in advance...
  4. Andy Mutt ~May 18, 2010 @ 8:23 am
    could someone please help me solving this problem i posted here: http://wordpress.org/support/topic/398667?replies=6
  5. Javed Shah ~May 6, 2010 @ 8:15 am

    thanks a lot, really needed this plugin :)

  6. James ~December 1, 2009 @ 10:52 pm
    This plugin used to be really useful; it showed the direct relationship between the URL regex and the path to which requests would be rewritten, side by side, like so: ([0-9]{4})/?$ == index.php?year=$1 [^/]+/attachment/([^/]+)/?$ == index.php?attachment=$1 [^/]+/attachment/([^/]+)/trackback/?$ == index.php?attachment=$1&tb=1 Since it was revamped for v3.1, I don't understand how it's useful anymore. It lists the pages to which WordPress will redirect, but not the corresponding regex paths that trigger those redirects. It lists a handful of trigger paths (doesn't show any of my custom rewrite rules like the old version), but doesn't list the pages to which they redirect. Maddening! At least I've still got a copy of 3.0 lying around that I can use.
  7. D-dig ~September 14, 2009 @ 3:05 am
    How to fix its?
    Permalink: /%postname%/
    Writable .htaccess file found
    mod_rewrite not found    Not using pathinfo style index permalinks
    Using mod_rewrite permalinks

    "Full Contents of your .htaccess file (Go Edit)" is blank

  8. dynamyt ~June 28, 2009 @ 12:33 pm
    nice plugin, have you just debug the rewrite.php?
  9. V.C ~May 12, 2009 @ 2:27 am
    Hi, nice post. I found your topic when I was looking for some opinions about permalink for SEO wordpress. I've wondering about it, so thank for writing.
  10. Sheila ~March 26, 2008 @ 1:03 am
    I am just setting up my blog with WordPress and am having nothing but problems. I downloaded your plug in, extracted everything into its own folder but when I go to the 'plugins' menu the plug in is not listed. Any ideas as to what I am doing wrong?
  11. Pin ~March 3, 2008 @ 9:42 pm
    Amazing, this plugin shows the wordpress rewrite rules pretty neat!
  12. Queue ~February 18, 2008 @ 10:11 pm
    Very useful wordpress plugin when trying to set permalink values... Thank you for your time with this plugin!
  13. Gregg ~February 7, 2008 @ 11:26 am
    First let me say I'm a bit of a rookie at this. I moved my blog from site.com/wordpress to site.com I have everything installed on the blog but don't know what to put to make it work. Do I have to plug in anything in the following:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    Thanks
  14. Plimper ~January 13, 2008 @ 6:22 pm
    Hello mate.This is a great plugin indeed. Do you know what is the meaning of this error? WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE object_id = 6320 ORDER BY term_taxonomy_id' at line 1] Kind Regards plimper.
  15. Rapidshare Bloggers ~January 13, 2008 @ 5:36 am
    Marvelous plugin for Web Masters ! 5 Stars !
  16. Web Hosting ~November 14, 2007 @ 11:15 am
    Hi, nice plugin. Thanks :-)
  17. AskApache ~November 1, 2007 @ 11:26 pm

    @ SAPHRUSER

    thanks for the heads up, I'm not sure what was causing my server to spit out information in a stream like that.. I fixed it by using the AddType directive in my .htaccess

  18. SAPHRUSER ~October 14, 2007 @ 5:09 pm
    thanks for the useful plungin :) FYI: the link to aa-rewriterules-viewer.rar download aint working.

Add Comment!

Leave a Reply

Your email address will not be published.


Google +

It's very simple - you read the protocol and write the code. -Bill Joy

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

Site Map | Contact Webmaster | Glossary | License and Disclaimer | Terms of Service |

↑ TOPMain