FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home  »  WordPress  »  WordPress RewriteRules Viewer

by 26 comments

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

Tags

September 18th, 2007

Comments Welcome

  • SAPHRUSER

    thanks for the useful plungin :)
    FYI: the link to aa-rewriterules-viewer.rar download aint working.

  • AskApache

    @ 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

  • Web Hosting

    Hi, nice plugin. Thanks :-)

  • Rapidshare Bloggers

    Marvelous plugin for Web Masters ! 5 Stars !

  • Plimper

    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.

  • Gregg

    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

  • Queue

    Very useful wordpress plugin when trying to set permalink values... Thank you for your time with this plugin!

  • Pin

    Amazing, this plugin shows the wordpress rewrite rules pretty neat!

  • Sheila

    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?

  • V.C

    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.

  • dynamyt

    nice plugin, have you just debug the rewrite.php?

  • D-dig

    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

  • James

    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.

  • Javed Shah

    thanks a lot, really needed this plugin :)

  • Andy Mutt

    could someone please help me solving this problem i posted here: http://wordpress.org/support/topic/398667?replies=6

  • AL2Phoenix

    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...

  • Ryan

    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.

  • Danial

    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?

  • Frank Indelicato

    Thank you for this plugin. I am studying how to implement taxonomies and this plugin is helping me to understand the rewrite system...

  • Johannes

    Having problems with Apache 2.2 getting links to work. Probaly .htaccess or httpd.config problems. Thanks for the plugin,
    Johannes

  • Charles Dow

    Error occurred on installation. Note using local server.

    Notice: Undefined index: Plugin URI in ../askapaches-rewriterules-viewer/askapaches-rewriterules-viewer.php on line 376

  • Ruth

    My permalinks custom structure duplicates my site url before it shows the category and post name.. what do i do about this? Would appreciate any assistance on this matter. Thank you

  • Rafael

    I'm using "etc/apache2/sites-available/default" for settings and "mod_rewrite" instead htaccess and. Will your plugin work with my config?

    Thank yo


Related Articles


My Online Tools
Popular Articles


Hacking and Hackers

The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean someone who loves to program, someone who enjoys playful cleverness, or the combination of the two. See my article, On Hacking.
-- Richard M. Stallman









[hide]

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.

+Askapache | askapache

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

↑ TOPMain