TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-14-2008, 02:25 AM   #1 (permalink)
The Wanderer
 
Join Date: Sep 2007
Posts: 12
Thanks: 0
trs21219 is on a distinguished road
Help Mixed Mod_Rewrite with non

ok this is my problem. i hate having to make a new mod rewrite rule everytime i want to add a variable in the url of my websites. i like the way mod rewrite works as it simplify's my visitors browsing and it makes it easier for search engines to find me...

this is what i want. i need a way for my for my pages to use mod rewrite for my components and sub components (act and sub) but then for things like page or article i want to be able to add the old freind ?article= at the end and not have any issues. if you dont get what i mean ill show you below.

Code:
i want this:
www.mysite.com/index.php?act=news&sub=recent&page=2&show=25
to be made into this:
www.mysite.com/news/recent.html?page=2&show=25
using mod rewrite for the act and the sub (or whatever else i put into the mod rewrite page) but still have the ability to just add variables into the url and have them work.
PLEASE HELP!!!
trs21219 is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:32 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design