User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,580 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,258 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 414 | Replies: 5
Reply
Join Date: Jan 2008
Posts: 6
Reputation: shnippy is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shnippy's Avatar
shnippy shnippy is offline Offline
Newbie Poster

Help Template Header Problem

  #1  
Jan 31st, 2008
Hello,

I new to the forum. I am hoping to find some help for a template issue I have.

I am not sure if this is the right place to post this, but it looks as close as I can find.

I have an ecommerce site written in perl. It is template driven (one header, footer for the whole site).

The problem I am having is that each of the item pages show the same title (meta title) in the search engine results. This is being considered duplicate content, and I am being penalized for it.

I could sure use some help on figuring out how to have the meta title change (dynamically maybe) to reflect the content title of each page, instead of just one title for every page on the whole site.

If anyone has some suggestions please let me know. I am almost desperate here.

Thank You,
Shnippy
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 25
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: Template Header Problem

  #2  
Feb 1st, 2008
let me see if i got it right... your problem is all of the site's pages show the same meta title... right?

wouldn't this problem be solved if you change the meta content in each page's code?
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Join Date: Jan 2008
Posts: 6
Reputation: shnippy is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shnippy's Avatar
shnippy shnippy is offline Offline
Newbie Poster

Help Re: Template Header Problem

  #3  
Feb 1st, 2008
Hi,

Thank you for the quick reply.

What i am running is an Ecommerce site. So there are many pages of items.

The problem is that i have one main congfig.pl (perl) file that contains a header and footer for all of the other perl scripts that go along with it. Each individual perl script is called for different functions on the site (ie: search, faqs, register, and so on). these only change the content between the header and the footer, not the header and footer themselves.

What i need to try to do is have it so when the content on the page changes (clicking on an item, or another item) it will change the meta description and title. I am not sure if this can be done dynamically or not. Or if there is a snippet of code i might be able to use.

I know it is a tall request. But I am getting kind of at the end of my rope. The search engines are seeing my content as duplicate content, due to the same header for each page.

The only real place i can see that i can place a regular header (meta tags) is in the config.pl, as that contains the html-head-body for the whole site, although i have roughly 50 additional perl scripts that the config calls upon to make the site function.

Hope i am making and sense here.

Thank you for your help.
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 25
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: Template Header Problem

  #4  
Feb 3rd, 2008
well, i guess you could write some code in perl to do that... have you tried the perl forum? maybe they can be more helpful...
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Join Date: Jan 2008
Posts: 6
Reputation: shnippy is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shnippy's Avatar
shnippy shnippy is offline Offline
Newbie Poster

Re: Template Header Problem

  #5  
Feb 4th, 2008
Hi,

thanks again for the quck reply.

I haven't tried the perl forum yet. I reckon that would be more appropriate.

I wasnt sure where to start asking for help.

I will give it a try.

Thank You,
Shnippy
Reply With Quote  
Join Date: Mar 2007
Location: Honduras
Posts: 1,401
Reputation: Nichito is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 25
Featured Poster
Nichito's Avatar
Nichito Nichito is offline Offline
Nearly a Posting Virtuoso

Re: Template Header Problem

  #6  
Feb 4th, 2008
glad to help
-->sometimes i wanna take my toaster in a bath<--
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 5:05 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC