WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Wrong path to plugin images (2 posts)

  1. Billy BoB
    Member
    Posted 1 year ago #

    WordPress version: 3.4.2
    WordPress SEO version: 1.3.4.1

    I did this: Installed the plugin

    I expected the plugin to do this: I expected the images related to the plugin to display correctly

    Instead it did this:

    Instead of the images/css having the correct path they are somehow trying to load the images the the actual file path on my server instead of the path to my web directory.

    Example:
    This is how it should look -
    http://mywebsite.com/wp-content/plugins/pluginname/Images/pluginimage.png

    Instead I get this -
    https://mywebsite.com/wp-content/plugins/usr/share/wordpress/wp-content/plugins/wordpress-seo/images/yoast-icon.png

    It also does this for the CSS files etc. Any help would be greatly appreciated.

    I host this on my own server so I have terminal access if needed.

    Thanks

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Billy BoB
    Member
    Posted 1 year ago #

    If anyone else has this issue....

    On ubuntu wordpress is installed to /usr/share/wordpress. To the best of my knoldge this plugin has issues following symlinks (I had /usr/share/wordpress linked to /var/www). So what I had to do was move the install from /usr/share/wordpress to /var/www and it seems to be working fine now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic