pushState and SEO

0 votes
This is my scenario :
I'm on example.com. My user clicks a link: href="example.com/blog"
pushState captures the click, updates the URL, grabs a JSON file from somewhere, and creates the listing of blog posts in the content area.
Google knows to go to the escaped_fragment URL to get their static content because of hashbangs.
With pushState, Google just sees nothing as it can't use the JavaScript code to load the JSON and subsequently create the template.
The only way to do it is to render the template on the server side, but that completely negates the benefits of pushing the application layer to the client.

 "use pushState rather than hashbang" I have been hearing this a lot but how can it be search engine friendly if we don't use hashbangs?
Mar 11, 2022 in Digital Marketing by Kichu
• 19,050 points
502 views

1 answer to this question.

0 votes
Google suggests meta tags for those who dont want hash bangs in their URL : <meta name="fragment" content="!">
The solution is to pass an HTML table and jqgrid with the JSON equivalent. SEO reads the HTML, and the user gets an upgraded experience and all subsequent requests via ajax. Using pushstate. Based on how the user sorts the grid/pages you can update the URL( without using a hashbang ). This will allow the user to save the URL and come back to the same result.
answered Mar 12, 2022 by narikkadan
• 63,420 points

Related Questions In Digital Marketing

0 votes
0 answers

SEO: Why "indexed pages" in Webmaster Tools and the command "site:" gives so much difference?

"Indexed URLs: 305,509"webmaser shows this when i ...READ MORE

Mar 2, 2022 in Digital Marketing by Kichu
• 19,050 points
296 views
0 votes
0 answers

BigPipe Facebook and SEO

I'm quite interested in the Facebook's BigPipe technique for ...READ MORE

Mar 3, 2022 in Digital Marketing by Kichu
• 19,050 points
298 views
0 votes
0 answers

Dublin Core and Google SEO

What do you think, is Google using ...READ MORE

Mar 4, 2022 in Digital Marketing by Kichu
• 19,050 points
254 views
0 votes
0 answers

Reactjs fetch data from API and google SEO problem

My website create with ReactJS and all ...READ MORE

Mar 4, 2022 in Digital Marketing by Kichu
• 19,050 points
369 views
0 votes
1 answer

"Single-page" JS websites and SEO

If you're using Rails, try poirot. It's ...READ MORE

answered Mar 4, 2022 in Digital Marketing by narikkadan
• 63,420 points
339 views
0 votes
1 answer

How to set meta tags using Angular universal SSR and ngx-seo plug-in?

first Install the plug-in with npm i ngx-seo ...READ MORE

answered Feb 11, 2022 in Others by narikkadan
• 63,420 points
1,899 views
0 votes
1 answer

AngularJS SEO - Once and for all

java script cant be or wont be ...READ MORE

answered Feb 14, 2022 in Others by narikkadan
• 63,420 points
310 views
0 votes
0 answers

Angular and SEO indexing

app.config(["$routeProvider", function($routeProvider) { $routeProvider .when("/", ...READ MORE

Feb 14, 2022 in Others by Kichu
• 19,050 points
182 views
0 votes
1 answer

Yoast SEO: remove og:description and twitter:description

add_filter("wpseo_opengraph_desc", "remove_yoast_og"); add_filter("wpseo_twitter_description", "remove_yoast_og"); function remove_yoast_og($description) { ...READ MORE

answered Mar 1, 2022 in Digital Marketing by narikkadan
• 63,420 points
315 views
0 votes
1 answer

Facebook Graph API SEO Comments and Profanity Filter

actually there is no way  to be ...READ MORE

answered Mar 1, 2022 in Digital Marketing by narikkadan
• 63,420 points
731 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP