Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Two more things...

Quote Reply
Two more things...
OK, in the category.html template, it says this:

<%if meta_name%>
<meta name="description" content="<%meta_name%>">
<%endif%>
<if meta_keywords%>
<meta name="keywords" content="<%meta_keywords%>">
<%endif%>

...so I am supposed to put something in the way of keywords and description, somewhere. But how do I put it and where do I put it?

---------------------

In links.cfg, it says this, under Database Options:

# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

...Is this something that I can use to keep those automatic submission thingies from adding to my database from their locations? And do I just put my own domain (http://www.sanguinarius.org or www.sanguinarius.org) there?

Thanks.

------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: Two more things... In reply to
1. Meta keywords and descriptions are added in the category records using the Add or Modify Category options in the Admin screen.

2. Yes, put your domain in there and it will only allow link additions from your site and no where else.

Format is:

@db_referers = ('yourdomain.com');
Quote Reply
Re: Two more things... In reply to
OK, this is what I have there now:

# Referers -- which hosts are allowed to add to your database.
@db_referers = ('sanguinarius.org','www.sanguinarius.org');

This is correct, yes?

------------------

--Sanguinarius
The Real Vampire Directory
www.sanguinarius.org/cgi-bin/links/pages/
Quote Reply
Re: Two more things... In reply to
Yes, it is correct but you don't need the second one because the first one will work for anything having sanguinarius.org in the domain name. It doesn't hurt anything to leave it there but it is redundant.