Page 1 of 1

PHP Master Page

Posted: Tue Jul 13, 2010 10:11 am
by lenton
I already have a master page using GET from urls like index.php?page=home.

I need a different method because this isn't good for search engines and can become confusing. My friend mentioned using prepend and append but I'm not sure what he means by this.
Thanks for your help.

Re: PHP Master Page

Posted: Tue Jul 13, 2010 10:22 am
by AbraCadaver
If you use apache then look up mod_rewrite. You would construct your urls something like this: /home and apache will rewrite it to: index.php?page=home.