Moving to other pages in my site using javascript not regular anchors
Ad
I disabled the 'a' anchors at my site, and instead, I created js function that moves the visitor by the window.location.href
function, for a purpose of-course.
Does this way harm my SEO ranking, or lets say:
- Does this prevent google from crawling my site currectly?
- Does google know that a js is controlling the link?
Thanks
Ad
Answer
Ad
The google bot is able to render your javascript if you don't block the resource. Searchengineland made a test, if the google bot can crawl different type of links.
Ad
source: stackoverflow.com
Related Questions
Ad
- → OctoberCMS - How to make collapsible list default to active only on non-mobile
- → How to update data attribute on Ajax complete
- → October CMS - Radio Button Ajax Click Twice in a Row Causes Content to disappear
- → Octobercms Component Unique id (Twig & Javascript)
- → when i send data with ajax(jquery) i don't find the values in controller without form in laravel 5.1
- → DropzoneJS & Laravel - Output form validation errors
- → Knockout JS - How to return empty strings for observable fields
- → How to replace *( in a string
- → Get the calling element with vue.js
- → Sent Variable to Controller via Ajax in Blade
- → AJAX folder path issue
- → Onclick with argument causes javascript syntax error
- → KNockout JS - Automatic reload of ajax call
Ad