[wp-hackers] Need help with gallery plugin implementation
Robin Adrianse
robin.adr at gmail.com
Thu Mar 1 17:24:24 GMT 2007
Just wondering, but would it be easier to use WP_Rewrite to manage your
rewrite rules, or are you doing this outside of WP?
On 2/28/07, Pierre-Luc Auclair <p.lucauclair at heliosmulti.com> wrote:
>
> Hi, me again.
>
> It's mostly working the way I want it to. :)
>
> See: http://www.heliosmulti.com/plaplo
>
> The portfolio page is working correctly and I found
> the way to exclude a page from the wp_list_pages() function.
> Wrote functions similar to these but specific to my plugin and
> it's working pretty well.
>
> This time I'm having problems with the mod_rewrite stuff.
> I'm not very familiar with it and I can't get it to work.
>
> I tried hacking my .htaccess to this (I added only the last RewriteRule).
>
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /plaplo/
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /plaplo/index.php
> RewriteRule ^plaplo/portfolio/category/([A-Za-z0-9-]+)$
> /plaplo/portfolio?catslug=$1 [L]
> </IfModule>
>
> This should turn
> /plaplo/portfolio/category/foobar
>
> into
> /plaplo/portfolio?catslug=foobar
>
> right?
>
> Can someone help me on this please.
>
> Thanks,
>
> Pierre-Luc
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list