WordPress.org

Ready to get started?Download WordPress

Forums

Convert static php and html pages to wp pages and keep same URL (3 posts)

  1. epitaph
    Member
    Posted 3 years ago #

    I have a couple of older well established small sites that have static .php and a few .html pages. I would like to convert these to WP but I would like to keep the original URLS. I can edit the page url but it ends in / I would like to make them end in .php or .html.

    I know that I can use a 301 redirect but would prefer not to as these pages are old well established and heavily linked to urls.

    Thanks

  2. keesiemeijer
    moderator
    Posted 3 years ago #

    Change your permalink structure to something like this:
    /%postname%.html/
    http://wordpresshero.com/tricks/add-html-extension-to-permalinks.html/

  3. stefkay
    Member
    Posted 3 years ago #

    How would you redirect .html files to /%postname%/?

    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic