elementor / wp2static

WordPress static site generator for security, performance and cost benefits
https://wp2static.com
The Unlicense
1.43k stars 270 forks source link

Plugin does not work with My Private Site plugin #323

Closed internationils closed 5 years ago

internationils commented 5 years ago

Hello, I have a site set as a private site via the plugin jonradio-private-site/jonradio-private-site.php My Private Site | Creates a Private Site by allowing only those logged on to view the WordPress web site. Settings select the initial destination after login. | Version 2.14.2 | By David Gewirtz This means that only logged in users can see the site, everyone else gets a login page. I had set the "Basic Auth" user and passwd, but assume that they are for "Basic HTTP Auth" ? If so, I would rename that, to emphasize that it is the HTTP login and to differentiate it from a "Basic Site Auth". Do I have any way of exporting the site without opening it up to the world? I am essentially using a staging site to develop the content, and then want to FTP export it to a different (live) site name. Thanks Nils

leonstafford commented 5 years ago

Hi @internationils,

As mentioned on the other issue, you should be well served by http basic auth to keep the site private. WP2Static will support that with those fields you mentioned. I would suggest replacing the private plugin with a htpasswd based authentication. You could also add IP-restrictions as an extra level, if you're not changing IPs to often or have the ability to easily modify the whitelist yourself from any IP.

I prefer to do these measures at a lower level than WordPress.

Cheers,

Leon

internationils commented 5 years ago

OK, I switched to HTTP auth, that works, thanks.