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
# Example: | |
# OLD URL: http://website.com/xxx/yyy/picture.png | |
# NEW URL: http://website.com/wp-content/picture.png | |
# So, I want to replace /xxx/yyy/ with the normal /wp-content/ path of WordPress. | |
# Put this in your .htaccess file. | |
RewriteEngine on | |
RedirectMatch 301 /xxx/yyy/(.*) http://website.com/wp-content/$1 |
OlderNewer