Redirection from page.php

#83663
  • Resolved Vasiliy Lyakhov
    Rank Math free

    Hi!
    I making 301 redirect from /page1/page.php, to /page1/newpage/ but get 404 nginx error.
    On another site I have same redirections and have no error and this site located on the same server.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Could you please share the source and destination URLs in the sensitive section so we can test this. Please include a screenshot of the error you are facing too.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Looks like your .php files are setup to be handled by your web server instead of WordPress.

    Until you see the file getting processed by WordPress, Rank Math will not be able to create a redirect for it.

    Please ask your web host to change the way .php files are handled or use a .htaccess redirect for that type of redirect.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Redirection from page.php’ is closed to new replies.