Incorrect path for resources (image, js) after installing and activating
-
WordPress version: 3.5
WordPress SEO version: 1.3.4.4I did this:
1. Installed the plugin as an svn external, in a wp-content folder that lives outside the wordpress installation, but is defined by WP_CONTENT_DIR and WP_CONTENT_URL in wp-config.php
2. Activated the plugin.Unexpected behavior:
The SEO sidebar item in WP admin is missing its image, and looking at the browser console it reports a 404 for the image, because the path it tries to load it from is incorrect. It tries the following (edited for confidentiality):https://www.example.com/wp-content/plugins/mnt/hda1/www/www.example.com/html/wp-content/plugins/wordpress-seo/images/yoast-icon.png
The correct URL should actually be:
https://www.example.com/wp-content/plugins/wordpress-seo/images/yoast-icon.png
There is also a missing .js file in the same way.
- The topic ‘Incorrect path for resources (image, js) after installing and activating’ is closed to new replies.