简体   繁体   中英

dynamic routes in nextjs crawlable to search engines?

I am working on NextJS movie application to learn NextJS. Homepage contains movie name and little description. After clicking on the movie it takes user to the specific page where it displays additional information. That data is coming from database.

I just wanted to know are these dynamic pages crawlable to search engines. For example user is searching for Forrest Gump on google/bing and my dyamic route contains that data. Google/bing is going to crawl that data or not?

If each movie page is rendered using SSR ( or if it contains preview data) it will be crawled by google / Bing.

If you don't want it to be crawled, you can use meta tag like

<meta name=”robots” content=”noindex, follow”>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM