Page 1 of 1
SEO with PHP templates
Posted: Fri Mar 21, 2008 12:38 pm
by jkashu
I need to make a basic template system with PHP. My thinking is that I could have a template.php and GET the name of the specific page. The body html could then be read from the file that is GOTTEN:
template.php?page=contactus.txt
What are the SEO implications of this??? In general, how do search engines react to pages that are not static???
Re: SEO with PHP templates
Posted: Fri Mar 21, 2008 12:39 pm
by John Cartwright
Most search engines will treat the query string just the same as any part of the url. However, I can't speak for all search engines.
Re: SEO with PHP templates
Posted: Fri Mar 21, 2008 2:16 pm
by matthijs
You can also rewrite the URLs, for example with htaccess, so that
yoursite.com/about/
gets ?page=about in the background
Re: SEO with PHP templates
Posted: Fri Mar 21, 2008 2:34 pm
by alex.barylski
I think technically, most search engines are capable of following URI regardless of how it's constructed.
Chris C, a while back made an interesting point. That the URL is part of the interface, so just like the GUI -- cleaner is better.
For that reason, I always use clean URL's nowadays.
