Help with relative paths after migration
Hello community, good morning! I need some help. I made a copy of a site and am working on it locally with WampServer.
Checking the database from phpmyadmin, I realized that all the image links, for example, still direct to the old absolute URLs like: img src=”http://mydomain.com/wp-content/uploads/etc etc”
My question is: is there a way to make WordPress change all existing paths to relative URLs like img src=”/wp-content/uploads/etc etc”? Or at least a way for WordPress to use relative paths from now on?
I already know the “wp_make_link_relative” function. What I really want is to modify the actual paths.
Thank you very much in advance for any suggestion!
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس