Tag Info

New answers tagged


I'm guessing that you have do have duplicates - duplicate permalinks, not necessarily duplicate titles per se. Have you trashed some posts with duplicate permalinks? Until you empty the WP trash, WP still considers their slugs in use. Also, what about Custom Post Types?


Found the solution! I was trying to over complicate things. The best method I've come up with is: $users=get_page_by_title('users'); $about=get_page_by_title('about'); add_rewrite_rule('^users/([^/]*)$','index.php?page_id='.$users->ID.'&username=$matches[1]','top'); ...

Top 50 recent answers are included