1 (edited by 2012-08-04 00:00:01)

Topic: mod_rewrite friendly urls for all show-news included pages

I was able to get this hack

http://democute.de.funpic.de/cute/example2...rom=&ucat=6
with this modification  http://forum.modrewrite.com/viewtopic.php?...3c&start=10 

working on my site, however I've run into a coding road block. I have multiple pages that have the shownews include code and wanted all the articles for these pages to have friendly urls. But I'm not sure how to achieve this since there is only one htaccess file being written.

I have tried duplicating the lines in the htaccess file like this but no success:

RewriteRule ^postpage/(.+).html(.*)$ example1.php?start_from=$1$2 [NC,QSA,L]
RewriteRule ^postpage/(.+).html(.*)$ ecample2.php?start_from=$1$2 [NC,QSA,L]

If I were to go to example2.php and click on full-story, it would redirect me back to example1.php

Any ideas?

Re: mod_rewrite friendly urls for all show-news included pages

Problem solved - never mind