[wp-hackers] Update Plugin Rewrite Rules
wphackers at jamietalbot.com
Fri Feb 3 01:20:05 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
> I try to semplify the question: it is possible in 2.0.1 to pass a
> variable to a Page in this way
> mysite.com/page-slug/var/ ???
> It is possible using rewrite rules? And in which way it is possible?
Yes, it is possible:
I can't explain it much more but you can see a demonstration here:
Look at the constructor which adds the filters, and the functions rewrite_rules() and query_vars();
Basically, I do exactly the same as that demo code, which works for me. I'm not sure why it's not
working for you, sorry.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the wp-hackers