Rewrite url for existing page without flush_rewrite_rules


I have created pages with slug test123 and test234 in wordpress, I want to create a plugin that doing the following

  • when user request test123, and the content in test234 will be served instead.

I understand I can use the rewrite API but it is possible to do so without the need of flush_rewrite_rules? That is, without setting the rules in database?

, , Howard 4 years 2019-10-15T05:28:47-05:00 0 Answers 82 views 0

Leave an answer