Well, I have this html to enable the title and link of the article:
<h1 class='post-title entry-title'>
<b:if cond='data:post.link'>
<a expr:href='data:post.link'><data:post.title/></a>
<b:else/>
<b:if cond='data:post.url'>
<a expr:href='data:post.url'><data:post.title/></a>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h1>
What I want to do is to replace <a>
with <span>
- see:
<h1 class="http://post-title entry-title"http://>
<b:if cond="http://data:post.link"http://>
<span expr:href="http://data:post.link"http://><data:post.title/></span>
<b:else/>
<b:if cond="http://data:post.url"http://>
<span expr:href="http://data:post.url"http://><data:post.title/></span>
<b:else/>
<data:post.title/>
</b:if>
</b:if>
</h1>
When you do this, it will disable the click on the article title, but the link will remain visible to the search engines.
This method is wrong, can it hurt the page's SEO or is there no problem?