What still links to the old images?….
Are you saying that attachments (images in posts/pages) are being read from…
/wordpressinstall/wp-content/themes/theoldthemename/
Whilst WordPress itself is running the theme in..
/wordpressinstall/wp-content/themes/thenewthemename/
If you renamed the old theme folder already, then those links should already be broken according to your logic…
I’m just trying to clarfy….
I can help make you something if it’s a matter of updating several image entries in the database…
Thread Starter
tamia
(@tamia)
t31os:
Older images (those I had on the site before today) appear with a link like this one to a recent image:
http://www.tamiasoutside.com/wp-content/themes/paalam-11/img/panda1.jpg
but images which I will be downloading from today on will be like this:
http://www.tamiasoutside.com/wp-content/themes/paalam/img/IMAGENAME.jpg
I wanted to know if there was some way to link to the images I move from the old theme and put them in the new Img folder in the new theme, and remove the old theme (paalam-11) from my server. This would require redirecting ALL the images already in my posts and pages. Is there a way to redirect without manually changing every one of the posts and pages in the archives?
Thanks,
Tamia
Why can’t you rename the paalam folder to paalam-11 after the old one has been deleted? Also, it’s best to not keep all of your images in your theme folder due to any future theme switches. If you do want to change image URLs sitewide, see:
http://ww.wp.xz.cn/extend/plugins/search-and-replace/