Media Redirect .htaccess
-
I have a brand new wordpress multisite install.
I have migrated some old sites over to the new site.
I noticed that on my old site I had used the following to redirect to the directory: /public_html/wp-content/blogs.dir/2
After installing a brand new install my sites are now located here:
/public_html/wp-content/uploads/sites/2On my old .htaccess file I used this to perform the redirect:
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]However on my new install this does not seem to work and I do not see any upload file rewrite rules in my .htaccess files.
Currently This Image Works:
https://zombieprepkit.com/wp-content/uploads/sites/17/2013/09/randombutton.png
But It Needs To Look Like This:
https://zombieprepkit.com/files/2013/09/randombutton.pngHow do I make this happen with a brand new install?
Thanks!
- The topic ‘Media Redirect .htaccess’ is closed to new replies.