Browse Source

create the .htaccess file

Girish Ramakrishnan 8 years ago
parent
commit
00b2f5e2cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      start.sh

+ 1 - 1
start.sh

@@ -43,7 +43,7 @@ if [[ ! -f "/app/data/.dbsetup" ]]; then
 
 
     # Set default post structure to what most people want
     # Set default post structure to what most people want
     # Curiously, installing some plugins prevents .htaccess getting written
     # Curiously, installing some plugins prevents .htaccess getting written
-    $WP rewrite structure '/%postname%/'
+    $WP rewrite structure '/%postname%/' --hard
 
 
     touch "/app/data/.dbsetup"
     touch "/app/data/.dbsetup"
 else
 else