Logo image not loading after Permalink Settings change
-
I just changed my permalink settings to
https://localhost:8888/2013/08/sample-post/
and the logo url is now adopting the new permalink structure.What’s odd is the link is hard-coded and displayed correctly, but I get a 400 error and the image doesn’t load.
I’m using the following code:
<a id="logo" href="<?php echo get_option('home'); ?>/"> <img src="wp-content/themes/Theme-Name/images/logo.png" alt=""> </a>
But this is the url that is returned which errors out:
https://localhost:8888/2013/07/blog-post-title/wp-content/themes/Theme-Name/images/logo.png
It seems like this is an error, but maybe I’m doing something wrong in my code. It doesn’t seem like the url should include the month, year, and post title before hitting the wp-content/…
One thing to note is that the logo loads perfectly fine on the index page.
Any help would be greatly appreciated.
- The topic ‘Logo image not loading after Permalink Settings change’ is closed to new replies.