Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Can You Globally change an URL

Quote Reply
Can You Globally change an URL
I used the same URL for all my links in a category. If the URL has changed, do I have to go to each link and change its URL? Is there any way I can change the URL for all the links in that category? Please let me know. Thanks.

Quote Reply
Re: Can You Globally change an URL In reply to
If the "URL" is associated with different ID numbers in your Links table, then yes...you will have to modify all those records (either using the admin.cgi, mysql.cgi, or shell MySQL commands). If the "URL" is associated with the same ID or record in your Links table, then NO, you would only have to edit that one record.

Regards,

Eliot Lee
Quote Reply
Re: Can You Globally change an URL In reply to
Eliot:

Can you be more specific about this? If the ID you referred to is the record ID, then they all have different IDs. To be sure, how do I find out? How do I use admin.cgi to change it globally? Thanks.

Quote Reply
Re: Can You Globally change an URL In reply to
Yes...I am referring to the "record ID"...Since all of them have different IDs, then you will have to do one of the following:

1) Use admin.cgi to MODIFY the Links via the Modify Links option.

2) Use MySQLMan or editor.cgi via the SQL Monitor option to EDIT/UPDATE the URL field:

Code:

UPDATE Links Set URL = http://www.newurl.com/ WHERE URL = http://www.oldurl.com/


Good luck!

Regards,

Eliot Lee
Quote Reply
Re: Can You Globally change an URL In reply to
Dear Eliot:
I can use admin.cgi to modify links. They only allow you to modify them one by one, not globally with one entry. For instance, you can click on modify under links. Then you bring up all the links in that category. Then you have to enter the new URL in the appropriate field for each link. so you have to change each one on an individual basis. Am I right? Thanks.