Support » Fixing WordPress » Redirect .php links to WP links

  • Hi,

    I’m migrating a static website with .php / .html pages to WP.
    How do I redirect xxx.php link to /xxx/ ?


Viewing 1 replies (of 1 total)
  • Update:

    I created a .php file with a header location 301 redirect but as default to WP, web requests are sent to WP engine which for obvious reasons does not find the .php link.

    I added redirection in nginx.conf & it worked but I do not want to tamper with the web server’s config file every now & then.

    The redirect plugins do not seem to address this issue.

    Any other recommendations?


Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.