WordPress simple Url Rewrite

Theme’s functions.php is not the best place to do these sort of URL rewrites. Why?: because in that case WordPress will be fully loaded and then redirected to a new link and then fully loaded again to show the page. That’s a lot of delay for a page view. Instead of that, you may use … Read more

One off rewrite for single post-type slug (show normal page with same URL instead)

I installed Monkeyman Rewrite Analyzer https://wordpress.org/support/plugin/monkeyman-rewrite-analyzer/ which helped a great deal. I saw this referenced on Jan Fabry’s detailed answer on this post which also helped me. First thing that I found out with the plugin was that my rewrites weren’t actually getting added; they didn’t appear in the logic. It turns out the add_rewrite_rule() … Read more