: How to make dynamic search result page to index? Suppose i have an internal search engine that works on this parameters foo.bar/search/?where=Rome&what=restaurant&categories=healthy that i
Suppose i have an internal search engine that works on this parameters
foo.bar/search/?where=Rome&what=restaurant&categories=healthy
that i can dinamically alias to
foo.bar/restaurants/healthy-restaurants-in-rome
This uri will return dynamic results.
I want the friendly url to be indexed in google, but the alias will be dynamically generated only when some user will perform a search with the given parameters, and the aliased url will be not listed anywhere in my site.
Will google be able to crawl the alias? If yes, how? If not, what to do in order to get it indexed?
More posts by @Hamm4606531
1 Comments
Sorted by latest first Latest Oldest Best
As long as the alias pulls up a valid web page, Google will be able to crawl it. You just need to make that URL available to them, most likely though an XML sitemap if the URL will not be available on your website.
The problem you're going to have is duplicate content. You'll have two URLs pulling up the same content which is exactly what Google doesn't want to have in its index. If you create an alias for a page, and you want that URL to be the one Google shows in the search results, then you also have to edit the original page to add a canonical URL. Without it, you run into the duplicate content issues.
What you should be doing is creating the search engine friendly URL for every page immediately and only use that URL. That will make both users and search engines happy as they will only see one URL per page and it will read more naturally than a query string.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.