I just changed my permalink settings to
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="">
But this is the url that is returned which errors out:
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.