Created
December 22, 2015 22:51
-
-
Save elzii/d60c93934a82ce7dadc4 to your computer and use it in GitHub Desktop.
Redirect Wordpress uploads/ directory to production via .htaccess
This file contains hidden or 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
# add this to .htaccess | |
RedirectMatch 301 /wp-content/uploads/(.*)$ http://example.com/wp-content/uploads/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Like!