I have developed a CMS that works with ID in urls.
http://example.com/content/?id=10
My customers asked me to add keywords in URLs to be seo firendly. I am not sure if there is a certain definition for a seo friendly URL? Are the following syntax seo friendly? In other word does it matter how a keyword should appear in URL to be seo friendly?
http://example.com/content/?id=10#test
http://example.com/content/?id=10&keyword=test
?id=10
,?id=10&keyword=test
, and?keyword=test&id=10
are all different URLs to search engines. If you go with that, you need to make sure that search engines only ever see one of those. That means linking on your site to exactly the same URL every time, and using redirects or canonical tags for cases in which an alternate URL accidentally leaks. – Stephen Ostermiller♦ Nov 9 '20 at 11:04http://example.com/test
is much easier to read, remember, and type, than anything you have proposed. Adding an ID is very common to work seamlessly with a database. When using an ID in the URL, you should pay attention to where it appears in the URL for SEO and usability. See What is the best placement for the ID in a URL for SEO? – Stephen Ostermiller♦ Nov 9 '20 at 11:08