: Does generating page content on client side affect SEO? I'm working on a website where a lot of the page content is generated by java script by getting JSON from the server. This JSON is
I'm working on a website where a lot of the page content is generated by java script by getting JSON from the server. This JSON is used for writing the page content on the client side. Additionally, I am using JavaScript to write some of the page links on some pages, because it is really simple to generate the url for that text from text on the page. Are these techniques alright when it comes to search engines indexing my site? The links all remain internal to the site and it is not meant to be deceptive, just to save on bandwidth.
More posts by @Becky754
1 Comments
Sorted by latest first Latest Oldest Best
I'm working on a website where a lot of the page content is generated by javascript by getting JSON from the server. .... Are these techniques alright when it comes to search engines indexing my site? ... just to save on bandwidth.
This is a bad idea.
What you're describing is that you have some basic HTML loaded and then a call to a special file on the server using AJAX technology that returns codes which help form the rest of your page. If the call is mandatory for much of the readable content to load, then you may end up creating a poor user experience because no one wants to wait a long time to see the content they are searching for.
As far as bandwidth is concerned, you're not really saving bandwidth. In fact, you're using more because your idea requires the client to make one request to the initial page containing the Javascript required to request another page from the same server. Two requests cost more bandwidth than one request.
If you want to stand a chance to be indexed in search engines with your idea, make sure the content is loaded before the Javascript code is run, that way, people with browsers that have no Javascript support and/or Javascript disabled can still see what the site is about.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.