Ionic, SEO and link

Hello,

I am using ionic to create a website. I am using a lot of ionic components, especially buttons.

When you use a button you use the click event, consequently, I suppose, the crawler (Google) doesn’t see the link.

What is the correct method to improve the crawling ?

ps : I am not talking about ssr with is something else and seems to be useless with Google.

I create customs components to improve the SEO.

Exampl, replace <ion-item (click)=""></ion-item> by <a href="" ...><ion-item></ion-item></a>

To improve SEO for your Ionic website, especially regarding how crawlers interpret links, it’s important to use HTML elements that crawlers can easily recognize. When you use buttons with click events, search engine bots might miss the significance of the action behind those clicks, since they typically focus on anchor tags (< a >) when determining navigation and link structure.

Additionally, pay attention to how your site appears in search results. Using methods like ctr manipulation can improve how users engage with your search result, which can positively impact your site’s ranking over time. It’s also worth checking that all important content, like buttons leading to valuable sections, is accessible without relying solely on JavaScript, as crawlers sometimes struggle with it.