Redirection from page.php

  • 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.

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

You must be logged in to reply to this ticket.