[Plugin: WordPress SEO by Yoast] Yoast and WPML Error loading stylesheet (805303f4)
-
When running Yoast SEO 1.1.5 and WPML with a separate domain for each language, the sitemap_index.xml on the not-primary domains generate an error concerning the XSL sheet.
When accessing https://www.secondary.tld/sitemap_index.xml
Error loading stylesheet: An unknown error has occurred (805303f4)
https://www.secondary.tld/wp-content/plugins/wordpress-seo/css/xml-sitemap.xslThere’s a quickhack solution for this in the wp-seo.php file.
If you strip out the domain name, the stylesheet error disappears.
$pluginurl = preg_replace('!'.get_home_url('/').'!i', '', $pluginurl); define( 'WPSEO_FRONT_URL', $pluginurl );
Now https://www.secondary.tld/sitemap_index.xml is available without errors.
Regards,
-coati
- The topic ‘[Plugin: WordPress SEO by Yoast] Yoast and WPML Error loading stylesheet (805303f4)’ is closed to new replies.