I need to change my simple URL to SEF URL (or clean URL).

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
madchatxp
Forum Newbie
Posts: 1
Joined: Tue Mar 04, 2008 1:14 am

I need to change my simple URL to SEF URL (or clean URL).

Post by madchatxp »

Hi,
I need to change my simple URL to SEF URL (or clean URL).
All of my URLs looks like that:
http://domain.com/index.php?a=34&id=3&com=s
I need it to look like that:
http://domain.com/article/php-fun.html

additionally, I need to totally block the non-SEF URL.
My questions are:
1- How to set the SEF URL configuration
2- How do I redirect users from the non-SEF URL to the SEF-URL
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Re: I need to change my simple URL to SEF URL (or clean URL).

Post by shiznatix »

mod_rewrite to do your url rewriting. Then you can do a 301 redirect if someone comes into the old URLs which will help the slow transition to the new URLs.
Post Reply