Like, instead of "domain.com/0.1.0.0.0.1.phtml", I would like to have just "domain.com/0.1.0.0.0.1"
The only file I found that contains the text "phtml" is "front.func.inc.php", so I find and replace the lines
Code: Select all
$file = str_replace(',', '.', $noid).'.phtml';
Code: Select all
$file = str_replace(',', '.', $noid);
Code: Select all
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1.$2.$3.$4.$5.$6
Code: Select all
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)$ index.php?id=$1.$2.$3.$4.$5.$6
Code: Select all
RewriteRule ^(.+)\.phtml$ index.php?$1
Code: Select all
RewriteRule ^(.+)$ index.php?$1
Thoughts? Suggestions?