Support » Plugin: Simply Static » index.html added at the end of all links

  • Resolved vegantraveler


    Hi, I have used this plugin for several years now, and is very useful, thanks for making it and keeping it alive.

    After recent updates, I noticed that all links have this “folder/index.html” at the end, and I wonder how could this affect page ranking when moving from dynamic to static and vice versa…

    I just reverted part of the site to dynamic (leaving most other parts as static) and noticed that google had indexed the reverted pages with the explicit “folder/index.html” at the end, and when clicking on them they appear as 404 as WP just references to “folder/”; and I believe this would also be the case with potential in-links from other websites.

    I think before this plugin added the links as “folder/” to allow for seamless transition from dynamic to static and back, without any change on structure/links.

    Is that possible to generate the static version with “folder/” references on the links?

    Thanks again for making such a useful plugin, where in your page can one send a donation?, I could not find it.

Viewing 1 replies (of 1 total)
  • Plugin Author patrickposner


    Hey @vegantraveler,
    Simply static only includes an index.html file when it's a page/post or something related, but not if it's only a folder without any content. That has not changed over the years.
    On your WordPress website it's handled the same way, the only difference is your config file (.htaccess/nginx.conf) which rewrites the URLs for you.
    So, when you using a normal web server for your static page (instead of something like Github, Netlify..) you can create a .htaccess file and implement the same rewrite for your static website.
    Best regards,
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.