Issue with Social Icon Links Using the Header Code to Set up Links

Discussion in 'Andrina WordPress Theme' started by sandymcdonald, Jun 28, 2013.

Thread Status:
Not open for further replies.
  1. sandymcdonald

    sandymcdonald Member

    Joined:
    May 29, 2013
    Messages:
    100
    Likes Received:
    1
    Note: Since I am using more links than the Social icons area available in the theme options area, I created a child header file. When I test my social icons, they work, but I just had a user contact me telling my LinkedIn and Pinterest links were broken and that she received a 404 message. She was able to copy the links, which are not the ones I have in the code. My header code is below.

    Code:
    <div class="social-links">
                              <ul class="social_logos">
                                  <li class="sl-1"><a TARGET = "_blank"
     
    href="http://www.facebook.com/comfortclimateservice"><span><img src="<?php echo get_template_directory_uri(); ?>/images/sl-1.png" 
     
    alt="Facebook"/></span></a></li>
                              <li class="sl-2"><a TARGET = "_blank" href="http://www.twitter.com/comfortclimate"><span><img src="<?php
     
    echo get_template_directory_uri(); ?>/images/sl-2.png"  alt="Twitter"/></span></a></li>
                                <li class="sl-4"><a TARGET = "_blank" href="http:/www.pinterest.com/comfortclimate/"><span><img
     
    src="<?php echo get_template_directory_uri(); ?>/images/pinterest-icon24.png"  alt="Pinterest"/></span></a></li>
                                <li class="sl-6"><a TARGET = "_blank" href="https://plus.google.com/100676983768921809580/"><span><img
     
    src="<?php echo get_template_directory_uri(); ?>/images/google_plus_24.png"  alt="Google+"/></span></a></li>
                                <li class="sl-5"><a TARGET = "_blank" href="http://www.youtube.com/thecomfortclimate"><span><img
     
    src="<?php echo get_template_directory_uri(); ?>/images/sl-5.png"  alt="YouTube"/></span></a></li>
                                <li class="linkedin_24"><a TARGET = "_blank" href="http:/www.linkedin.com/company/2859121?
     
    trk=tyah/"><span><img src="<?php echo get_template_directory_uri(); ?>/images/linkedin_24.png"  alt="LinkedIn"/></span></a></li>
                                <li class="sl-3"><a TARGET = "_blank" href="http://feeds.feedburner.com/comfortclimateservice/wYqB/"
     
    title="Subscribe to my feed" ><span><img src="<?php echo get_template_directory_uri(); ?>/images/sl-3.png"  alt="RSS
     
    Feed"/></span></a></li>
                                </ul>
                            </div>
    Her note and the links she received when visiting my site with multiple browsers is below. Also, Google Webmaster tools shows these as broken links, which I never understood.

    Same issue when I clicked LInkedIn button this came up
    http://comfortclimateservice.com/www.linkedin.com/company/2859121?trk=tyah/
    and when I click Pinterest this comes up:
    http://comfortclimateservice.com/www.pinterest.com/comfortclimate/
     
  2. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
  3. sandymcdonald

    sandymcdonald Member

    Joined:
    May 29, 2013
    Messages:
    100
    Likes Received:
    1
    Can't believe I missed that when pasting. Thank you so much. Problem resolved.
     
Thread Status:
Not open for further replies.

Share This Page