jdock1 Posted May 15, 2009 Share Posted May 15, 2009 I found out how to make PHP parse through any extension (I tried it with .asshole , .shit, etc. and it works) But is there anyway to make it with no extension, just the dynamic "?" rather than ".whatever?" So if I named a file like test.php , I want it instead of domain.com/test.php, I want it like domain.com/test , so when PHP parses a get variable it would be like "domain.com/test?name=Ryan" Is there anyway to do this? Thanks!! Link to comment https://forums.phpfreaks.com/topic/158197-extensions/ Share on other sites More sharing options...
Ken2k7 Posted May 15, 2009 Share Posted May 15, 2009 mod_rewrite Link to comment https://forums.phpfreaks.com/topic/158197-extensions/#findComment-834452 Share on other sites More sharing options...
jdock1 Posted May 15, 2009 Author Share Posted May 15, 2009 mod_rewrite Could you please be more specific? I know that but I need to know the line to put in the .htaccess Like so for the extensions I added AddType application/x-httpd-php .lol .tits .smokecrack What would I put in there? Link to comment https://forums.phpfreaks.com/topic/158197-extensions/#findComment-834558 Share on other sites More sharing options...
Axeia Posted May 15, 2009 Share Posted May 15, 2009 Alternatively, http://www.sitepoint.com/article/search-engine-friendly-urls/ Link to comment https://forums.phpfreaks.com/topic/158197-extensions/#findComment-834585 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.