Skip to content

Commit 976ebc1

Browse files
committed
Merge pull request #137 from UmeshSingla/patch-1
Fixed issue #135
2 parents c602003 + 7a5a5c9 commit 976ebc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

usr/local/sbin/easyengine

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,11 @@ EEWPDBSETUP()
10201020
wp core install --allow-root --url=$WWWDOMAIN --title="$WWWDOMAIN" \
10211021
--admin_name=$WPADMINUSER --admin_password=$WPADMINPASS --admin_email=$WPADMINEMAIL &>> $INSTALLLOG \
10221022
|| OwnError "Unable To Create WordPress Tables For $DOMAIN"
1023+
1024+
# Update WordPress Permalink Structure, Day and Postname
1025+
echo -e "\033[34mUpdating WordPress Permalink, Please Wait...\e[0m"
1026+
wp rewrite structure /%year%/%monthnum%/%day%/%postname%/ \
1027+
|| OwnError "Unable To Update WordPress Permalink For $DOMAIN"
10231028
}
10241029

10251030
EEPERMISSION()

0 commit comments

Comments
 (0)