Jump to content


URL Rewrite and Passing Variables

  • Please log in to reply
1 reply to this topic

#1 madk

  • Members
  • PipPip
  • Member
  • 21 posts

Posted 15 September 2006 - 08:47 PM


Not sure if this is the correct forum but you guys have not steered me wrong in the past.

On my site I just started using URL rewrites to clean up my urls.  So for example a page that is normally:


Will output as:


Now my problem is that I am also needing to pass session ID to the next page because I am using a login system borrowed from the forum software I use.  The forum software appends the ID using a function called append_sid() and appends the SID only if it is needed.  If I apply this function to my rewritten URL I get something like http://www.mysitenam...dsf32rasdfadf.  This obviously won't do the trick.

I am looking for a way that I can still use URL rewrites and pass along the session ID.


As I was editing this I decided to try to change my Rewrite Rule.  Now my posts output as:


Now I can append the SID to it and it appears to work fine.  I'm mainly doing this because my old site wasn't getting indexed will due to the sloppy URLs.  Do you think this should solve my problem?

Thanks in advance,

#2 madk

  • Members
  • PipPip
  • Member
  • 21 posts

Posted 15 September 2006 - 08:49 PM


My idea has failed.  The SID shows up in the URL but is not actually passed.  I'm starting to think I may have to live with my sloppy URLs.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users