rudi souza Posted November 7, 2007 Share Posted November 7, 2007 Hello Im a novice php programmer, so excuse me if I may not be able to explain the issue correctly. Id like to have my host redirect the user on special URLS, much like seen in wikipedia, i.e. www.wiki.com/AlbertEinstein, www.wiki.com/LeonardoDaVinci Ideally, Ill have this redirect url path in my database, wich is a db of several image galleries of various artists. Id like the user to access galleries with this ease, as typing www.galleries.com/LeonardoDaVinci to access Leonardo's gallery. (this is not my actual hostname) A friend of mine told me I should look up on ISAPI filters, and I did google and read some of it, but am a little lost on the proper procedures to achieve this functionality with PHP. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
trq Posted November 7, 2007 Share Posted November 7, 2007 What server are you using? This is handled there, not by php itself. Quote Link to comment Share on other sites More sharing options...
rudi souza Posted November 7, 2007 Author Share Posted November 7, 2007 im using Centos 4.5 Quote Link to comment Share on other sites More sharing options...
rudi souza Posted November 26, 2007 Author Share Posted November 26, 2007 bumping... hope anyone can help me out Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted November 26, 2007 Share Posted November 26, 2007 Id try HTaccess ? Quote Link to comment Share on other sites More sharing options...
rudi souza Posted November 26, 2007 Author Share Posted November 26, 2007 I never actually got into htaccess, ill look for some tutorials, thanks Quote Link to comment Share on other sites More sharing options...
Distant_storm Posted November 26, 2007 Share Posted November 26, 2007 for example you can redirect if any php file is accessed within a paticular folder. keywords to look for with htaccess hotlink,modrewrite Quote Link to comment Share on other sites More sharing options...
rudi souza Posted November 26, 2007 Author Share Posted November 26, 2007 I just read a few tutorials, seems rather easy to make an .htaccess file. Ideally for me, Id like to use sql to store the redirect paths and pull that data from sql directly, but I think this is a stretch right? 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.