Customize <title> tag for each question

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
php_n00b
Posts: 1
Joined: Mon Jan 10, 2011 9:39 pm

Customize <title> tag for each question

Post by php_n00b »

For SEO purposes it is not beneficial to have hundreds of pages with the same <title> tag.

Is there a way to customize title tag for each question?

I would not mind using the question itself as a title tag.

Thank you for any help.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Customize <title> tag for each question

Post by Thorsten »

Hi,

the question of a FAQ is also the title of the page. Currently there's no functionality to change the title of every page.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
CaptainDEEZ
Posts: 10
Joined: Sat May 14, 2011 7:10 pm

Re: Customize <title> tag for each question

Post by CaptainDEEZ »

Does anybody know the code to make a custom title tag and description for every category?
This would be very helpful for SEO. As it is now, every page takes on the main FAQ title. Duplicate information on google penalizes you, but it wouldn't if each page had a title and description pertaining to it's content.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Customize <title> tag for each question

Post by Thorsten »

Hi,

the code is in index.php, search for $title

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
CaptainDEEZ
Posts: 10
Joined: Sat May 14, 2011 7:10 pm

Re: Customize <title> tag for each question

Post by CaptainDEEZ »

Sorry, I may not have explained it well enough.

I meant how to make the forum generate a custom title and description for each individual page. Aside from the main index page, I've already done those.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Customize <title> tag for each question

Post by Thorsten »

Hi,

this isn't possible out of the box, sorry.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
CaptainDEEZ
Posts: 10
Joined: Sat May 14, 2011 7:10 pm

Re: Customize <title> tag for each question

Post by CaptainDEEZ »

So if it's not possible, do you want me to post the code up here when the programmer I work with figures it out for me?
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Customize <title> tag for each question

Post by jason102178 »

Yes that is fine, When you get the code from programmer you can post it here.


Cheers,

Jason
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Post Reply