Posts

Showing posts from July, 2015

Pagelines - Editor Icon Image not show (only show rectangle) fix

Image
Case study: I am doing development in my local machine.  Once it is done, I am copying my site from local machine to another machine. I copies all files to remote site, and copy all data from localhost MySQL to remote MySQL, with all domain information replaced using searchreplacedb2.php. However, when you complete all these, you will see the following error: failed to load resources (404): dms/fonts/fontawesome-webfont.woff2 dms/fonts/fontawesome-webfont.woff dms/fonts/fontawesome-webfont.ttf If you digg into the problem, you will most often see this solution: In .htaccess, add this line: Header set Access-Control-Allow-Origin "*" But to me, that doesn't work.  Because for some unknown reason, Pagelines in new server is referencing to a file in old server. How to fix? To fix this problem, look for this file: /wp-content/uploads/pagelines/editor-draft.css In this file, it will load the fontawesome font file, which it in