OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Meta Description and Meta Keywords

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Meta Description and Meta Keywords

Postby xbonize » Sun Apr 29, 2012 11:07 am

Hello,

Below is my homepage metadata in the source code. May I know how to insert this meta description and meta keywords?

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>Open Journal System</title>
   <meta name="description" content="" />
   <meta name="keywords" content="" />
   <meta name="generator" content="Open Journal Systems 2.3.7.0" />
xbonize
 
Posts: 7
Joined: Mon Apr 23, 2012 10:32 pm

Re: Meta Description and Meta Keywords

Postby JasonNugent » Mon Apr 30, 2012 3:52 am

Hi xbonize,

keyword entry is done in Step 1.8 of Journal Setup.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Meta Description and Meta Keywords

Postby xbonize » Mon Apr 30, 2012 4:31 am

Hi Jason,

Thanks for your help. I also found the userguide at http://pkp.sfu.ca/ojs/docs/userguide/2. ... etup1.html.

IMHO, it's good to show to the user that I'm using OJS. But when considering with the security of my site, I think I should remove OJS Generator Tag because when hackers able to know the OJS version that I'm using and if security hole was found in that version, then hackers can hack my site.

Can you advice me how to remove this Generator Tag (remove version only)?

I would like to have metadata like this:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>Open Journal System</title>
   <meta name="description" content="" />
   <meta name="keywords" content="" />
   <meta name="generator" content="Open Journal Systems" />
xbonize
 
Posts: 7
Joined: Mon Apr 23, 2012 10:32 pm

Re: Meta Description and Meta Keywords

Postby xbonize » Mon Apr 30, 2012 5:03 am

OJS version also can view at http://pkp.sfu.ca/ojs/demo/present/inde ... hingSystem. May I know how to remove that OJS version?
xbonize
 
Posts: 7
Joined: Mon Apr 23, 2012 10:32 pm

Re: Meta Description and Meta Keywords

Postby JasonNugent » Mon Apr 30, 2012 6:34 am

Hi again,

You can remove the OJS version by editing line 25 of lib/pkp/templates/common/header.tpl. Although, I doubt that knowing the version of OJS will provide help to individuals who want to compromise your site. It is entirely possible to run an older version of OJS and keep it secure by applying patches as they become available.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Meta Description and Meta Keywords

Postby xbonize » Mon Apr 30, 2012 7:08 am

Thank you so much for your help. I've successfully remove that $currentVersionString string.

Do you have any idea to remove OJS version at http://pkp.sfu.ca/ojs/demo/present/inde ... hingSystem? Can I customize that "ABOUT THIS PUBLISHING SYSTEM" page?
xbonize
 
Posts: 7
Joined: Mon Apr 23, 2012 10:32 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 2 guests