#Anchor tag is not working for external links

4 messages · Page 1 of 1 (latest)

south drift
#

In my project I am using anchor tag <a href="www.google.com" rel="noopener noreferrer">Google</a>. But instead of redirecting to external link, its redirecting to internal one. For example, its reaching localhost:3000/www.google.com

Someone help me on this regard. Where could I have gone wrong?

radiant quarryBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

pallid marsh
#

try adding https:// to start

#

(if you somehow want to use the protocol user accessed your site with use just // - but you shouldnt ever use this as everyone has https these days)