Gossamer Forum
Home : Products : Links 2.0 : Discussions :

set 2 home url paths in link.cfg???

Quote Reply
set 2 home url paths in link.cfg???
I have a dilemma, one that is probably not too unusual. I own two domains, familycorner.com and thefamilycorner.com

I have it set up right now where anyone that clicks on an old url out there with "thefamilycorner.com" in it, will automatically be taken to "familycorner.com" with that same url info.

My Links database, i links.cfg, is set up so that familycorner.com is the main url for the database. Ever since I had the server guy change things so that everything would automatically redirect to familycorner.com, not my rate links and jump links only work on one domain, familycorner.com, when they used to work on both.

JUMP LINK PROBLEM
For example, if you click on this link http://www.familycorner.com/...dir/jump.cgi?ID=2975 it will take you to an article on Ice Tea. However, if you were to click on the same link with "the" in the domain http://www.thefamilycorner.com/...dir/jump.cgi?ID=2975 you will get an error that says:

Error: No link specified!

RATE IT PROBLEM
Now if you were to visit the article above through http://www.familycorner.com/...dir/jump.cgi?ID=2975 and then try to rate it (I have many of these hard coded unfortunately, so a mass change within articles is of epic proportions) with http://www.thefamilycorner.com/...dir/rate.cgi?ID=2975 , instead of giving you the correct rating page, it just gives you the Top 10 Resources of rated articles.

So I guess I am wondering if I can put both "thefamilycorner" and "familycorner" in liks.cfg so that Links 2.0 will look for both...

I sure hope this all makes sense and someone can help me :(

Thanks!

Last edited by:

FamilyCorner: Jul 5, 2005, 7:14 AM
Quote Reply
Re: [FamilyCorner] set 2 home url paths in link.cfg??? In reply to
OK, lets try and simplify this a little. We'll start by calling your URLs FC and TFC.

Q's:
1. Are FC & TFC on different servers?
2. Are you running 1 server and have a redirect on one of the URLs? If so which one?
3. Are you running 2 links databases or 1?
Quote Reply
Re: [MJB] set 2 home url paths in link.cfg??? In reply to
1) same server
2) yes, TFC redirects to FC
3) 1

They both point to the same DNS. There's nothing different about the websites other than the word "the". I owned TFC for two years before FC became available and I bought that. Now I market everything under FC.
Quote Reply
Re: [FamilyCorner] set 2 home url paths in link.cfg??? In reply to
Right, so you shouldn't have to add another URL to the links file then. I run 1 server with 8 redirected URLs with no problems.

To me it looks like when you changed from TFC to FC you missed out altering some paths / URLs somewhere in one of the links files.

For starters check links.cfg ( the "Paths and URL's to Important Stuff" section ) and make sure that there are no TFC references in there.
Quote Reply
Re: [MJB] set 2 home url paths in link.cfg??? In reply to
Ok just talked to my tech guy and apparently we weren't running them both on the same server. He is changing that and looking into fixing it. Thank you :)