The Apache server's mod_rewrite module gives you the ability to transparently redirect one URL to another, without the user's knowledge. This opens up all sorts of possibilities, from simply redirecting old URLs to new addresses, to cleaning up the 'dirty' URLs coming from a poor publishing system - giving you URLs that are friendlier to both readers and search engines.
Create .htaccess file on your server's root directory and add blow lines.
RewriteEngine on
RewriteRule ^old\.HTML$ new.HTML
Let's go with line by line. First Line says the apache module to turn the mod_rewrite module on. Second line says that apache enging should redirect old.HTML URL to new.HTML
Thanks,
- Tejas Suthar
Copyright © 2026 eLLeNow.com All Rights Reserved.