lukeybabe Posted December 20, 2009 Posted December 20, 2009 Hello guys, I am just wondering how would i remove the .php ? so it becomes index ETC not index.php ETC. Thanks guys for reading/helping. If any one wants add me [email protected] Quote
Danny696 Posted December 20, 2009 Posted December 20, 2009 RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\.php\ HTTP/ [NC] RewriteRule .+ http://www.mydomain.com/%1 [R=301,QSA] Quote
mdshare Posted December 21, 2009 Posted December 21, 2009 [downloaddatabase]21[/downloaddatabase] Should help you, simple mod rewrite Quote
Zero-Affect Posted December 21, 2009 Posted December 21, 2009 ever thought of not using massive fonts? Try the search feature or google mate. Quote
lukeybabe Posted December 21, 2009 Author Posted December 21, 2009 danny i did use google but couldnt find it. Quote
Joshua Posted December 21, 2009 Posted December 21, 2009 Try actually typing something in the box on google before clicking submit next time ^_- Quote
Sim Posted December 21, 2009 Posted December 21, 2009 RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\.php\ HTTP/ [NC] RewriteRule .+ http://www.mydomain.com/%1 [R=301,QSA] i believe he posted the answer... Quote
lukeybabe Posted December 21, 2009 Author Posted December 21, 2009 i did that but it just said /index was not found on this server Quote
Zero-Affect Posted December 21, 2009 Posted December 21, 2009 [downloaddatabase]21[/downloaddatabase] Should help you, simple mod rewrite click the download file button above and to the right... Quote
Joshua Posted December 21, 2009 Posted December 21, 2009 Google.com |--------------------------------| | htaccess rewrite | |--------------------------------| |------------| | submit | |------------| Quote
lukeybabe Posted December 21, 2009 Author Posted December 21, 2009 Dude your not funny your stupid Quote
Joshua Posted December 21, 2009 Posted December 21, 2009 Coming from the guy who can't even read this post. I'm insulted. Quote
lukeybabe Posted December 21, 2009 Author Posted December 21, 2009 Wtf you on what post i can read dude you need to lay off the drugs! Quote
Zero-Affect Posted December 21, 2009 Posted December 21, 2009 Ok luke i suggest you don't disrespect people were only trying to help i Googled .htaccess rewrite and remove .php and got http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html It's probably what mdshare the owner of MWG pointed out to you atleast at the top of this thread... Quote
mdshare Posted December 21, 2009 Posted December 21, 2009 [redbox] Thread locked, answer has been given as a cheat sheet for download[/redbox] Quote
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.