In Kohana, you can generate SEO-friendly URLs by using the URL::title method to create a URL-safe version of your string and then using the Route class to map it to a specific controller action.
Here is an example to show you how to create a SEO-friendly URL in Kohana:
This will create a URL like
http://example.com/articles/my-article-title for an article with the title "My Article Title".
Note: The Route class uses Regular Expressions to match URLs, so you can customize the pattern to match your needs. In this example, the pattern
[a-zA-Z0-9_-]+ matches any combination of letters, numbers, underscores, and hyphens.
It is important to note that generating SEO-friendly URLs is just one aspect of search engine optimization. It is also important to focus on other SEO techniques such as creating high-quality content, using relevant keywords, and optimizing your website's structure and load times.