No internet connection
  1. Home
  2. Support

Change URL structure: /page/index.html

By Woah @woah2019-01-22 13:42:49.411Z

Hi Guys,

First of all thanks for WP2Static!

Simple question: How can we change URL structure, because this structure is a bit wrong and would like to change it:

www.mywebsite.nl/pagename/index.html

to

www.mywebsite.nl/pagename.html

OR

www.mywebsite.nl/pagename/

and subpage

www.mywebsite.nl/pagename/subpagename/

Hope some one can help me to get it up and running?

Solved in post #2, click to view
  • 2 replies
  1. Leon Stafford @leonstafford2019-01-23 03:06:34.311Z

    Hi @woah,

    Thanks for trying the plugin!

    The 3rd URL structure you've listed is the default, domain.com/mypostname/.

    That is unless you're trying to make an Offline ZIP (for sharing on a USB stick or such). In this case, the /index.html is necessary, when there is no webserver serving the static files.

    Try unchecking that option and it should be fine.

    Here is the latest preview release, which gives you some more features and fixes quite a few issues:

    https://github.com/leonstafford/wp2static/releases/tag/next_release_preview

    It's still in testing, so please let me know any issues you encounter.

    Cheers,

    Leon

    ReplySolution
    1. WWoah @woah2019-01-23 12:48:50.143Z

      Hi Leon,

      Thanks for the fast reply, much appreciated!!

      I had it on subdirectory, but i just updated to the latest version, and it's working now without the index.html, so that's great :)!

      Thanks for the great plugin, and we are now ready to give it a go with a new live site.
      Will def support when all working fine,

      Cheers!