i need to rewrite a custom URL
Question
i want to rewrite this url: example.com/ygal/1 to be pointed to: example.com/?vk_callback=1
add_rewrite_rule(‘^ygal/(d+)/’, ‘index.php?vk_callback=$matches[1]’, ‘top’);
I have press on save setting in permalink page to refreshing the data but is not working is just redirect to home page. any idea please?
0
links, pages, url-rewriting, urls
4 years
2020-06-06T11:11:08-05:00
2020-06-06T11:11:08-05:00 0 Answers
83 views
0
Leave an answer