Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Generate HTML on the fly from PHP and url rewriting

9:44 am on Apr 5, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 30, 2008
posts: 42
votes: 0

Hi everybody!

I'm running a website which uses PHP to extract and present data from a database. So far I've done it using $_GET variables to pass parameters to the script.

Now I'm reading tips about how to increase ranking in search engines and I see that it's much better to have a link named
instead of

For obvious reasons. So the question is: how do I modify my script so that, when called, it generates the desired URL? Which are the available techniques? I suppose also this forum uses the same method, to create post pages.
10:37 am on Apr 5, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Dec 13, 2009
votes: 0

If you are using the Apache software on your server, you use a technology called .htaccess (Specifically mod_rewrite (RewriteRule)) - you can read about it here: [webmasterworld.com...]

For other platforms I'm afraid I don't know.