How do I change the page name format?

I want to change from this format:
www.website.com/index.php?id=3

to this format:
www.website.com/pagename

the page id number changes with each page of the website except the home/main page.
My host is Supreme Center 100 and I can access both the PHP.5 and the MySQL files…I think ::slight_smile:

Thanks for any advice you can give me…

the “pagename” is the foldername you then add index.php or whatever your main page is named to the httpd.conf file in apache like this:

DirectoryIndex index.php index.php3 index.html index.htm

or for IIS in windows you add it to default document

When you browse to www.yourdomain.com/foldername it will automatically load your index page.

I can’t find this:

DirectoryIndex index.php index.php3 index.html index.htm

Would this page help me to change from PageID to PageName?

Field Type Collation Null Default Extra

pageID int(5) No None auto_increment
pageName varchar(255) latin1_swedish_ci No
catID varchar(10) latin1_swedish_ci No ALL
content longtext latin1_swedish_ci No

I can choose from the following actions:
Browse, Change, Drop, Unique, Index, Full Text

Sponsor our Newsletter | Privacy Policy | Terms of Service