I developed a new website, building the wordpress install in a subdirectory /newtheme/, then when ready to launch moved the whole wordpress installation to the /wp/ folder. The .htaccess file was changed to rewrite urls to /wp/. Everything on the website now works fine except for the style of one call-to-action button. I finally tracked down the bad css to styling inserted by a SiteOrigin widget, which is still pointing to the former location. Like this:
.class-selector {background: url(http://www.mysite.com/newtheme/wp-content/plugins/siteorigin-panels/widgets/img/textures/dark-dashed.png);}
when it should read:
.class-selector {background: url(http://www.mysite.com/wp/wp-content/plugins/siteorigin-panels/widgets/img/textures/dark-dashed.png);}
What part of SiteOrigin is forcing the url to the old location?
Hi John,
To clarify, SiteOrigin Page Builder isn’t directly forcing it to reference the previous URL, it’s simply cached the CSS and just hasn’t updated since the move. To get it to regenerate try resaving the relevant widget or manually deleting the relevant stylesheet from wp-content/uploads/widgets-bundle/