• Hi! I got a little problem. I want to make it possible, that wordpress shows up a post if you use
    domain.de/postname/index.html AND
    domain.de/postname/

    I know that can make problems in the structure, but I use the blog only with unpaged articles and without any other stuff… very basic.

    How do I have to change the .htaccess to enable the permalinks like above?

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

    (@macmanx)

    Don’t use index.html. The blog posts are not HTML pages. They are dynamically generated PHP pages which render as XHTML. index.html will do nothing for you other than add ten wasted characters to your URL.

    Thread Starter Jensos

    (@jensos)

    I found a way for the index.html:
    RewriteRule ^([^/]+)/index.html?$ /index.php?name=$1 [QSA,L]

    …but how can I offer them as static html?
    Or should I use index.xhtml??

    Moderator James Huff

    (@macmanx)

    You can’t offer them as static .html, but you can offer them as cached pages. Use this plugin:

    http://mnm.uib.es/gallir/wp-cache-2/

    Your permalink structure should always end with a backslash or index.php, never with a .html or .xhtml extension.

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

The topic ‘Changeing permalinks into /%postname%/index.html’ is closed to new replies.