: Website not getting indexed We launched our website example.com about 6 weeks back. It is a single page application and the urls change dynamically based on search results. We have submitted
We launched our website example.com about 6 weeks back. It is a single page application and the urls change dynamically based on search results. We have submitted sitemap through google webmaster but so far google is showing that only 2 pages are indexed, while site:example.com shows 8 pages indexed.
'Fetch and render' functionality in google webmaster shows that our pages are showing correctly to google bots but still pages are not being indexed. Sitemap has been submitted to Google.
Last week we submitted about 10 static pages which showed up at site:example.com but now they are not showing either. What shall we do so for google to start indexing our website?
More posts by @Berryessa370
1 Comments
Sorted by latest first Latest Oldest Best
our website...is a single page application and the urls change dynamically based on search results....Last week we submitted about 10 static pages which showed up at site:example.com but now they are not showing either. What shall we do so for google to start indexing our website?
You're confusing google
You're basically asking google to index your page, and then shortly after, the contents of the page change because of a search someone performed. One policy google has in terms of indexing a webpage is that it must not participate in cloaking which is what you're effectively demonstrating with your one-page dynamic setup.
See support.google.com/webmasters/answer/66355 for more info on what cloaking is.
Your solution is to make static pages. and when making the search engine, have the form submit to a script (that you can't expect google to index) then the script can redirect the user to the correct static url.
For example:
Say your main search engine page is at example.com/search and say your search processor is example.com/search.php.
Assume you also have these URLs:
example.com/query/apples http://example.com/query/bananas example.com/query/tires
In the example.com/search page, you'll have a form that will submit the user query as a parameter to example.com/search.php once the submit button is clicked in it. Then if the user types in the correct keyword, the script will redirect the user to the relevant URL.
For example, if the user typed in "winter tires" or "wheels" or "something black and rubbery" then you could have the script redirect the user to example.com/query/tires
The advantage to this is that each individual query page as well as the search homepage is static and therefore can be indexed by google because the content within it will never change (unless you determine the old article about tires or whatever is completely incorrect and/or outdated).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.