[wp-hackers] Need help with gallery plugin implementation

Pierre-Luc Auclair p.lucauclair at heliosmulti.com
Thu Mar 1 21:13:12 GMT 2007


Unforfunately that ain't doing anything either. 
I'll read up the wp_rewrite documentation and try
to get something out of it.

Pierre-Luc

On 1 March 2007, Martin Fitzpatrick wrote:
> On second look the Rewrite Rule itself is broken:
>
> RewriteRule ^plaplo/portfolio/category/([A-Za-z0-9-]+)$
> /plaplo/portfolio?catslug=$1 [L]
>
> Should be:
>
> RewriteRule ^plaplo/portfolio/category/([A-Za-z0-9]+)$
> plaplo/portfolio?catslug=$1 [L]
>
> Note that you have an additional "-" at the end of the URL definition
> and an additional "/" at the beginning of the destination URL. That
> "/" is only required for a rule which redirects (put a "R," in the
> bracket at the end ( ie. [R,L] ) and you'll see what the rewrite is
> doing.
>
> Can't help with WP_Rewrite but here is some info:
> http://wordpress.org/tags/wp_rewrite
>
> Martin




More information about the wp-hackers mailing list