[resolved] Header img url wrong / Redirect chain (4 posts)

  1. BeautyPirate
    Posted 4 years ago #

    Hello there.

    I do serve my images via a subdomain but for some reason my source code´s
    showing the wrong url. I cannot find anywhere in header.php to change it. It sucks because it is giving me a redirect chain.

    Should be: http://images.mydomain.com/wp-content/../../header.jpg
    Is: http://www.mydomain.com/wp-content/../../header.jpg

    Does anyone know what WP file I need to update? It seems to be none of the ones I can edit via the Dashboard editor. I´m on the TwentyTen theme.

    Thanks for any help!

  2. sangram.patra
    Posted 4 years ago #

    Hi BeautyPirate
    no need to changes in any file.

    Simply go to your admin site and go to Apperance menu under that Header menu is there and click it and in that page you can change your desired header image.

  3. BeautyPirate
    Posted 4 years ago #

    Yes, I know but that´s not what I need. Somewhere in WordPress the subdomain is not detected so it spits out the standard path to the image.

    My .htaccess then tells it to redirect via the subdomain. And there we have the redirect chain.

    So I need to know where to update the path to the same file.


  4. BeautyPirate
    Posted 4 years ago #

    Oh I´m an idiot. I just need to reupload the header after changing images to subdomain! Thanks for the hint in the right direction ;D

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.