Forums
Home / Fixing WordPress / Footer link routing back to main page
(@markusday)
11 years, 9 months ago
This is my website: http://utrechtcentral.com
In the footer, I have put a url to UKR Hosting. This is the code that was used for the footer:
<center> © 2012 Utrecht Central. Hosted by <a> UKR Hosting</a></center>
[Moderator Note: Please post code or markup snippets between backticks or use the code button.]
However, the footer is linking UKR Hosting back to the main page instead. What could be the reason for this?
(@wordpressismypuppet)
It’s because your code is incorrect. You have:
<p><center> © 2012 Utrecht Central. Hosted by <a href=''http://www.ukrhosting.net"> UKR Hosting</a></center></p>
When it should be:
<p><center> © 2012 Utrecht Central. Hosted by <a href="http://www.ukrhosting.net"> UKR Hosting</a></center></p>
Notice you were using two apostrophes (‘) at the beginning of the url when it should have been a double quote (“)
Thank you. Resolved!
you are welcome