Follow these steps to make your website URLs more user-friendly using the .htaccess file:
Access your website’s control panel or use an FTP client to manage files.
Navigate to the "File Manager" section in your control panel or establish an FTP connection.
public_html DirectoryGo to your website’s main directory.
.htaccess FileOpen the existing .htaccess file or create a new one if it doesn’t exist.
Insert the following code to enable user-friendly URLs:
# Enable mod_rewrite
RewriteEngine On
# Rewrite rule to convert URLs
RewriteRule ^your-friendly-url$ your-script.php [L]

Replace your-friendly-url with the desired user-friendly URL path.
Replace your-script.php with the actual file or resource to load.
Save the .htaccess file and test your user-friendly URL in a browser.
Your website URLs are now more readable and easier for users to navigate.