Jump to content
Sign in to follow this  
JariV

How do I edit meta title and description for index page

Recommended Posts

Store name is a configuration variable defined in the Admin -> Configuration -> My Store -> Store name

The title of the home page is defined in includes/english.php

// page title
define('TITLE', STORE_NAME);

 

Share this post


Link to post
Share on other sites

I found that but if I change that and insert text there it will be inserted to alla pages meta titel after the titel that is taken från category name and product name.

I have Category SEO and Product SEO header tags active.

I don't know how I can insert meta titel and description for index page only.

Edited by JariV

Share this post


Link to post
Share on other sites

That's how osCommerce is. You're going to have to edit the category, manufacturer and product title pages, and any other pages, if you want a homepage title that is different to store name defined in admin.

Share this post


Link to post
Share on other sites

If you are using bootstrap version have a look in the language files for the page you want to alter.

In the latest version of Frozen in the index language file you have

// seo
if ( ($category_depth == 'top') && (!isset($_GET['manufacturers_id'])) ) {
  define('META_SEO_TITLE', 'Index Page Title');
  define('META_SEO_DESCRIPTION', 'This is the description of your site to be used in the META Description Element');
  /*
  keywords are USELESS unless you are selling into China and want to be listed in Baidu Search Engine
  */
  define('META_SEO_KEYWORDS', 'these, are, the, comma, separated, keywords, used in the META keywords Element');
}

 

Its in lots of other pages, and if you create new pages it is easy to add.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×