i want to mod rewrite change extension of any page to what i want.

for ex. i want change index.php to index.abc

is it possible with mod rewrite?

RewriteEngine On
RewriteRule ^(.*)\.abc$ $1.php

that should change all of your pages from .PHP to .ABC

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy