Mobile app version of vmapp.org
Login or Join
Angela700

: What I would do is in your header template wrap the logo in a conditional function like below. Then when people and bots are on your home page the logo isn't linking to your home page

@Angela700

What I would do is in your header template wrap the logo in a conditional function like below. Then when people and bots are on your home page the logo isn't linking to your home page in essence creating a loop. Once visitors move on to pages across your site the logo will be linked back to the home page. This is used on some major websites and is not bad for SEO. There's just no need to link to your home page from your home page.

<?php
if(!is_front_page())
{
//Logo with link
}
else
{
//Logo only
}
?>

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme