Redirections through php

#67755
  • Resolved Anand Gupta
    Rank Math free

    Hi,

    Can redirections be configured through php instead of using .htaccess file or nginx config ? I use nginx, and wouldn’t want to update config each time there is a redirect required. If its possible through php code, it would certainly be easier (though i understand it may be a little slower as php code execution is involved).

    Thanks

Viewing 1 replies (of 1 total)
  • Hi,

    Thanks for getting in touch with us.

    If you use Rank Math’s redirection module, you do not need to make changes to Nginx config or .htaccess files.

    You can do it within Rank Math:
    https://rankmath.com/kb/setting-up-redirections/

    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 1 replies (of 1 total)

The ticket ‘Redirections through php’ is closed to new replies.