Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rewrite_medical_url() {
- add_rewrite_rule( '^medical/[^/]+/([^/]+)/?', 'index.php?location=$matches[1]', 'top' );
- }
- add_action( 'init', 'rewrite_medical_url' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement