I'm trying to add links to social media pages on my WordPress website. However, when I add the icon and the link to the social media page and save it, the link automatically adds my website.
Example: www.example/www.facebook/examplepage
I don't understand how my domain name is added before the link even though I haven't added it.
Any help, please?
Thank you.
I'm trying to add links to social media pages on my WordPress website. However, when I add the icon and the link to the social media page and save it, the link automatically adds my website.
Example: www.example/www.facebook/examplepage
I don't understand how my domain name is added before the link even though I haven't added it.
Any help, please?
Thank you.
Share Improve this question edited Jan 26, 2019 at 6:25 fuxia♦ 107k38 gold badges255 silver badges459 bronze badges asked Jan 25, 2019 at 22:18 AhmadAhmad 32 bronze badges2 Answers
Reset to default 3You have to include the protocol (scheme), like https://
. So for Facebook it would be https://www.facebook/examplepage
.
It is in this case not WordPress that adds your site URL in front of the URL, it's your browser!
I hope you have solved your problem by now, but if not I might have the answer. I was having the same problem and when I looked at my code I saw that I had used (”) quotation mark rather than (") quotation mark. After I changed the code to (") quotation mark everything worked perfect.
a href=”www.mywebsite” → http://www.mywebsite/www.mywebsite
a href="www.mywebsite" → http://www.mywebsite/
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742411466a4438897.html
评论列表(0条)