Closed Thread
questions about using include() in php
Old 07-19-2008, 03:55 AM questions about using include() in php
Average Talker

Posts: 20
i am doing seo for a website and this website uses a lot of php for which i need suggestions. this is how the website is set up.

in the index.php file there is a flash banner at the top of the page and the center part is another file which is called using include("links.php") and the bottom part using include("footer.php")
the footer has links such as = webdevelopment software development ... each of this has a query string= http://website.com/index.php?page=webdevelopment and http://website.com/index.php?page=software ... etc

this way every link in the website is calling index.php and a query string is being passed and the index.php looks for the name ex=webdevelopment and loads that particular page in the center section of the website. the main purpose of doing this was to load the flash file only 1 time and the rest of the time when the links from the footer are clicked only the center part changes and the flash file does not have to reload.

due to this the entire website is having only 1 page index.php therefore using 1 <title> tag 1 meta description and 1 meta keywords tag as the values of <title> and <meta> tags are being displayed from index.php
however from a seo and sem perspective ideally there should be different file name which means i can optimize the <title> and <meta> tags for individual files.

please advice a best solution to get around this as i would like to have different title and meta tag for individual pages like webdevelopment.php software.php etc which i am presently not able to due to include("")

any help will be greatly appreciated.

thanks.
sudhakararaog is offline
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-19-2008, 11:47 AM Re: questions about using include() in php
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,876
Location: Blackpool. UK
Is there a forum you haven't copy and pasted this question to ???
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 07-19-2008, 12:52 PM Re: questions about using include() in php
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,876
Location: Blackpool. UK
http://www.webmaster-talk.com/php-fo...de-in-php.html
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Closed Thread     « Reply to questions about using include() in php
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11878 seconds with 12 queries