We currently have four seven 10 tags that can cover the WP_Rewrite system:

I see "the rewrite system" as everything that replaces URLs of the form /index.php?category=fruit&postname=banana with pretty versions of the form /fruit/banana/. So both handling incoming URLs and generating "outgoing" links according to the pretty format can be covered. Incoming URLs can be handled in the mod_rewrite configuration of the server (or the equivalent on non-Apache servers), and/or in the WP::parse_request() function. The rewrite rules that are used are written using the WP_Rewrite class. "Outgoing" URLs are written by get_permalink() and friends. All of these functions have filters that allow you to modify every last detail. Getting the rewrite rules correct for an advanced setup (with custom taxonomies or plugins that want their own URLs) can be a difficult task, which is why it is important to collect these questions under the same tag.

is not correct, since the rewrites are not always stored in the server config but more and more in WordPress itself.
is actually just a (standardized) file for placing per-directory server configuration, but mostly used for rewrite stuff in WordPress. The convention on other sites is to use .
is currently the most used tag, but a permalink has a specific meaning in blogging, and most of these probably talk about the subset of pretty permalinks, which are implemented via the WP_Rewrite system.
is maybe the best catch-all name, but almost nobody used it until now, suggesting the "discoverability" of it is low. and should probably be synonyms.
is more popular than just - perhaps because people start typing url and then see the autocomplete?
and only cover a part of the whole system, and were not used that much until now.

Any suggestions for cleaning this up?

  • 1
    @Jan Fabry - You missed "url" (11), "url-rewriting" (32) and "urls" (16). Commented Jan 14, 2011 at 2:19
  • @Mike: Thanks, I added them. Even more factions, how am I supposed to get that bronze tag badge!?
    – Jan Fabry
    Commented Jan 14, 2011 at 7:27
  • Prepending mod-rewrite and htaccess doesn’t help anyone. Plus, it breaks with the convention on StackOverflow and ServerFault (I’m subscribed to these tags on [stackexchange.com][1]). URLs may be replaced with URIs to catch the usage of data-URIs. But this is probably needless. [1]: stackexchange.com
    – fuxia Mod
    Commented Feb 14, 2011 at 16:49
  • @toscho: You're right about [mod-rewrite] and [.htaccess], I updated my answer.
    – Jan Fabry
    Commented Feb 14, 2011 at 16:49
  • @Jan Fabry Strange … did you delete my answer to your suggestions?
    – fuxia Mod
    Commented Feb 14, 2011 at 17:21
  • @toscho: No, I thought it would be better as a comment on my answer. I asked a moderator to move it, but it ended up as a comment on the question, not on the answer.
    – Jan Fabry
    Commented Feb 14, 2011 at 18:09
  • @Jan Fabry Hm, I’ve written (and seen) it as an answer. Doesn’t matter anymore. What matters is that I didn’t get a notice about the process. Seems like a bug to me.
    – fuxia Mod
    Commented Feb 14, 2011 at 19:03
  • @Jan - Please define Rewrite System. ;)
    – hakre
    Commented Feb 15, 2011 at 11:34
  • @hakre: I added a definition, and I removed your suggestion to vote for [.htaccess] as a synonym of [htaccess], because it should be the other way around.
    – Jan Fabry
    Commented Feb 15, 2011 at 13:54
  • @Jan - all hard to understand what is synonym for what (probably it's easier on the page to describe what will be replaced with what because a synonym has no direction, a replacement has). Anyway, donkey doh. Please suggest, my rep is not enough for the moment.
    – hakre
    Commented Feb 16, 2011 at 8:43
  • @hakre: It seems my rep is also too low now (maybe it takes some time to recalculate after a retagging?). But that's why we can discuss it on the meta site, then a moderator can force the synonym and do a mass-retagging without us having to do this by hand.
    – Jan Fabry
    Commented Feb 16, 2011 at 9:48
  • @Jan - I think for that .htaccess / htaccess point it's pretty clear what to do. Can you poke a mod to just do it for that one so we can lighten the question a bit? With such a long list, we'll never find a solution at once. Thanks!
    – hakre
    Commented Feb 16, 2011 at 9:53

1 Answer 1


My suggestion would be:

Older suggestions:

  • As I could not suggest a synonym .htaccess -> htaccess I just changed it manually. It's only a small iteration but I hope it helps.
    – hakre
    Commented Feb 15, 2011 at 11:32
  • @hakre: I'm sorry I was not clear enough, but I mean that .htaccess should be the main tag, and htaccess should be a synonym, not the other way around. Thus if you type htaccess, you get .htaccess. This is how it is done on Stack Overflow and other sites.
    – Jan Fabry
    Commented Feb 15, 2011 at 11:35
  • @Jan - No problem. For htaccess I was able to suggest .htaccess as a tag synonym, please vote: wordpress.stackexchange.com/tags/htaccess/synonyms
    – hakre
    Commented Feb 15, 2011 at 11:37
  • @hakre: But that would be the other way around, it would make [htaccess] the main tag, not [.htaccess], like on other sites.
    – Jan Fabry
    Commented Feb 15, 2011 at 11:51
  • More to your answer: I think it's pretty good but the part about permalinks. The term has a specific use in context of WP of which the permalink by definition is only a subset - sort of.
    – hakre
    Commented Feb 16, 2011 at 9:54
  • @hakre: I was not sure about the permalinks myself. Can you write this out in a sort of "definition" (that we could later use for the tag wiki)? It was a good exercise when you asked me to define "the rewrite system"!
    – Jan Fabry
    Commented Feb 16, 2011 at 9:58
  • @jan - Permalinks is most often for WP users what was called "pretty" permalinks (ref) which is rewrite. I suggest to convert them into pretty-permalinks first and then see if that fits all occasions.
    – hakre
    Commented Feb 16, 2011 at 10:01
  • @hakre: But if they are "pretty permalinks", wouldn't they fall under the rewriting system, and thus be tagged with the outcome of this discussion ([url-rewriting] is my favorite now)?
    – Jan Fabry
    Commented Feb 16, 2011 at 10:05
  • @Jan - Because I could not answer that question to the full extend, the process of renaming (or better say to transpose) could clarify that. Some permalinks tagged question might still be left after that and we could still see the full picture because we have not merged into an already existing tag so far (which would destroy the information of origin).
    – hakre
    Commented Feb 16, 2011 at 10:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .