font css files generating wrong urls


I recently changes wordpress directory. Initially it was mysite.tld/blog/ (base path /home/users/me/mysite/blog/)

Now I changed it to mysite.tld/ (base path /home/users/me/mysite/)

So css files generated under wp-content/fonts showing wrong url
The url is like src: url(/home/users/me/mysite/blog/wp-content/fonts/lato/*.woff2) format(‘woff2’);

I deleted all css files under fonts folder still new generated css files showing above wrong url.

I am not sure what is happening. I changed urls in database from mysite.tld/blog to mysite.tld



This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer