Using only an ID in the URL path provides little to no information about the content of the page to both users and search engines. Search engines rely on descriptive, keyword-rich URLs to understand the content of a page and its relevance to a search query. URLs that only contain an ID can be difficult for users to understand, as well as search engines to crawl and index. This can negatively impact the visibility and ranking of the page in search engine results, leading to lower traffic and reduced SEO. A better approach is to include a descriptive keyword-rich string in the URL path that accurately reflects the content of the page.
Including a descriptive keyword-rich string in the URL path can provide several benefits for SEO:
Overall, using just an ID in the URL path is a missed opportunity to provide valuable information to search engines and users. Including descriptive keywords can greatly enhance SEO and improve the visibility and ranking of the page.