Reputation: 319
I have a website. When you sign up, it creates a profile page for you. I want Google to index that page, through script, so I don't have to do it manually. A bit like StackOverflow. Is there any way of doing that. Also: I know sitemaps can do something like that, but I wasn't sure if it did just this. If it can, please tell me. If not, please come with a solution.
Upvotes: 0
Views: 94
Reputation: 316
You think right about sitemap. It's the thing what you need to do. Create the XML sitemap just with all these profile links. Google will index these pages just from your XML sitemap file. Of course, submit that specific XML sitemap on Google with Google Search Console.
A recommendation is not to index all these profile pages. You will lose your "crawl credit". I would recommend doing some kind of filter before sent these page to index. For example, popular sites are using something like user popularity ratings or something. And they make only the most valuable profiles indexable for search engines. Please think twice do you really need to index all your profile where some of them will create it and forgot about it?
Upvotes: 1