unable to add link to blogger comment

gates101

Newbie
Joined
Aug 28, 2021
Messages
5
Reaction score
1
So, i was trying to add link using
<a href="url">link text</a>​

And this is the result. Can someone tell me why is this happening and how to resolve it? Clicking on this opens a tab with Error 404.
1630660989511.png
 

Attachments

  • image.png
    image.png
    18.6 KB · Views: 11

Blackhat Lifter

Banned - Inappropriate behavior
Joined
Aug 4, 2013
Messages
3,593
Reaction score
8,897
You need to add http:// or https:// in front of your link, or else HTML thinks it needs to open a page on the current website.

Instead of http://www.yourwebsite.com, enter http://www.yourwebsite.com or https://www.yourwebsite.com
 

Starblazer

Elite Member
Joined
Feb 28, 2019
Messages
4,417
Reaction score
5,873
What is the URL in the browser when it displayed 404 page?

If it's your site, then there is a problem with your site and has nothing to do with the link. If it's the same blog, then there is a problem with your href code.
 

gates101

Newbie
Joined
Aug 28, 2021
Messages
5
Reaction score
1
You need to add http:// or https:// in front of your link, or else HTML thinks it needs to open a page on the current website.

Instead of http://www.yourwebsite.com, enter http://www.yourwebsite.com or https://www.yourwebsite.com
1630661279763.png Ok. So I found out what I was doing wrong, thanks for helping me out. Since I'm not a coder, I thought this error meant that the comment is not accepting https or HTTP, and so I removed it. But after reading your answer and this error again, I figured out that there was an error with the code.
Again, thanks a ton. It's fixed.
 

gates101

Newbie
Joined
Aug 28, 2021
Messages
5
Reaction score
1
What is the URL in the browser when it displayed 404 page?

If it's your site, then there is a problem with your site and has nothing to do with the link. If it's the same blog, then there is a problem with your href code.
Yeah, there was an error in the href code
 

Starblazer

Elite Member
Joined
Feb 28, 2019
Messages
4,417
Reaction score
5,873
Yeah, there was an error in the href code
Use the standard a href tag
Code:
 <a href="https://www.blackhatworld.com/">BlackHatWorld</a>
You can use http if there is no SSL, but it's necessary to have initial "https://" part. Otherwise, your link will be considered as a file path of the blog. It should work fine if you fix it.
 

pankaj0008

Registered Member
Joined
Jul 19, 2018
Messages
89
Reaction score
15
Website
www.periocenter.com
Use secure version if you have otherwise try to change your browser then try to do comment, if you are getting the same message then you need to use https in the URL.
 
Top