Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service.
i want to mod rewrite change extension of any page to what i want.
for ex. i want change index.php to index.abc
index.php
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
.PHP
.ABC
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy