Page 1 of 1

Multiple pages vs one page

Posted: Wed Dec 23, 2009 9:47 pm
by portofino
Hi!

I wonder what's the best way to organize a website. With multiple pages like "index.php, about.php, news.php, contact.php" or just a single index.php with GET like this "index.php?page=about, index.php?page=news, index.php?page=contact" ?

Which is the best practice?

Will influence SEO ?

Regards

Re: Multiple pages vs one page

Posted: Thu Dec 24, 2009 6:05 am
by oscardog
I personally find having multiple pages a lot easier to manage, and it's far better for SEO, but you can just use .htaccess to rewite index.php?get=about.php to just about.php.

It's all about personal preferences but the multiple pages route is a lot easier :)

Re: Multiple pages vs one page

Posted: Thu Dec 24, 2009 8:32 am
by omniuni
Personally, I use a template setup with index.php?page=blah. I find it easy to manage, and change. For SEO, the biggest point is to try to avoid numbers. index.php?p=contact is fine. index.php?p=3z86 is not going to help. If you want to get the best setup for SEO, use mod_rewrite and make your page vars look like directories:

http://example.com/contact vs http://example.com/index.php?p=contact