Skip to content

Instantly share code, notes, and snippets.

@inwdragon
Last active March 20, 2016 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inwdragon/b095db1923d3d3505171 to your computer and use it in GitHub Desktop.
Save inwdragon/b095db1923d3d3505171 to your computer and use it in GitHub Desktop.
Set url length on a wordpress site.
# 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