Live data from Hacker News

Used vue.js with laravel and my site is not SEO friendly anymore

news.ycombinator.com

1–10 of 18 posts

Used vue.js with laravel and my site is not SEO friendly anymore

#1
I implemented vue.js on my site for pagination and filter. Now I realize that the page loads with filters and the data is fetched via AJAX. Do a view source and AJAX content is not displayed. This affects the site indexing and ability to rank. I do not want to go for SSR. What could be my options here? Should I ditch vue.js?

Re: Used vue.js with laravel and my site is not SEO friendly anymore

#6

If you want to keep your SEO ranks without SSR, ditch any client side rendering framework and go back to blade templates.

How do I allow filtering to be done on client side? I am comparing with cargurs, aamozn wayfair, how to get that filter option on left and still keep content. I was think load content first and then load filter on left. This is what amazon does

Re: Used vue.js with laravel and my site is not SEO friendly anymore

#8

I think that google now uses a headless browser. Unless your page loads in too much time, nothing should change on the SEO side if you have the same content at the same place.

That is not true. As far as I know, google does execute js but does not wait for ajax calls.

Re: Used vue.js with laravel and my site is not SEO friendly anymore

#9
post #6

If you want to keep your SEO ranks without SSR, ditch any client side rendering framework and go back to blade templates.

How do I allow filtering to be done on client side? I am comparing with cargurs, aamozn wayfair, how to get that filter option on left and still keep content. I was think load content first and then load filter on left. This is what amazon does

On a small side project, I load the initial results with the template and then do filtering and additional searching with js. This allows me to be SEO friendly, while still having nice filtering functionality.

Re: Used vue.js with laravel and my site is not SEO friendly anymore

#10
post #6

If you want to keep your SEO ranks without SSR, ditch any client side rendering framework and go back to blade templates.

How do I allow filtering to be done on client side? I am comparing with cargurs, aamozn wayfair, how to get that filter option on left and still keep content. I was think load content first and then load filter on left. This is what amazon does

Use javascript. Display all the data at the first load. Then make make ajax calls with the filter data to the server, filter and process the results there and replace the original content on the client side with innerHTML().
Post reply on HN