htaccess change not taking effect.
-
Hello, everyone, I have a multisite where my sites are saving all media files, but they are not showing up and the path is different.
The site settings are to save each upload to:
wp-content/blogs.dir/#/filesInstead, each media upload is calling sitename/files/year/month/filename
I changed my .htaccess file to the following line under #Uploaded Files, but the files continue to go to the wrong page.
What am I doing wrong? Do I need to restart something in WordPress or should the change take effect immediately?
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /manage/ RewriteRule ^index\.php$ - [L] #Uploaded Files RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-content/blogs.dir/N/files/$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . /manage/index.php [L] </IfModule>
Thank you for your help in advance.
Bruce
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘htaccess change not taking effect.’ is closed to new replies.