Welcome to WebmasterWorld Guest from 23.22.182.29

Forum Moderators: mademetop

Message Too Old, No Replies

Ok to use .php and includes for my menu?

or will this hurt my spiderability and search engine rankings?

     
7:46 pm on May 11, 2009 (gmt 0)

New User

5+ Year Member

joined:May 11, 2009
posts: 5
votes: 0


I am designing a website that calls the menu from an include using php. Is this ok? Or is it best to make the menu static on each page? The site is small so it wouldn't be a big deal to make them static.

Thanks!

8:19 pm on May 11, 2009 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


'Includes' are just the thing for a menu.

Have to change the menu? Just one file to alter.

The include can be static or dynamically generated.

8:38 pm on May 11, 2009 (gmt 0)

New User

5+ Year Member

joined:May 11, 2009
posts:5
votes: 0


Thanks, is it best to use .php or .shtml when using includes?
8:45 pm on May 11, 2009 (gmt 0)

New User

5+ Year Member

joined:May 11, 2009
posts:5
votes: 0


or to change the htaccess file to allow .html pages to display includes? or does it not matter?