Creating custom rewrite rules in wordpress.
-
Hi, I’m looking how to create custom rewrite rules.
I want to read info from a database and rewrite them into urls based on info supplied in get.1. How do I get the pagename parameter to be a certain value to get the database info?
2. How would i use the get?
3. How would I rewrite the urls?
For further clarification:
turn
/index.php?dctype=(1)&dcstate=(2)&dccity=(3)dcname=(4)&dcpage=(5)into
/(1)/(2)/(3)/(4)/(5)I want to use the WP_rewrite class, not the htaccess file.
Thanks in advance,
DCritic
- The topic ‘Creating custom rewrite rules in wordpress.’ is closed to new replies.