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
Multiple pages vs one page
Moderator: General Moderators
Re: Multiple pages vs one page
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
It's all about personal preferences but the multiple pages route is a lot easier
Re: Multiple pages vs one page
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
http://example.com/contact vs http://example.com/index.php?p=contact