php - Wordpress all image's path change -


in wordpress site has changed , images of website , blogs not displaying instead image not found appearing.

after checking images path found below single image.

<img src="http://www.kasthuri.com/blog/wp-content/uploads/2012/02/mysql_logo.png" title="mysql_logo" alt="" data-imgh="340" data-imgw="930"> 

actually wrong, (path) should following http://www.azraar.com/wp-content/uploads/2012/02/mysql_logo.png (/blog/ omitted)

then point correct image. wondering how can change entire images in website load without /blog section in image path.

i checked db of wp.. found postmeta table contains these images paths info doesnt contain in entire paths.. has images.. 2012/02/mysql_logo.png

any workaround ?

i think site url changed from

http://www.kasthuri.com/ 

to

http://www.kasthuri.com/blog/ 

so, changing site url may solve problem.

read http://codex.wordpress.org/changing_the_site_url

in database found in wp_options table


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -