698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 more
Pirenko
says

Hi,
I’ve been asked about this a bunch of times and I would like an experts opinion: when using Wordpress is it bad for SEO loading pages, posts and other custom post types with AJAX calls? These pages exist and can be accessed directly by typing their URL’s on the browser…
Any feedback is highly appreciated.

332 posts
  • Affiliate Level 1
  • Author Level 4
  • Beta Tester
  • Collector Level 1
+2 more
dekciw
says

If you can navigate your website and find all the content with JS completely disabled – you’re good to go.

743 posts
  • Elite Author
  • Weekly Top Seller
  • Featured Item
  • Most Wanted Winner
+5 more
Orbital_Themes
says

As dekciw said, these pages must be indexable, that is accessible without JS. If you want to, for example, load a page content via AJAX after clicking a menu link, the menu link itself would have to lead to the actual page if JavaScript is turned off. Then, in your script, you would just event.preventDefault(); or return false;, so that clicking the link doesn’t open the page but rather makes an AJAX call.

3535 posts
  • Power Elite Author
  • Author Level 12
  • Trendsetter
  • United States
+13 more
sevenspark
Moderator
says

Like the others said – basically, as long as your AJAX functionality is a progressive enhancement and not the only way to access content, you shouldn’t have a problem.

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 more
Pirenko
says

Thank you very much for your inputs. So I guess I’m already doing things like I should, because what I do basically is a “preventDefault” when the link is clicked. So, if Javascript is disabled, there’s nothing to prevent, right?

954 posts
  • Affiliate Level 1
  • Author Level 3
  • Beta Tester
  • Most Wanted Winner
+3 more
aleluja
says

^ Yup, it will go to the link directly.

698 posts Fuel Your Web
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Winner
+6 more
Pirenko
says

Thanks everyone. Time to code a bit more :grin:

by
by
by
by
by
by