dubstyleenation Posted September 24, 2007 Share Posted September 24, 2007 Need help with rewriting in .htaccess. my site is mostly .html except for one file, webportfolio.php. I do not want to rewrite the whole site, just anything that uses the webportfolio.php page. Webportfolio.php is connected to a database. Here is my local address: http://localhost/sav/webportfolio.php?cat=1&id=5 < id = project name > Here is what I want it to say: http://localhost/sav/web-portfolio/neurologica <neurologica being the project name> Can I pull this name from a database? Any help would be great! Link to comment https://forums.phpfreaks.com/topic/70517-rewrite-geniuses-help/ Share on other sites More sharing options...
hackerkts Posted September 25, 2007 Share Posted September 25, 2007 Most of the work is in PHP scripting, you just have to search the database with the relevant names, it might a little troublesome.. <name>-<id> would be a better easier choice. Link to comment https://forums.phpfreaks.com/topic/70517-rewrite-geniuses-help/#findComment-354975 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.