How to Enable User-Friendly URLs for Websites Through Apache HTTPD Server

Enable user-friendly URLs for websites through Apache HTTPD Server.

Albin Issac
The Startup

--

A user-friendly URL is a Web address that is easy to read and includes words that describe the content of the webpage.

Defining the user-friendly URL is the best practice also the recommendation for SEO, the user-friendly URL’s helps to hide the complex internal URL’s from the end-users and search engines. These URLs help visitors to remember web addresses, which they can easily type to access the page.

For example, the long URL /test/en/pdp/book.html?id=123 should be changed to the user-friendly URL /en/book/123

The Apache URL Rewriting (mod_rewrite) along with PT(PassThrough) flag helps to define the user-friendly URL’s in Apache by hiding the complex and lengthy URL’s from end-users.

URL ReWriting

URL Rewriting enables Web administrators to create powerful rules to implement URLs that are easier for users to remember and easier for search engines to find.

The mod_rewrite module provides a way to modify incoming URL requests, dynamically, based on regular expression rules. This allows you to map arbitrary URLs onto your internal URL structure in…

--

--

Albin Issac
The Startup

I work as a Software Architect specializing in Marketing Technologies. For more information, please visit my profile at: https://myprofile.albinsblog.com/