homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

If then HTML
need custom page titles

Msg#: 4204850 posted 4:16 pm on Sep 21, 2010 (gmt 0)

I am using 3dcart to host and run my website. 3dcart has various syntax commands that will go to the database's spreadsheet and get the info from the spreadsheet. We want to use page titles that differ from our product's names and in order to do this, I would assume an if then statement would be needed.

Does anyone know if this exists?

Currently we have <title>[TITLE]</title>..[title] is the 3dcart command to bring up the info from the spreadsheet. We would need something like

If info is in the [extra_field_1] field, ignore [title].

That way it would make the html <title>[extra_field_1]...

Does this make sense to anyone? I know it is probably tough to understand because it is using html with some custom proprietary commands, but maybe someone has some insight.




5+ Year Member

Msg#: 4204850 posted 5:39 pm on Sep 21, 2010 (gmt 0)

this sounds more like a php problem, but i am not too familiar with 3dcart. maybe give some more background.


5+ Year Member

Msg#: 4204850 posted 6:23 pm on Oct 13, 2010 (gmt 0)

It sounds like an SEO nightmare waiting to happen. Different page titles for the same content? Maybe I am misunderstanding, but I would recommend creating separate pages for different content. As Jason said, more info would be helpful. Be a little more detailed about what you are trying to do:

Why do you feel you need to change the title but yet have the same page?

What sort of info would "extra_field_1" consist of?

By your statement of "our product's names" it sounds like you are trying to do some sort of catalog? If so you are definitely wanting to go the PHP/some other server side language for database queries. You can use this to change titles, however you will ALSO change your urls.

So for an example, say I am selling tshirts, I might have a catalog page that looks like this in the address bar:


then clicking on a particular shirt might take you to


Your title might be something like "Brown tank top shirts"

Obviously if you clicked "black" or "white" from the tank_tops address, you would have different pages with different titles. I hope this is making sense and please provide more information.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved