@kopepasah
Active 3 months, 1 week ago
-
Justin Kopepasah started the topic Groups Query String for WP Rewrite in the forum How-to & Troubleshooting 8 years, 10 months ago
I am trying to add a new rewrite for a group (e.g. groups/sports_tennis) and having trouble finding the proper query string for
$rewrite
portion ofadd_rewrite_rule()
.Here is an example:
add_rewrite_rule( 'groups/sports-tennis', 'index.php?pagename=groups/sports_tennis', 'top' );
Obviously
pagename
does not work, but this is similar to what…[Read more]