Skip to content

Commit

Permalink
enable wp rewrite flush using --hard
Browse files Browse the repository at this point in the history
Thanks to @XedinUnknown
  • Loading branch information
flurinduerst committed Aug 22, 2017
1 parent 4d23cb9 commit 1ec57ff
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

# CHANGELOG

## HEAD | 2.1.1 | 21.06.2017
* add `--hard` to rewrite flush to make sure .htaccess file is generated (Thanks to @XedinUnknown)

## 2.1.0 | 21.06.2017
* update setup for Scotch Box 3.0 (re-install WP-CLI for php7)
* update default plugin list: remove yoast, add the-seo-framework (see https://roots.io/weve-migrated-from-yoast-seo/)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
![Screenshot](http://files.flurinduerst.ch/wpdistillery/wpdistillery_logo.png)

**Version 2.1.0** (21.06.2017) - fully compatible with Scotch Box 3.0
**Version 2.1.1** (22.08.2017)

Since V2.1.0 WPDistillery is fully compatible with Scotch Box 3.0

[wpdistillery.org](https://wpdistillery.org)

Expand Down
4 changes: 2 additions & 2 deletions wpdistillery/wpdistillery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Author: Flurin Dürst
# URL: https://wpdistillery.org
#
# File version 1.7.0
# File version 1.7.1

# ERROR Handler
# ask user to continue on error
Expand Down Expand Up @@ -92,7 +92,7 @@ if $CONF_setup_settings ; then
wp option update timezone_string $CONF_timezone
printf "» permalink structure:\n"
wp rewrite structure "$CONF_wpsettings_permalink_structure"
wp rewrite flush
wp rewrite flush --hard
printf "» description:\n"
wp option update blogdescription "$CONF_wpsettings_description"
printf "» image sizes:\n"
Expand Down

0 comments on commit 1ec57ff

Please sign in to comment.