Hello,
We apologize for the issue you are facing with the redirections after moving your site to WordPress. To set up a redirection for .php URLs like /about-us.php to the new WordPress pages, you can use the Rank Math plugin to create a manual redirection. Here’s how you can do it:
-
Navigate to Redirections: Go to your WordPress Dashboard and click on Rank Math SEO → Redirections.

-
Add New Redirection: Click on the Add New button at the top of the page.

-
Set Source URL: In the Source URL field, enter /about-us.php. You can also add other .php URLs that need redirection.

-
Set Destination URL: In the Destination URL field, enter /about (the new page).
-
Choose Redirection Type: Make sure to select 301 Permanent Redirect as the type of redirection.
-
Save Changes: Finally, click on the Save Changes button to apply the redirection.
By following these steps, you should be able to redirect .php URLs to their corresponding new WordPress pages effectively. If you have any further questions or need additional assistance, please feel free to reply to this ticket, and a human agent from our support team will assist you further.
Hello,
Thank you for contacting us. We apologize for any inconvenience this issue may have caused.
Please ensure you are using the latest version of the plugin on your site.
Please share the full details of the faulty redirection with us; the source URL, redirection type (exact, regex, contains, etc), and destination URL.
We look forward to hearing back from you.
Thanks.
Hello,
Yes, your server is handling the 404 for that file extension, and it never reaches WordPress where Rank Math redirects are created.
In this case, you may get in touch with your web host for assistance in managing redirects for .php or any other file extensions on your site.
Looking forward to helping you.
I’m on Nginx, is there any additional steps required from RankMath?
Hello,
No, there are no steps required in Rank Math for this kind of redirection.
You can ask your web host if they can adjust the configuration for the 404 in your Nginx server so they reach the WordPress redirections.
Looking forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.