CuteNews

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> mod_rewrite friendly urls for all show-news included pages
tenohikari
post Aug 3 2012, 11:58 PM
Post #1


Newbie
*

Group: Members
Posts: 11
Joined: 10-December 08
Member No.: 29,071



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?

This post has been edited by tenohikari: Aug 4 2012, 12:00 AM
Go to the top of the page
 
+Quote Post
tenohikari
post Aug 6 2012, 03:47 AM
Post #2


Newbie
*

Group: Members
Posts: 11
Joined: 10-December 08
Member No.: 29,071



Problem solved - never mind
Go to the top of the page
 
+Quote Post

Fast ReplyReply to this topicStart new topic

 



RSS Lo-Fi Version Time is now: 24th May 2013 - 11:19 PM