Simply Static

Beschreibung

Simply Static ist ein Generator für statitische Websites aus WordPress, der dir hilft eine statische Website zu erstellen, die dann getrennt von deiner WordPress-Installation fungieren kann. Das bietet einige Vorteile. Einmal, dass es dir erlaubt WordPress in einer sicheren Umgebung zu belassen, zu der niemand außer dir Zugang hat. Und zweitens, dass deine statische Website wirklich, wirklich schnell sein wird.

Sicherheit

WordPress is used by one in four websites. That makes it a prime target for hackers. There are a lot of ways that your site can be compromised, but two-thirds of all hacks are caused by vulnerabilities in WordPress plugins, themes, and core files.

Ein sicheres WordPress erfordert konstante Wachsamkeit. In Themes und Plugins werden täglich schädliche Schwachstellen gefunden. Sogar WordPress selbst hat von Zeit zu Zeit kritische Schwachstellen. Wenn dann nicht die aktuellstes Updates eingespielt sind, ist es nur eine Frage der Zeit, wann die Website gehackt wird.

Aber was wäre, wenn es einen einfachen Weg gäbe, um WordPress sicher zu halten? Was wäre, wenn WordPress in einem geschützen Bereich wäre, wo niemand, außer dir Zugang hätte?

With Simply Static you can put your WordPress installation in a secure location and publish a static site for the rest of the world to see. You can keep WordPress at a secret URL, protect it with .htaccess, or even put it behind a VPN. Simply Static will create static copies of all of the pages from your WordPress installation and replace the URLs to match where you’ll be hosting it.

Leistungsfähigkeit / Performance

Jedes Mal, wenn eine einzelne WordPress-Seite aufgerufen wird, werden Datenbank-Abfragen gestartet, um Inhalte einzufügen und PHP-Code gestartet, um die Seite dann wiederzugeben. Diese Aktionen brauchen Zeit, um ausgeführt zu werden.

With Simply Static, you’re creating a static copy of all of your WordPress pages. That time to create each page is incurred once, when Simply Static runs. When someone visits your static site they can instantly receive the page because Simply Static already did the work of creating it.

Die Nutzung einer statischen Website kann die Performanche einer Website um das 10fache verbessern, abhängig von der Komplexität, des Themes und der Plugins der Website.

Other Similar Plugins

In the event that Simply Static doesn’t meet your needs, give this plugin a try:

It’s updated regularly and the author is responsive to support requests.

Screenshots

  • This is what the Simply Static Generate page looks like after you've generated your static files. While Simply Static is running, you can view it's progress in the Activity Log. Once Simply Static has finished running, we'll show you exactly which files we made a static copy of in the Export Log.
  • The Simply Static General Settings page. With the Destination URLs option you can select how you want URLs to show up on your static site. And for the Delivery Method you have the choice of creating a ZIP archive or saving the files to a directory on the server.
  • On the Include/Exclude page, you can select additional URLs, files, or directories to include in your static site. And you can also choose URLs (or URL patterns) to exclude from your static site.

Installation

  1. Log into your WordPress website.
  2. On the left menu, hover over Plugins and then click on Add New.
  3. In the Search Plugins box, type in „Simply Static“ and press the Enter key.
  4. You will see a list of search results which should include the Simply Static plugin. Click on the Install Now button to install the plugin.
  5. After installing the plugin you will be prompted to activate it. Click on the Activate Plugin link.
  6. The Simply Static plugin is now installed and can be found on the left menu.

oder

  1. Upload the entire simply-static folder to the /wp-content/plugins/ directory.
  2. Aktiviere das Plugin im Plugins-Bereich im WordPress Backend.

FAQ

Installation Instructions
  1. Log into your WordPress website.
  2. On the left menu, hover over Plugins and then click on Add New.
  3. In the Search Plugins box, type in „Simply Static“ and press the Enter key.
  4. You will see a list of search results which should include the Simply Static plugin. Click on the Install Now button to install the plugin.
  5. After installing the plugin you will be prompted to activate it. Click on the Activate Plugin link.
  6. The Simply Static plugin is now installed and can be found on the left menu.

oder

  1. Upload the entire simply-static folder to the /wp-content/plugins/ directory.
  2. Aktiviere das Plugin im Plugins-Bereich im WordPress Backend.
Was macht Simply Static?

Simply Static generates static (HTML) copies of your WordPress pages. It works a bit like a web crawler, starting at the main page of your website and looking for links to other pages to create static copies of. It also includes any images, CSS & JS files, and any other files that it can find a link to.

As Simply Static is creating the static pages, it will automatically replace the URLs for the WordPress installation with either (a) absolute URLs, at a domain of your choice or (b) relative URLs, so you can host the static files on any domain or (c) URLs constructed for offline use, so you can browse the site locally on your own computer.

Wer sollte Simply Static nutzen?

Simply Static is great for sites with no user interactivity, such as blogs (with comments disabled) or brochure-ware sites for small businesses (with no forms).

Gibt es irgendwelche Einschränkungen?

Yes. Simply Static is only able to create a static copy of an entire site. It cannot selectively create static copies of specific pages, such as recently added posts. This means that if you have a site with 20,000 posts, and you add a new post, Simply Static will create a static copy of all 20,001 posts. This, combined with the fact that the plugin doesn’t provide any kind of progress notification, means that Simply Static will provide a less-than-optimal experience for very large WordPress sites. We do plan to support very large sites eventually.

Wie richte ich Simply Static ein?

Let’s assume you presently have WordPress hosting a site at www.example.com, and that’s where you’d like to have your static site instead. Your first task is going to be to move your WordPress installation to a subdomain, such as wordpress.example.com. Once that is complete, you’ll set up www.example.com to receive your static files.

If www.example.com is on the same server as your WordPress installation, you can have Simply Static copy the static files to the directory that www.example.com is serving files from. If www.example.com is on a different server, you can download a zip of your static files and then upload them to www.example.com.

Kann dieses Plugin andere Plugins beeinträchtigen?

No, Simply Static will not interfere with other plugins. In fact, Simply Static works well alongside other plugins, such as plugins to improve your site’s SEO.

Simply Static creates a static copy of your website, which is just a collection of files: HTML, CSS, JS, images, etc. Any functionality that requires PHP code will not work with that static copy. That includes, but is not limited to: blog post comments, contact forms, forums, membership areas, and eCommerce.

Note that you can achieve much of this functionality by using plugins that interact with third-party services. For example, for blog post comments you could use Disqus and for forms you could use Wufoo.

Wie unterscheidet sich Simply Static von Caching Plugins?

Cache plugins — such as W3 Total Cache or WP Super Cache — make your existing WordPress site faster by caching pages as they’re visited. This makes your site much faster, but still leaves your WordPress installation accessible to the outside world. Unless you keep on top of updates, your WordPress installation can become vulnerable to hackers due to security vulnerabilities that are found over time.

Simply Static creates a static copy of your WordPress site that is intended to be used completely separately from your WordPress installation. Your WordPress installation lives on one server and your static site is served on a different server. Or, they’re both on the same server, but your WordPress installation is restricted to only allow access from certain ip addresses or with an additional username/password requirement. Your static site is just a collection of static files with no server-side code or database — nothing for hackers to hack — while your WordPress installation remains safe and secure.

Funktioniert Simply Static auf Windows Servern? Wie sieht’s mit WAMP aus?

Nein, wir haben keine Tests auf Windows durchgeführt und basierend auf Benutzer-Feedback, sieht es so aus, als ob es derzeit nicht auf Windows funktioniert.

Rezensionen

Works as should be expected

I have had this installed for months hoping to create static sites that could be loaded on AWS S3 storage, but was getting permission errors killing navigation. Not even sure at this moment which options for generation I used since I had tried all three several times. I think the errors were in AWS though, not in this plugin. Once I disabled and deleted the CloudFront distribution, and created the site again from scratch, it all worked fine… just took me nine months to get there. Now I have to go back and redesign my content, and remove the „comments“ field I left in one page. It fails with an ugly error, but, it’s explained, it doesn’t work because…. So, I am happy. 100% satisfied this tool does the job. A note on generation, turn off all your plugins, and if you’re using a packaged WP theme, you may have to change that based on the errors you see. Scrolling through the pages of what’s generated is a pain, sequentially, slowly, past all the successful 200 errors to get to the 300s and 400s… jump to the end, and scroll back, it’s quicker. It will reset to page one when the generation finishes, so you can’t look for too long. You could return, but at this point, I just loaded on AWS to see how it worked. It works great! Thank you.

unusable

I’m sorry, I generated the ZIP package several times on 2 WP sites. When calling the index file, the results was miserable.

This plugin does it right

This is simply a great plugin.

If you want to achieve an insane speedup in site load time, along with massive improvements in security and reliability, going static is pretty hard to beat (as long as you can get around the big caveat of not having dynamic server content).

This plugin just does everything right, from ease of use, to having basic HTTP authentication built in for your source WP site.

Many thanks!

Refreshing to find something that works!

Nice plugin although has not been updated for a while.

Did a test using standard WP install and an install with DIVI page builder. Both created the static pages really well. One drawback is that you have run it against the whole site, my suggestion would be to be able to run this just against a post type or a category / tag, etc. Would make exporting partial sites to static whilst the main site remaining.

I have written a much fuller review here:
View story at Medium.com

On the basis that 5 stars has to be ‚perfect‘ I have given this a 4 star rating. Mostly not because it does not work, but because you have to run this against your whole site. Quite frustrating when you realise you need to update a setting and run again. My tests ran and found it exported a page and a post in about 30 seconds, but assume there is a lot of startup time overhead with this.

Read the fuller review in the link above. I think this could be a great product to move people off WordPress or if you want to move part of your site to static pages whilst keeping WordPress for the CMS dynamic elements.

Remember that any dynamic stuff (like code running from PHP, etc.) will NOT convert to static pages and you will have to replace somethings which are dynamic and driven via php with additional code once exported.

Flawless!

When a client decided to move their site in house and sans WordPress, this plugin came to the rescue. The execution was flawless.

Thanks!

Lies alle 61 Rezensionen

Mitwirkende & Entwickler

„Simply Static“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Simply Static“ wurde in 2 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Simply Static“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Changelog

2.1.0, May 12, 2017

  • New: Added the ability to set a user/pass for HTTP Basic Authentication

2.0.7, April 7, 2017

  • Fix: Non-latin characters should no longer get converted to HTML entities (thanks xi80r6!)

2.0.6, April 4, 2017

  • Fix: Simply Static should now display a useful error message when using PHP <5.3

2.0.5, March 25, 2017

  • Fix: Fix for downloading 0-byte ZIPs (no Content-Length header)

2.0.4, March 25, 2017

  • Fix: Moving the default temp files directory back to within the plugin

2.0.3, March 16, 2017

  • Fix: Protocol-relative URLs now work again

2.0.2, January 18, 2017

  • Fix: Individual additional files are now properly included in static file generation
  • New: Added a diagnostics check to ensure that WordPress can make calls to itself

2.0.1, January 15, 2017

  • Fix: Removed Simply Static’s new error catching; was catching errors in other plugins

2.0.0, January 14, 2017

  • New: New logo/icon (thanks Hajo!)
  • New: Generate static files without having to stay on the Generate page (a job runs in the background)
  • New: Added the ability to specify URLs (or parts of URLs) to exclude from static file generation
  • New: Added a debugging mode with the ability to create/email a debug log
  • New: Added the ability to reset the plugin settings back to their defaults
  • New: Future versions will be able to downgrade to 2.0.0 (by overwriting files) without errors
  • New: Friendly error message if trying to use Simply Static with PHP < 5.3
  • New: Added support for Accelerated Mobile Pages (AMP) HTML attributes
  • Fix: URLs containing the WP URL as a query param will rewrite the param with the new URL
  • Fix: Non-WP URLs in the Additional URLs section no longer cause Simply Static to hang
  • Fix: Zip creation will no longer throw errors when trying to process 0 byte files
  • Fix: Fixed an issue that could cause Simply Static to not remove all files when uninstalling
  • Fix: Local directories are now always chmod’d to 0755 so that they’re readable
  • Fix: Additional errors will be caught and displayed when generating static files

1.8.0, November 01, 2016

  • Fix: XML pages (e.g. /feed/) now generate index.xml files
  • Fix: XML pages now replace URLs properly
  • Fix: No longer adding extra backslashes () to directories with backslashes
  • Fix: No longer adding extra slashes (/) on user-specified additional directories

1.7.1, October 21, 2016

  • New: Auto-adding wp-content/uploads as a directory to include files from
  • New: Usage of the mbstring PHP extension is now optional
  • New: Added links for support, rating, and changelog in the footer
  • Fix: Added protection for cross-site request forgery (thanks pluginvulnerabilities.com!)
  • Fix: Now sanitizing all user inputs
  • Fix: Locking down generation of static files to users with proper permissions
  • Fix: The check for trailing slash redirection now works with relative URLs
  • Fix: „Cannot redeclare class PclZip“ error should no longer occur

1.7.0, October 06, 2016

  • New: Destination URLs can now begin with // (in addition to http:// & https://)
  • New: You can now use relative URLs (instead of absolute URLs) for the static site
  • New: Now able to export a static site for use offline

1.6.3, September 23, 2016

  • Fix: Eliminated a security vulnerability in relation to zip downloads (thanks Bas!)
  • Fix: SQL diagnostic checks now work with wildcard permission grants (thanks Jon!)

1.6.2, July 14, 2016

  • Fix: Made a slight modification to the prior fix

1.6.1, July 14, 2016

  • Fix: No more „Call to a member function find() on a non-object“ error. Thanks jwatkins0101!

1.6.0, June 07, 2016

  • Improvement: The DomDocument PHP extension is no longer required (replaced by SimpleHtmlDomParser)
  • Fix: No longer creating empty html attributes
  • Fix: No longer throwing the ‚Function name must be a string‘ error in diagnostics. Thanks andrew-s!

1.5.1, June 05, 2016

  • Fix: Removing usage of composer, which was causing issues for certain PHP versions

1.5.0, June 02, 2016

  • Fix: The img srcset attribute now displays all urls (instead of only the last one)
  • Improvement: Less memory usage; less likely to exhaust allowed memory size
  • Improvement: Export log is now paginated / less likely to overwhelm your browser

1.4.1, April 28, 2016

  • Fix: Displaying exception messages instead of a generic error message

1.4.0, April 26, 2016

  • New: French translations. Thanks Pierre!
  • New: Diagnostics page displays pass/fail for everything needed for SS to run correctly
  • New: Auto-adding WP’s emoji url to Additional URLs
  • New: If a PHP error is encountered during processing it will be displayed
  • Improvement: If you can edit posts, you can generate a static site
  • Fix: Bad additional URLs could cause an infinite loop during static file generation
  • Fix: Unprocessable pages are now properly removed on subsequent static file runs

1.3.5, April 14, 2016

  • Fix: Simply Static was sometimes throwing an error on a certain WP action

1.3.4, April 14, 2016

  • Fix: URLs were not getting properly replaced

1.3.3, April 13, 2016

  • Fix: Attempt #3 at fixing Simply Static’s upgrading process :'(

1.3.2, April 12, 2016

  • Fix: Attempt #2 at fixing Simply Static’s upgrading process 🙁

1.3.1, April 12, 2016

  • Fix: Attempt #1 at fixing Simply Static’s upgrading process

1.3.0, April 9, 2016

  • New: Static archive creation handled via AJAX; PHP timeouts are a thing of the past
  • New: Activity Log – see what Simply Static is doing while it’s working

1.2.4, March 25, 2016

  • Fix: Link hashes (e.g. href=’#section-three‘) will no longer be rewritten as full URLs

1.2.3, March 8, 2016

  • Fix: http and https on the same domain are treated as the same site (no redirect files will be created)
  • New: Added support for the img tag’s srcset attribute, used for responsive images

1.2.2, January 26, 2016

  • Fix: Additional Files/Dirs now allows for usage of WP_PLUGIN_DIR and WP_CONTENT_DIR
  • Fix: Able to use WordPress‘ Export feature with Simply Static installed

1.2.1, January 18, 2016

  • Fix: index.html was not getting added to the static archive

1.2.0, January 16, 2016

  • New: The export log now lists off all URLs, their http status codes, and the first page it was linked from
  • New: You can specify additional files/directories to include in your static archive
  • Fix: Switched libraries for ZIP generation, which should reduce extraction errors

1.1.3, December 7, 2015

  • Fix: Able to fetch protocol-less URLs, e.g. href=’//example.com/image.png‘
  • Fix: Static files won’t be put in a subdirectory if your WP install is in a subdirectory
  • Fix: Able to download ZIP regardless of whether files are on an accessible path on the server
  • Fix: Escaped URLs, such as those used by WP’s concatemoji, are now properly replaced with Destination URLs

1.1.2, October 22, 2015

  • Fix: Now handling 302, 303, 307 HTTP codes for redirection in addition to 301
  • Fix: Redirection now properly handles relative URLs

1.1.1, October 9, 2015

  • Fix: No longer checking for valid SSL certificates on local requests (allows for self-signed certs to work)
  • Fix: No longer creating redirect HTML pages for WP’s 301 redirects from /path to /path/
  • Fix: Improved URL extraction from CSS files, particularly from larger files

1.1.0, October 6, 2015

  • New: Relative URLs in HTML and CSS files are now identified for static file creation
  • New: 301 redirects are now identified and an HTML page is created to handle the redirection
  • Fix: Repeatedly generating static files in a local directory should no longer throw errors
  • Fix: System requirements issues should no longer continue to display an error for one pageview past when the error is resolved

1.0.2, October 4, 2015

  • Fix: PHP 5.4 array initialization syntax caused errors in PHP <= 5.3

1.0.1, September 29, 2015

  • Fix: Settings/options are now deleted upon uninstallation

1.0.0, September 21, 2015

  • New: Initial release