Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jasdonle

    (@jasdonle)

    This just got a bit stranger, to me at least.

    Like I said earlier, if I use

    <?php bloginfo('url'); ?>

    I get the correct url…

    https://mysite.com/test

    That works. I’ve tested it a few times.

    So my temporary workaround was going to be this bit of code:

    <?php bloginfo('url'); ?>/wp-content/themes/mytheme

    But when I enter that into my header.php file, the output CHANGES to this:

    https://mysite.com/wp-content/themes/mytheme

    What gives?

    Thread Starter jasdonle

    (@jasdonle)

    I figured it out. There was a conflict with WP Super Cache. Once disabled, everything works properly again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘template_directory outputs wrong URL… Strange!’ is closed to new replies.