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
shehzadrsi
Forum Newbie
Posts: 1
Joined: Sun Feb 01, 2009 2:38 am

URL rewriting

Post by shehzadrsi »

Can anyone has idea of how URL rewriting is done in PHP for the purpose of SEO?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: URL rewriting

Post by requinix »

Friendly URLs with words and stuff are better than ugly URLs with numbers and stuff.

What would your mother rather see in her address bar?

Code: Select all

http://example.com/blog/viewpost.php?post=123
or

Code: Select all

http://example.com/blog/2009/02/03/123-title-of-the-blog-goes-here-but-with-some-safety-modifications
Post Reply