URL rewriting

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simon_v
Forum Newbie
Posts: 1
Joined: Thu Jul 30, 2009 5:08 am

URL rewriting

Post by simon_v »

i am developing a website in shared hosted environment because of that i have no access on .haccess file.
so how i can rewrite url like http://www.website.com/sm.php?cat=3&id=4 to http://www.website.com/sm/name-of-the-page.
User avatar
turbolemon
Forum Commoner
Posts: 70
Joined: Tue Jul 14, 2009 6:45 am
Location: Preston, UK

Re: URL rewriting

Post by turbolemon »

I think this might be what you are looking for.

http://www.tutorio.com/tutorial/php-alt ... endly-urls

I think Joomla uses this method for SEF URLs without mod_rewrite. Enjoy!
Post Reply