Is there any way I can convert dynamic URL into static URL in php? i.e. convert php file into html so that the page is search engine friendly. For example:
Change this: http://mysite.com/pagename.php
To this: http://mysite.com/pagename
or this: http://mysite.com/pagename.html
I know there is something called mod_rewrite in Apache, but not sure how it works and whether it's related to what I want.
Thanks for any comment.