WordPress.org

Forums

HELP: Rewrite rules won´t work after WP generation (2 posts)

  1. slyedtech
    Member
    Posted 9 years ago #

    I´ve read all about "About permalinks" in Codex. I tried to request some help here in the forums, in both threads (see them in http://wordpress.org/support/profile/21486)

    I´ve noticed that my WordPress 1.5.1.2 won´t generate a working permalink structure in .htaccess. I´m using a structure like

    /archivos/%year%/%monthnum%/%day%/%postname%/

    After a deep inspection in .htaccess I´ve noticed that WP does not generate rules for all rewriting posibilities

    /archivos/%year% Works fine. Example: http://www.sahw.com/wp/archivos/2005

    /archivos/%year%/%monthnum%/ Works fine. Example: http://www.sahw.com/wp/archivos/2005/06/

    /archivos/%year%/%monthnum%/%day% Works fine. Example http://www.sahw.com/wp/archivos/2005/06/01

    /archivos/%year%/%monthnum%/%day%/%postname%/ WON´T WORK. Example: http://www.sahw.com/wp/archivos/2005/06/01/criptored_resumen_mes_de_mayo_de_2005/

    At this point, I´ve checked Rewrite rules. You can see them in PasteBin

    I suspect that WP does only generate /archivos/%year%/%monthnum%/%day%/ structure, as %postname% is not listed in my WP .htaccess file.

    I used to have ([_0-9a-z-]+) syntax in my former WP 1.2 rules, and I can´t see this alphanumeric with _ and - post title rule in the file Worpress generates.

    Could someone provide me with a working WP 1.5 .htaccess rules for /archivos/%year%/%monthnum%/%day%/%postname%/ structure?

    Thanks in advance

  2. slyedtech
    Member
    Posted 9 years ago #

    SOLUTION to this issue:

    Via #wordpress IRC at freenode, skippy and Firas helped me finding a solution.

    The problem was found in a plugin that was running in my previous version (1.2.2). This plugin was causing all problems described.

    This plugin, called Sanitize MT style, was intented to sanitize post titles, giveing them MT style (_ instead of - in post title breaks)

    The plugin is available at http://www.100px.com/100wordpress/categoria/plugins/

    Once deactivated, site is running perfectly.

Topic Closed

This topic has been closed to new replies.

About this Topic