Is an "templ.php?id=home" style url acceptable?

John M

New member
I'm making a website for a company. I am making a template system using PHP include and _GET so I can have one template for the layout, and pull in page content dynamically. Because of this, though, the URLs will look something like: www.example.com/template.php?id=home

It's not very pretty, but is it acceptable for a professional website that many people will be accessing?

If not, whats the alternative? I could do html files (so, www.example.com/home.html) with a javascript redirect to the php file, but I would end up with double the amount of files, it doesn't seem elegant.
 
Back
Top