Support » Plugins » Hacks » Append trailing .html on posts (on the fly)

Viewing 6 replies - 1 through 6 (of 6 total)
  • venkatachari


    [code moderated]



    venkatachari: Hm, yes? That was the plugin I was talking about in my post. I want to add .html on posts without changing the permalinks under ‘Settings’, not pages.

    / Anders


    I’m trying to accomplish the same thing, add .html to a post, but only one post.

    Did you find a resolution to your problem?



    >> add_filter(‘user_trailingslashit’, ‘no_page_slash’,66,2);
    What does 66 and 2 stand for here? Are these post Id’s? Can I add more here to exclude them from the .html extension?

    Hi Merl,

    no, the numbers have nothing to do with post ids. They’re to do with priority, and accepted arguments;

    @venkat Hi, thanks for that, but I am still stuck with an issue. My blog page is “” and it keeps adding the extension and makes it “”. Can you help me out with this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Append trailing .html on posts (on the fly)’ is closed to new replies.