Last active
March 20, 2016 19:22
-
-
Save inwdragon/b095db1923d3d3505171 to your computer and use it in GitHub Desktop.
Set url length on a wordpress site.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Last updated 2016-03-21 | |
URLENGTH_VERSION="0.1" | |
SFTP_VERSION="0.7.1" | |
WP_CONTENT_DIR='ls -l | grep wp-content' | |
chmod 777 wp-content | |
cd wp-content | |
chmod 777 plugins | |
cd plugins | |
git clone https://github.com/Inwdragon/urlength.git | |
cd urlength | |
git checkout tags/${URLENGTH_VERSION} | |
cd .. | |
cd .. | |
chmod 755 plugins | |
cd .. | |
chmod 755 wp-content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment