1. Home
  2. Website
  3. Steps for URL Masking with .htaccess
  1. Home
  2. Website Tips
  3. Steps for URL Masking with .htaccess

Steps for URL Masking with .htaccess

The URL masking is a method that allow you to mask certain part of your website’s address.

For example, when someone opens up:


The actual content that will be displayed can be the one under:


Although the URL in the visitor’s address bar will still remain http://yourdomain.com/something.

You can achieve this by adding rules similar to the ones below into your website’s .htaccess file:

RewriteEngine On
RewriteRule ^something/?$ /something/else/

Make sure to substitute something and else which the actual directories that you are using on your website.

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help for 24X7!
Click here to talk us!

Leave a Comment