WordPress.org

Forums

Add .html and index.html to all pages (4 posts)

  1. simpleXX
    Member
    Posted 1 year ago #

    Hi,
    how can i change the Permalink structure to this?

    - http://mysite.com/index.html
    - http://mysite.com/category/index.html
    - http://mysite.com/category/postname.html
    (works, i use /%category%/%postname%.html)
    - http://mysite.com/searchword/index.html

    Thanks in advance

  2. simpleXX
    Member
    Posted 1 year ago #

    not possible? :/

  3. C W
    Member
    Posted 1 year ago #

    WordPress page generation doesn't work like that. And I don't personally know how you'd simulate it.

    I think there's a more important question, though: why you are trying to do this? I am aware that some people have got the idea into their heads that it's better from an SEO perspective to have a .html file extension at the end. If this is your reason, then you should know that it is a total myth supported by zero evidence.

  4. simpleXX
    Member
    Posted 1 year ago #

    Hi Cyril,
    thanks for the fast answer!

    If this is your reason, then you should know that it is a total myth supported by zero evidence

    Yes, this is the reason.
    The customer want this and he allow no argument :/

    Hope someone has a good solution for this.

Topic Closed

This topic has been closed to new replies.

About this Topic