I have a dropdown from which you select values and based on that I generate link and send users to different pages in my website. However since linking this way uses javascript (as well as http requests) it does not get indexed by googles crawlbot.
I wanted to bypass this by displaying the items in my dropdown as an <a> tag and preventing the actual linking functionality by using event.preventDefault(). Will these links still get crawled?
[link] [comments]
from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/gf71us/do_a_tags_that_have_eventpreventdefault_get/>
No comments:
Post a Comment