Jump to content

Recommended Posts

Posted

If I am using an include, be it php or ssi, how can I create separate meta tag info, descriptions for individual pages?

 

I need to include the navigation within the include so the head tag has to close in the header include.

 

Any ideas?

Posted

You could split up the header in 2 parts - include the top, specify page title and meta tags on each page, and then include the rest of the header with your navigation.

Posted

Yup. you have to separate out a pages meta tags from the rest of the header. How is your choice. A two part header like Andrea says, or you could use "If Else" in a script.

 

If page is A, use meta tag A.

 

If page B, use Meta tag B.

 

Else use default.

 

 

Personally I usually just make it a split header, easier.

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...