man, now i want to do that.
All request to URL :
domain.tld/dir/filename.ext will become that :
domain.tld/dir/index.php?p=filename.ext
I tried many times but it's unsuccessful !! :mad: :mad:
pls help me :rolleyes:
thanks !!!
kulinh
0
Newbie Poster
Recommended Answers
Jump to PostThe first thing you need is mod_rewrite support by your Apache web server. Unfortunately, I'm not so sure how to do that because I've never had a need to do it before.
Create an .htaccess file that says:
RewriteEngine on RewriteRule ^(.*).([a-z]+)$ index.php?p=$1.$2 [L]
I BELIEVE something like that …
All 4 Replies
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
kulinh
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
kulinh
0
Newbie Poster
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.