braiiins
08-02-2009, 07:57 PM
Working on a friend's site and need some help.
She set up a redirect for her WordPress from herdomain.com to wp.herdomain.com. Images from here on out in posts are setting themselves up fine when inserting them into posts, but images in all past posts won't redirect to wp.herdomain.com/wp-content/ as they are supposed to. I tried setting up redirects in .htaccess to redirect the whole folder from herdomain.com/wp-content/uploads/ to wp.herdomain.com/wp-content/ but it isn't working.
I'll be honest in saying I don't know much, if anything, about this stuff, so I honestly don't know if I'm doing it right, but I know it isn't working.
Now we could go into every post and change the img src manually, but there's over 1600 posts, so it would take days, and her new site launches tomorrow. There's also more than just images in the folder, and it's quite messy, so I'm not sure how she set everything up... I just want to make sure that everything redirects to the subdomain.
Is there anything I can put into .htaccess to alert the site that it's supposed to be loading through the subdomain now?
Thank you for any help in advance!
She set up a redirect for her WordPress from herdomain.com to wp.herdomain.com. Images from here on out in posts are setting themselves up fine when inserting them into posts, but images in all past posts won't redirect to wp.herdomain.com/wp-content/ as they are supposed to. I tried setting up redirects in .htaccess to redirect the whole folder from herdomain.com/wp-content/uploads/ to wp.herdomain.com/wp-content/ but it isn't working.
I'll be honest in saying I don't know much, if anything, about this stuff, so I honestly don't know if I'm doing it right, but I know it isn't working.
Now we could go into every post and change the img src manually, but there's over 1600 posts, so it would take days, and her new site launches tomorrow. There's also more than just images in the folder, and it's quite messy, so I'm not sure how she set everything up... I just want to make sure that everything redirects to the subdomain.
Is there anything I can put into .htaccess to alert the site that it's supposed to be loading through the subdomain now?
Thank you for any help in advance!