FREE THOUGHT · FREE SOFTWARE · FREE WORLD

Home  »  WordPress  »  WordPress RewriteRules Viewer

by 34 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

  • http://www.saphruser.com SAPHRUSER

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

  • http://www.askapache.com/ 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 :-)

  • http://rapidsharebloggers.com Rapidshare Bloggers

    Marvelous plugin for Web Masters ! 5 Stars !

  • http://www.fullandfree.info 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 :)

  • http://promo-direct.blogspot.com Andy Mutt

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

  • http://nursing-resource.com 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.

  • http://www.butternjam.com 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?

  • http://URL 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...

  • http://wordpress.ibcbv.eu 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

  • http://ruthkusemiju.com 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

  • Pingback: WordPress固定链接的设置方法 让Nginx支持WordPress的固定链接 | 新的网

  • Pingback: 设置WordPress固定链接的方法 | 自由自在-迈进新时代

  • Pingback: {文章} | 网站}

  • Pingback: WordPress使用固定链接,美化地址 | 浮生一梦

  • Pingback: 关于WordPress固定链接 | 伊林花园

  • Pingback: Wordpress固定链接地址 |

  • Pingback: 使用WordPress固定链接 - 潜力WEB开发团队

  • Pingback: 使用WordPress固定链接

  • Pingback: wordpress固定连接的设置方法 | 给菲尔的一个惊喜

  • Pingback: WordPress如何使用固定链接 « 神经质的盛宴

  • Pingback: zh-cn:使用固定链接 | Kuroko Tetsuya

  • Pingback: 如何使用固定连接 | TransNet2014

My Online Tools
WordPress Sites

My Picks

Related Articles
Newest Posts
Twitter

  • The Hacker Playbook - very nice high level overview of attacks  t.co/lHwNVWi61u 
  • Clean Code - A Handbook of Agile Software Craftsmanship  t.co/hnJX0x1qIc 
  • Secrets of the JavaScript Ninja - By my absolute favorite JS hacker John Resig!  t.co/tZ42ljmcCl 
  • Hacking Exposed 7: Network Security Secrets & SolutionsMy all time favorite, basic but thorough and accurate.  t.co/jycW0RDVtZ 
  • Empty words will be no surrogate for cold resolve. Pain is nothing.  t.co/qXjpRxbjCw 
  • REVERSING: Secrets of Reverse Engineering  t.co/GaWo29lWWG 
  • NEUROMANCER  t.co/3OoknUcb5Z 
  • "The Shockwave Rider", by John Brunner (1975 hacker sci-fi)  t.co/ZW56HVUefW 
  • The Rootkit ARSENAL - Escape and Evasion in the Dark Corners of the System  t.co/1FzX6bHgsQ 
  • "We Are Anonymous - Inside the Hacker World of LulzSec, Anonymous, and the Global Cyber Insurgency" better be good!  t.co/GL0cFNiUOq 
  • THE IDEA FACTORY Bell Labs  t.co/FyVhgNwwT5 
  • The Datacenter as a Computer -- Urs Holzle  t.co/M5WIYs1OVg 
  • Now by Steven Levy, "IN THE PLEX"  t.co/PwxtLgqukG 
  • Dreaming in code.... So far, a little boring, but worth the read  t.co/hmeeOjIlfg 

Friends and Recommends
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.

| Google+ | askapache

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

↑ TOPMain