Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi everybody!

 

I have been trying to edit the title tag on links.php. It currently show my url/links.php.

I tried to edit define('NAVBAR_TITLE', ); but it doesnt seem to work.

 

Any help will be appreciated

Posted

You are ediiting the wrong file.

 

 

Simply fo to catalog/links.php

 

 

Find this line and check if the bolded part of code is there.

If it isn't put it in.

 

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

 

To give it a better title tag,

change:

 

<title><?php echo TITLE; ?></title>

 

to:

 

<title><?php echo TITLE; ?> : Links</title>

 

 

Your page title will then appear.

 

:rolleyes:

Posted

Yes, you can add metatags.

 

Like I've said in other threads, I use standard html meta tags in many of my php pages.

 

Insert them like so:

 

(the bolded bits are the bits u add)

 

 

<title><?php echo TITLE; ?></title>

<META NAME="TITLE" CONTENT="your website name and slogan">

<META NAME="DESCRIPTION" CONTENT="your site description.">

<META NAME="KEYWORDS" CONTENT="your, key, words.">

<META NAME="ROBOTS" CONTENT="FOLLOW,INDEX">

<META NAME="REVISIT-AFTER" CONTENT="1 WEEK">

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...