Help! Uploads path issue after server move
-
Despondency setting in. Anyone who can suggest something I’m very happy to try things.
Here’s what I’ve done:
1) Update wordpress before move from 3.4.2 –> 3.5.2 (ALL WORKING FINE)2) Move to new server – blogs are working as expected (able to set up new ones fine), however, the paths to subdomain images are broken (i.e. I can upload images fine – but they are showing as broken at the front end and in the media library)
MY CHECKS
1) htaccess is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]
</IfModule># END WordPress
2) The URL to images is as anticipated – i.e. blog.domain/files/y/m/d/imageurl
3) Checked under Network Admin > Sites > [site] Settings to check the path to the actual blogs.dir folder is ok (where # is no. of blog)
wp-content/blogs.dir/#/files****
My backups for the site show htaccess as above. I’m not sure why the generated Network Setup htaccess code is as follows. I’ve tried substituting this code – and it makes no difference, though.RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]Once more… any help, much much appreciated. Mel
- The topic ‘Help! Uploads path issue after server move’ is closed to new replies.