I’ve got a wordpress site and would like to create a website address like this and redirect to my new site, mysite.com/index.php?main_page=page_redeem

I have create the index.php and filename main_page=page_redeem, how can I link it together?i have tried the following code, but not working

<?php echo 'main_page=page_redeem'?>

Read more here: How to create this website address?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: