Topic: Need help with Mod Rewrite Hack
I've tried using both versions of this hack https://cutephp.com/forum/index.php?showtopic=31744 for 1.4.6 - and currently trying to use Ifa's. However, both versions keep coming up with the samee problems:
- The htaccess file is generated but does not contain any rewrite rules or conditions from the script. I tried to add them manually:
RewriteEngine On
RewriteRule ^postpage/(.+).html(.*)$ review-anime.php?start_from=$1$2 [NC,QSA,L]
RewriteRule ^comments/(.+).html(.*)$ review-anime.php?subaction=showcomments&url=$1$2 [NC,QSA,L]
RewriteRule ^commentspage/(.+)/(.+).html(.*)$ review-anime.php?comm_start_from=$1&subaction=showcomments&url=$2$3 [NC,QSA,L]
RewriteRule ^archiveindex/(.+).html(.*)$ review-anime.php?archive=$1&subaction=list-archive$2 [NC,QSA,L]
RewriteRule ^archive/(.+).html(.*)$ review-anime.php?subaction=showfull&url=$1$2 [NC,QSA,L]
RewriteRule ^archivepage/(.+)/(.+).html(.*)$ review-anime.php?start_from=$2&archive=$1&subaction=list-archive$3 [NC,QSA,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.+).html(.*)$ review-anime.php?subaction=showfull&url=$1$2 [NC,QSA,L]
- The links are changed from :
review-anime.php?subaction=showfull&id=1332832005&archive=&start_from=&ucat=10&
to
/post/Anime Reviews/black-rock-shooter-1332832005.html
But when I try to click to read the full story, I am redirected to a 404 missing page. Any help would be greatly appreciated