[wp-testers] Beta 2 and permalink structure

Luc Saint-Elie lstelie at gmail.com
Sat Nov 26 15:32:47 GMT 2005


Doug,

No they don't for two reasons :

1: some plugin add their rewrite rules INSIDE WP's one (for example ultimate
tag warrior ) si their rules are deleted by the new system
2: as the new system catches all request to index.php, the plug in rules
must be written in the htaccess file BEFORE wp bloc

I ended in a working htaccess by placing my plug in rule BEFORE wp's one
(and making UTW a complete set instead of a part of wp rewrite rule :

---------
# BEGIN FAlbum
AddType text/x-component .htc
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule
^photos/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?([^/]*)?/?$
/wp-content/plugins/falbum/falbum-wp.php?$1=$2&$3=$4&$5=$6&$7=$8 [QSA,L]
</IfModule>
# END FAlbum

# BEGIN UTW
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^tag/?(.*)/feed/(feed|rdf|rss|rss2|atom)/?$
/index.php?tag=$1&feed=$2 [QSA,L]
RewriteRule ^tag/?(.*)/page/?(.*)/$ /index.php?tag=$1&paged=$2 [QSA,L]
RewriteRule ^tag/?(.*)/$ /index.php?tag=$1 [QSA,L]
RewriteRule ^tag/?(.*)/page/?(.*)$ /index.php?tag=$1&paged=$2 [QSA,L]
RewriteRule ^tag/?(.*)$ /index.php?tag=$1 [QSA,L]
</IfModule>
# END UTW


# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>

# END WordPress

--------------------

2005/11/26, David House <dmhouse at gmail.com>:
>
> On 26/11/05, Luc Saint-Elie <lstelie at gmail.com> wrote:
> > I use Ultimate tag warrior that uses rewrite ruiles and doesn't work
> anymore
> > with the new htaccess
>
> It should. All plugins that use rewrite rules should still work, as
> long as they use $wp_rewrite and don't attempt to write to .htaccess
> directly. In fact, I have used UTW with the 1.6 rewrite rules, and
> everything works fine, so perhaps it's a bug at your end?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-testers/attachments/20051126/1be70844/attachment-0001.htm


More information about the wp-testers mailing list