My projects default page title fixed. Suppose I go category page that's not show category name in title that showing default title which from core_config_data table path design/head/default_title.

Same things happen for product page and other pages.

how to possible to fixed this. And now I need to this dynamic

  • what do you mean by Fixed? Its static?
    – Mujahidh
    Dec 22 '15 at 9:53
  • Semi static. It's come from core_config_data table where path design/head/default_title. If I change there then My title changed Dec 22 '15 at 9:55
  • You can add the value for Page Title in the category page from admin panel.
    – Mujahidh
    Dec 22 '15 at 9:57
  • But other pages? Any page not show any different title. All are fixed Dec 22 '15 at 10:05

Make sure in your head.phtml file you have do not have fixed title and it has dynamic value.

<title><?php echo $this->getTitle() ?></title>

Check file

  • I checked. That's Ok. If I change database value then my title changed. Dec 22 '15 at 9:53

You can Add the Page Title in admin panel category page.

For a common page title you can give a value for title prefix in system->Configuration->General->Design->HTML Head->title prefix

  • I need dynamic Page Title but this showing only title prefix Dec 22 '15 at 10:43
  • Did you add the category page Title? catalog->manage categories ->select a category and give a value to PAGE TITLE
    – Mujahidh
    Dec 22 '15 at 10:46
  • It's not happen for only category pages. It's happen for all pages. I just give a example like category page. Dec 22 '15 at 10:51

you should use

$currentCategory = Mage::registry("current_category");

//Display the current Category Title
echo $currentCategory->getName();

need to reindex and clear the cache.

Note:- reindex requires.

I hope this will help you.


Find file /app/design/frontend/YOURPACKAGE/YOURTEMPLATE/layout/local.xml and find

<reference name="root"> <remove name="breadcrumbs"/> </reference>

If You add this then your Title gone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.