skip to Main Content

I seem to be having an issue where my site doesn’t appear to be redirecting correctly to social sites example below

https://www.shillerslist.com/https://t.me/shillerslist

Here’s my code:

        <Link
          class='social-icon-link telegram'
          to='/https://t.me/shillerslist'
          target='https://t.me/shillerslist'
          aria-label='Telegram'
        >
          <i class="fab fa-telegram-plane"></i>
        </Link>

It keeps putting my website in front of the url and I’m not sure how I can stop it?

2

Answers


  1. Chosen as BEST ANSWER

    I've solved it, it required // at the start of the link to.

            <Link
              class='social-icon-link telegram'
              link to="//t.me/shillerslist"
              target='_blank'
              aria-label='Telegram'
            >
              <i class="fab fa-telegram-plane"></i>
            </Link>
    

  2. Try this:

    <Link
      className='social-icon-link telegram'
      to='https://t.me/shillerslist'
      target="_blank"
      aria-label='Telegram'
      rel="noopener noreferrer"
    >
       <i className="fab fa-telegram-plane"></i>
    </Link>
    

    You can also use this one as well:

    <a href={"https://t.me/shillerslist"} target="_blank"> 
      <i className="fab fa-telegram-plane"></i>
    </a>
    

    Also it seems your url: https://t.me/shillerslist is not working

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search