madk Posted September 15, 2006 Share Posted September 15, 2006 Hello,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:http://www.mysitename.com/view-post.php?id=5Will output as:http://www.mysitename.com/post/5/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.mysitename/post/5/&id=asdfdsf32rasdfadf. 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.UPDATEAs I was editing this I decided to try to change my Rewrite Rule. Now my posts output as:http://www.mysitename.com/post/14/post.phpNow 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,Matt Quote Link to comment Share on other sites More sharing options...
madk Posted September 15, 2006 Author Share Posted September 15, 2006 UPDATE 2My 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.