how to remove php extension in .htaccess
example media.php?page=test
bro_1 0 Newbie Poster
Recommended Answers
Jump to PostYou need to define what you want to redirect from as well as what you want to redirect to. Assuming that you want to go from:
to:
http://example.com/media.php?page=test
Then this should do the trick:
<IfModule mod_rewrite.c> # Turn on the …
All 4 Replies
minitauros 151 Junior Poster Featured Poster
bro_1 0 Newbie Poster
minitauros 151 Junior Poster Featured Poster
Isaac_4 39 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.