How to optimise the url for search engines?

Posted by phpheini on Pro Webmasters See other posts from Pro Webmasters or by phpheini
Published on 2011-06-29T17:39:01Z Indexed on 2011/06/30 0:30 UTC
Read the original article Hit count: 219

Filed under:
|
|

I have a php template which has one index.php and all the different pages (content1.html, content2.html etc) are shown on the index.phppage. So for example I can open www.example.com/index.php?content1 and it will show the content1.html. Now what I would like is this: Often you see websites where the url is like: www.example.com/this-is-the-content I know how to do this with an exclamation mark like www.example.com/?content1 <-- here you just dont write the index.php.

But how can I do an url name, which is completely different from the filename? For example www.example.com/this-is-some-page would show me the content of index.php?content1

© Pro Webmasters or respective owner

Related posts about php

Related posts about url