physaux Posted November 20, 2009 Share Posted November 20, 2009 Hey guys, I have url rewriting, so that: website.com/first/second/third becomes website.com?id1=first&id2=second&id3=third So essentially all the pages come from just one page, index.html. My question is, say if I am writing the php for a page, which for the user would appear as: website.com/first/second How can I send them to website.com/first/apple ? Here are the possibilities I was thinking of: first/apple website.com/first/apple //(what I think) index.php?id1=first&id2=apple index.php/first/apple Which one is right? I just want to link the to a page. Any suggestions/ tips in relation to this? Am I doing it right? Quote Link to comment Share on other sites More sharing options...
emopoops Posted November 20, 2009 Share Posted November 20, 2009 change the variable? Quote Link to comment Share on other sites More sharing options...
physaux Posted November 20, 2009 Author Share Posted November 20, 2009 but I want to create links, meh I guess I overthought it, I'll just use the full url with slashes, no local linking. Thanks! 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.