Using only index.php in my marketing website

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
webgroundz
Forum Commoner
Posts: 58
Joined: Thu Jun 21, 2007 1:20 am
Location: Philippines

Using only index.php in my marketing website

Post by webgroundz »

hello php developers!

i want to create a web site for marketing purposes, like a real estate website. I want to use a framework like code igniter, using that framework. does it fit for a website like real estate?. Because, as other's said using only index.php doesn't fit for marketing website. Your opinion is highly appreciated..

more power devnetwork!. :D :D :D
Begby
Forum Regular
Posts: 575
Joined: Wed Dec 13, 2006 10:28 am

Post by Begby »

I think the drawback to only index.php is that you don't get search friendly URLs. However, with CodeIgnitor you can use rewrite rules so that you have URLs like

http://www.mysite.com/browse/houses/sta ... gle-family
User avatar
webgroundz
Forum Commoner
Posts: 58
Joined: Thu Jun 21, 2007 1:20 am
Location: Philippines

Post by webgroundz »

Begby wrote:I think the drawback to only index.php is that you don't get search friendly URLs. However, with CodeIgnitor you can use rewrite rules so that you have URLs like

http://www.mysite.com/browse/houses/sta ... gle-family
oh i see., thanks for the info.. :P :P :P
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Post by matthijs »

You can always rewrite the URL's with htaccess, and make something like
index.php?category=something&id=10
into
/something/10
Post Reply