On-page optimization is a component of search engine optimization (SEO), which refers to the increase of technical, content-related, and structural aspects
of a website.
On-page optimization also includes improving websites for accessibility by mobile devices such as smartphones, because mobile-friendliness is a ranking factor for Google.
URL length plays a crucial role for search engines, as it can influence crawlability. Shorter URLs are more likely to be shared and clicked in search engine rankings than long URLs.