Topic: .htaccess redirect .php to non
Im trying to redirect older page that have .php extensions to wolf cms pages that I would not like to have the .php anymore.
I have already remove the suffix in the config.php file
// Add a suffix to pages (simluating static pages '.html') define('URL_SUFFIX', '');
I tried this :
RewriteRule ^(.*)\.php$ /$1 [R=301,L]
but keep getting this :
The goal is to is to redirect all pages that have the .php extension to non php so that I dont lose search engine rank.
redirect this page1.php => to this page1
redirect this page2.php => to this page2
what am I missing here ?
Last edited by don (2012-03-13 21:04)