Support » Fixing WordPress » Way of getting custom url extensions for each page in a site.

  • geoffh

    (@geoffh)


    Hi,

    I have just installed WordPress 4.2.2 and would like to create WordPress site to replace an existing site page for page with its existing urls which are a mixure of .htm and .html extensions. Is there a way to get this version of WordPress to behave in this way?

    I did find this old plugin which did exactly this but it doesn’t work with this version of WordPress:
    http://www.daddydesign.com/wordpress/page-extension-wordpress-plugin/

Viewing 4 replies - 1 through 4 (of 4 total)
  • ItalyExpat

    (@italyexpat)

    1. Open your WordPress admin
    2. Go to Settings -> Permalinks
    3. Click the radio button next to “Custom Structure” to select it
    4. Enter this into the field:
      /%category%/%postname%.html
    geoffh

    (@geoffh)

    Thanks but some of the files are .htm and some are .html is it possible to set this independently some how for each individual page please?

    ItalyExpat

    (@italyexpat)

    You would need to create a custom plugin to do that.

    Why not just do 301 redirects to the new URLs? That would be the simplest solution and won’t harm your search engine rankings.

    geoffh

    (@geoffh)

    Thanks. I’ll give it a go.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Way of getting custom url extensions for each page in a site.’ is closed to new replies.