Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $post = get_post(get_the_ID());
- $post_name = $post->post_name;
- header( 'Location: ' . get_site_url() . '/forum/forum-category/' . $post_name ) ;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement