Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to edit Title tag on links.php


Recommended Posts

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:

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...