WordPress.org

Ready to get started?Download WordPress

Forums

Really Static
[resolved] Links with //index.html and end and custom .html name files (5 posts)

  1. andremacola
    Member
    Posted 1 year ago #

    My links are generated with //index.html for exemple

    http://macola/site/2013/01/07/questionada-lei-sobre-empresa-publica-de-servicos-hospitalares//index.html

    It is possible to remove the //index.html? Or even better, the name of html be the slug? Ex:

    http://macola/site/2013/01/07/questionada-lei-sobre-empresa-publica-de-servicos-hospitalares.html

    Thks for the plugin =)

    http://wordpress.org/extend/plugins/really-static/

  2. Erik
    Member
    Plugin Author

    Posted 1 year ago #

    sure, it depends on your permalink settings.
    I think you set /%year%/%monthnum%/%day%/%postname%/ but you want /%year%/%monthnum%/%day%/%postname%.html :-)

  3. Erik
    Member
    Plugin Author

    Posted 1 year ago #

    :-)

  4. psteinweber
    Member
    Posted 1 year ago #

    Is there a way to remove the //index.html? I have it on all pages and posts, and it simply doesn't work like that. And I would prefer not having it called .html
    So http://www.example.com/about/ instead of http://www.example.com/about.html

    Thanks

  5. Erik
    Member
    Plugin Author

    Posted 1 year ago #

    if you want http://www.example.com/about/ instead of http://www.example.com/about.html than set inside wordpress permalink settings:
    /%postname%/ instat /%postname%.html

    The http://www.example.com/about//index.html normaly should be http://www.example.com/about/index.html . If you send me the debug data i can check your settings.

    The index.html on local urls ending with a / is default on really-static, because some not well configurated servers have problems if there is only a / and not a /index.html.
    alternative: http://really-static-support.php-welt.net/remove-index-html-extension-t14.html

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.