Icon font not working on subdomains of multisite

The problem: Console log: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at xxx. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). The solution: Add the following header to your .htaccess file: # https://wordpress.org/support/topic/font-awesome-not-working?replies=8#post-4921179 # Allow icon font to load on subdomains of WordPress multisite install. <FilesMatch “.(ttf|otf|woff)$”> Header set Access-Control-Allow-Origin “*” </FilesMatch> …before: … Read more

Problem with loading images from child theme CSS file with relevant path

There’s no need for the wp-content/themes path – both themes sit in the same directory, so you can just traverse up one and then back down to child theme: background-image: url(../child-theme-name/images/some-image.png); Update: Regarding your answer to “where is the CSS file stored”, you inferred that the stylesheet resides in the child theme folder – in … Read more

Moving a blog from a subdomain to a folder

First you should read the Codex entry on domain moving http://codex.wordpress.org/Moving_WordPress But in a nutshell: aside from moving your contents phisically to the /blog location, all you have to do is search and replace every SQL entry for the previous domain (instead of just changing the domain in WordPress options). Doing this by hand is … Read more

Multisite setup on IIS with subdomains

I finally figure it out. I was missing a binding on my main WordPress site in IIS. I needed to add one for the sub-site, in this case child.example.com, specifying the same IP. After doing that I could successfully browse to the sub-site. Presumably when IIS can’t find any matching binding for the given host … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)