dumb_question Posted May 18, 2004 Posted May 18, 2004 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 Quote
Guest Posted May 18, 2004 Posted May 18, 2004 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: Quote
dumb_question Posted May 18, 2004 Author Posted May 18, 2004 Thanks Mikey That worked great! Can I add <meta NAME="Description" and Keyord tags as well on this page? Quote
Guest Posted May 18, 2004 Posted May 18, 2004 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> Quote
Recommended Posts
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.