dump

Wordpress Plugin: WP htaccess Control

Ler este artigo em Português

This plugin comes as a solution for two problems I was facing.

First, wanting to have custom rules written on the same htaccess file Wordpress uses, even though respecting the tags # BEGIN Wordpress and # END Wordpress and writing my stuff before them, Wordpress just kept on rewriting them, sometimes removing them completely, others just corrupting the file and making the whole site inaccessible.

Then, the Custom Author Permalink plugin was in urgent need of some re-write as it was doing it the wrong way really, wasting resources and deactivating very disgracefully.

So I merged the two points in one and came up with this Wordpress plugin (which I’m already running as you’ll see below). The interface isn’t really in it’s final stage but the functionalities are there.

Releasing it as WP htaccess Control, it provides two functionalities:

  • Establish redirection pairs to be written into your htaccess file;
  • Customization of the Author Permalink Structure (or ‘base’), in a much better way than the Custom Author Permalink did.

The (current) admin page:

WP-htaControl

And the resulting .htaccess file:

WP-htaControl-htaccess

The installation is simple as usual, activate it then access the page under Settings to create redirection pairs or customizing the Author Permalink Base (optional).

The plugin is in it’s first stage, and although it is fully operational I soon shall update it an with improved interface (CSS e JS).

As always, feedback is appreciated.

Update:

WP htaccess Control is now hosted by the official Wordpress plugin directory, where you’ll always find its latest version.

The admin interface as of version 1.1:

Wp htaccess Control v.1.1

7 comentários a Wordpress Plugin: WP htaccess Control

  1. mattcav no dia 2 de Jul de 2009 às 11:40

    hi,

    i’ve found a problem with this plugin and my wordpress installation.
    the problem it’s about .htaccess and wp permalink core. when i enable WP htaccess Control, all my permalink give always homepage. the url changes, but page don’t load.

    check this discussion on wp support forum to know more:
    http://wordpress.org/support/topic/215237?replies=7#post-1123569

    if you want, you can write me and ask all you want know about.

    MC

    Não falo português mas eu entendo e qualquer um pode fazer a tradução das minhas respostas

    • dardna no dia 4 de Jul de 2009 às 2:55

      hey,
      thanks for the feedback.

      I went through the thread you pointed me and nothing that could help your situation comes to my mind right now. One thing you can have for sure: the Author Permalink part has nothing to do with the htaccess file or the httpd.conf; it is a rewrite of the WP internal permalink rules.

      I can not promise a quick solution but will sure look into that, I’ll be writing you an email when I get home.

      Also (could it be a plugin conflict?!), have you tried using ONLY WP htaccess Control, in a vanilla WP installation? And then, what other plugins are you using?

    • dardna no dia 6 de Jul de 2009 às 1:36

      (e-mail sent)

  2. konisto no dia 24 de Ago de 2009 às 1:16

    Hi,

    I tried your plugin but unfortunately it did not work. I’m using the “WP No Category Base” plugin to show my categories without a base before it and I believe that this is not compatible with your plugin…

    Feel free to write me for more info.

    Até logo!

    Philipp

  3. Philipp no dia 20 de Out de 2009 às 23:56

    Hi,

    I use your plugin and like it very much. I had problems at first but no it works fine…

    One issue I can’t seem to solve is that some rules don’t seem to work.

    I have a page at /suchen that returns my search results. now I would like to have a rule that says /suchen/search-word should be /suchen?q=search-word.

    I’m using ^suchen/([^/]+)/?$ to filter it, but it just doesn’t work. All I get is an 404… Any idea why that may be?

    Thanks a lot!

  4. anon no dia 18 de Nov de 2009 às 20:54

    Hi, thanks for the plugin. I’m wondering, what’s the easiest way to get the custom author base value from somewhere within one of my templates? I see your plugin only adds a rewrite rule and doesn’t alter the DB like your previous plugin, so I’m curious how you suggest this should be done. Thanks.

Deixar uma resposta

5 trackbacks

  1. dump » WP htaccess Control no dia 8 de Abr de 2009 às 2:52
  2. Editar el htaccess desde el panel de administración de Wordpress | Punto Geek no dia 13 de Abr de 2009 às 19:04
  3. WP .htaccess Control, edita el .htaccess sin FTP « [Ray] Page no dia 14 de Abr de 2009 às 16:26
  4. Modifica htaccess desde Wordpress - URIELMANIA no dia 14 de Abr de 2009 às 19:23
  5. WordPress Plugin Releases for 04/02 « Weblog Tools Collection no dia 5 de Fev de 2010 às 20:32