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!! Quote 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 Quote 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? Quote 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/ Quote Link to comment https://forums.phpfreaks.com/topic/158197-extensions/#findComment-834585 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.