Apr 3, 2019

Single page AJAX vs Wordpress SEO advise needed

Hi all,

I have an old static website and I've integrated Wordpress into that website (into sub directory).
Now, I'm pulling recent posts to my homepage from Worpress via Wordpress REST API through AJAX call.

Now obviously when user clicks on post it needs to take him to some page where he will read that post.

Here is my dilemma:

Which approach is more Google SEO friendly and why?

1. When he clicks on post, it takes him to single page where entire content of that post will be displayed throughout AJAX call. So basically one page "blog.php" and AJAX call will display there content of desired post.

2. Leave it as it is (he will go to Wordpress site) that sits in sub directory and Wordpress will take care of everything.

Now I have feeling that option 2 is better, but just wanted to check here if someone can specify me exactly why.

Also since this is a bit uncommon question, just shout if i need to provide more details so you can understand what am I trying to achieve.

Thanks in advance
Locked
Informational notification.
This question is locked and replying has been disabled.
Community content may not be verified or up-to-date. Learn more.
Recommended Answer
Apr 3, 2019
Not sure its that 'uncommon'. 
 
Pretty common dilemea these days, whether to go for client side (sometimes known as AJAX) rendering or server side rendering (like wordpress) 
 
In general Client side (or javascript) rendering is risky, but is attractive as can do some pretty neat things (like fast/seamless page transitions) 
 
Whereas as server side rendering, is more reliable (been around longer!), but can be a bit slow and feels archaic. 
 
Try: 

1 Video
Diamond Product Expert Travler. recommended this
Helpful?
All Replies (3)
Recommended Answer
Apr 3, 2019
Not sure its that 'uncommon'. 
 
Pretty common dilemea these days, whether to go for client side (sometimes known as AJAX) rendering or server side rendering (like wordpress) 
 
In general Client side (or javascript) rendering is risky, but is attractive as can do some pretty neat things (like fast/seamless page transitions) 
 
Whereas as server side rendering, is more reliable (been around longer!), but can be a bit slow and feels archaic. 
 
Try: 

1 Video
Diamond Product Expert Travler. recommended this
Apr 4, 2019
Thank you for your fast reply.
I've watched JavaScript SEO series, and Martin is a very good teacher. He is really sharing some good knowledge. Last 2 videos are about Angular and React, so I'm guessing that video about AJAX is yet to come. In the meantime I've read a lot of Google Webmaster documentation regarding AJAX that is deprecated and how that stuff works now. From what I figured out - Google crawlers will even index content that is called through AJAX calls where your page is structured in a certain way, but they will not perform that good if you have some kind of really dynamic page. Therefore I think that I will use old-fashioned way for the sake of SEO (I would probably lose even more time trying to optimize AJAX calls for crawlers, etc.).
false
9253060106916839752
true
Search Help Center
true
true
true
true
true
83844
false
false
Search
Clear search
Close search
Main menu