[wp-hackers] images in MySQL Wordpress databases?
Braydon
ronin at braydon.com
Sun Aug 7 13:22:23 UTC 2011
On 08/07/2011 06:03 AM, John Black wrote:
> On 7 Aug 2011, at 14:36, Braydon wrote:
>
>> Also, you could use .htaccess redirect rules for the wp-content/uploads directory of the old location to the new location? Would also keep existing links out you can't change working.
> I've heard that before, but how would it actually be done?
> The difference, in this case, is one directory, "wordpress".
Try adding something like this to your .htaccess or in your Apache
virtual host config:
RewriteRule ^/wordpress/wp-content/uploads/(.*)$
http://example.com/wp-content/uploads/$1 [L,R=301]
More information about the wp-hackers
mailing list