[wp-testers] Beta 2 and permalink structure
Owen Winkler
ringmaster at midnightcircus.com
Mon Nov 28 14:08:06 GMT 2005
Luc Saint-Elie wrote:
> 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
The issue is that FAlbum shouldn't be doing what it's doing. Rather
than writing new rewrite rules to the .htaccess, it should use WP's
built-in rewriter to manage those custom URLs. This is most certainly a
glitch in the plugin, not WordPress, and the author should be notified
of this better way to rewrite URLs.
UTW should already be doing this, so I'm kind of surprised that you need
those rules in your .htaccess in order for it to work.
In either case, the Codex page for how to use the internal rewriter is
less than sufficient. Being one of the more complex chunks of code in
WordPress (this, I think, understates the matter) a simple set of
instructions for implementing custom URLs via plugin would be useful.
Specifically:
* How to add and respond to new URL endings:
http://example.com/2005/11/28/my-slug/incoming-links
* How to add and respond to fully custom URLs:
http://example.com/outgoing-links/foo.com
Ryan has pointed out the sample
(http://boren.nu/downloads/feed_director.phps) that half handles the
second item, since it rewrites only to existing valid WordPress
features, not to custom plugin handlers. The first item is (as far as I
am aware) undocumented/unimplemented. Is it even possible?
Owen
More information about the wp-testers
mailing list