• Hi,

    I’ve changed the permalink structure to:
    /%year%/%monthnum%/%day%/%postname%

    Is it possible to put “.html” on the end, for cosmetic reasons?

    Many thanks,

    Froskoy.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator James Huff

    (@macmanx)

    Yes, you could do this:

    /%year%/%monthnum%/%day%/%postname%.html

    Thread Starter Froskoy

    (@froskoy)

    Many thanks for the reply but that doesn’t appear to work.

    The text that I now have in the custom structure is:
    /%year%/%monthnum%/%day%/%postname%.html

    but no .html appears on the end of the URI.

    What could be the problem?

    Many thanks again,

    Froskoy.

    Moderator James Huff

    (@macmanx)

    Was WordPress able to automatically update the .htaccess file after you saved, or did it provide manual instructions?

    Thread Starter Froskoy

    (@froskoy)

    WordPress was able to automatically update the .htaccess file after I saved.

    If I click on any of the common settings, the changes are implemented, it’s only the .html that doesn’t show up at the end of the custom structure.

    Many thanks!

    Moderator James Huff

    (@macmanx)

    Would you mind posting the contents of your .htaccess file on the pastebin?

    Thread Starter Froskoy

    (@froskoy)

    Of course – thank you very much:
    Here it is:
    http://wordpress.pastebin.com/MB7re9QK

    Moderator James Huff

    (@macmanx)

    Well, it looks right.

    Now I’m wondering if a plugin or theme is interfering.

    Try temporarily deactivating all plugins, switch to the Twenty Ten theme, and save your permalink structure again.

    If that works, you should be safe to re-activate your plugins and switch your theme back.

    Thread Starter Froskoy

    (@froskoy)

    Thanks again for the reply.

    I’ve deactivated all plugins and switched back to the twenty ten theme. I then saved the permalink structure but still didn’t work.

    I also cleared the browser cache and then tried changing to IE just in case it was a browser issue – but to no effect.

    Any ideas?

    Moderator James Huff

    (@macmanx)

    No, I think I’m fresh out of ideas. πŸ™

    Are you using any caching plugins at all? If so, you sometimes have to delete the cache directory after deactivating the plugin.

    Thread Starter Froskoy

    (@froskoy)

    OK – thanks very much for all your help. Shame we couldn’t find what it was.

    Do you reckon reinstalling WP would help?

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

The topic ‘Custom permalink structures’ is closed to new replies.