Meta Title For Forum.php


Subject: Meta Title For Forum.php
How do I change the meta page title for forum.php file? I just want to change the meta title for this file alone, nothing else.

Profile PM  
Subject: Re: Meta Title For Forum.php
look for page_title in forum.php...

it should be linked to a lang file ...

:mrgreen: :mrgreen:

Subject: Re: Meta Title For Forum.php
I couldn't find the lang file related. Could you please guide.

Subject: Re: Meta Title For Forum.php
you need to open language-->your language --> lang_main_settings.php

find

Code: [Download] [Hide]
  1. $lang['Index'] = 'Icy Phoenix';  
  2. $lang['Default_META_Keywords'] = 'phpbb, forum, icy phoenix, icyphoenix, icy, phoenix, php, portal, cms, premodded, community, open source, mods, templates';  
  3. $lang['Default_META_Description'] = 'Icy Phoenix is an highly customizable CMS based on phpBB which allows you to create a dynamic site with a lot of features for powering web communities.';  
  4. $lang['Default_META_Title'] = 'Icy Phoenix';  
  5. $lang['Default_META_Author'] = 'Mighty Gorgon And Icy Phoenix Staff :: http://www.icyphoenix.com/';  
  6. $lang['Default_META_Copyright'] = '(c) 2001-' . date('Y', time()) . ' Mighty Gorgon'; 


change what you need but remember not to delete the ''

Profile PM  
Subject: Re: Meta Title For Forum.php
I only want to change the Meta title of the forum.

I have already done that with the homepage.

Subject: Re: Meta Title For Forum.php
Open forum.php and edit this part:


Code: [Download] [Hide] [Select]
$page_title = $lang['Forum'];
$meta_description = '';
$meta_keywords = '';

Subject: Re: Meta Title For Forum.php
It didn't work Gorgon. I had already tried it when i changed it the title just changes to the title of whats in the home page.

Subject: Re: Meta Title For Forum.php
I think you did something wrong, because page_title is defined there... please provide a link with the page you want to change the title.

Subject: Re: Meta Title For Forum.php
The link is www.rosehost.net

the forum at www.rosehost.net/forum.php.

They both have the same Title even after i change the page_title part.

My code looks like this
$page_title = $lang['RoseHost WebMasters Forum'];
$meta_description = '';
$meta_keywords = '';

Subject: Re: Meta Title For Forum.php
I see META and TITLE correctly:

Code: [Download] [Hide] [Select]
<meta name="title" content="RoseHost: Paid And Free Web Hosting" />
<title>RoseHost: Paid And Free Web Hosting</title>

Subject: Re: Meta Title For Forum.php
Ya but i want the forums meta title to change to webmasters Forum. and it doesn't

Subject: Re: Meta Title For Forum.php
You want TITLE and META TITLE to be different each others?

Subject: Re: Meta Title For Forum.php
No i just want the portal page and forum pages title to be different which isn't seem to be happening.

Subject: Re: Meta Title For Forum.php
Can you please try this?

Code: [Download] [Hide] [Select]
$page_title = 'RoseHost WebMasters Forum';
$meta_description = 'RoseHost WebMasters Forum';
$meta_keywords = 'RoseHost WebMasters Forum';

Subject: Re: Meta Title For Forum.php
it didn't work

Some how the forum page doesn't pull the title from the $page_title:


Page 1 of 2


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.3769s (PHP: 6% SQL: 94%)
SQL queries: 13 - Debug Off - GZIP Enabled