Reply to including content

Your name:

Reply:


Posted by Martin Mόcke on 10/03/06 07:00

I got a website consisting of about 150 php pages.
The site uses a frameless table based design.
Header and menu are always the same and therefore should be extracted.
At the moment I got a "frame" (not a real html frame, more like
"framework"), that contains my menu and header content.
In this php page I dynamically include all content pages.
Downsides: All pages got the same meta tags.
Now I am looking for a better solution. I considered to
do it "upside down" by including the menu and header content into
the content pages instead - this way each page could have their own meta
tags. Problem: Depending on the directory depth, the path to the menu
and header pages to includes always varies. Absolute paths don't seem to
work with the php include command.
What would you suggest me to do, and are there any automatical tools
that could easily do the job for me?

I've heard of a tool that creates "static" pages by "physically"
including all contents into a page
The link to that tool was:
http://gentoo-portage.com/browse-program.php?program=1064

Unfortunatelly, the link is broken.

So in conlusion:

- What would you suggest me to do to get individual meta tags for each
page as fast and easy as possible?

- Do you maybe know a tool that could help here?

Thanks,

Martin

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация