Gossamer Forum
Home : Products : Gossamer Links : Discussions :

A Way to Change the Page.cgi?

Quote Reply
A Way to Change the Page.cgi?
Hey guys,

We've got link building spam bots out there creating thousands of backlinks with dodgy keywords, to our homepage:

http://www.dropzone.com/cgi-bin/safety/page.cgi

These links are built by the bots searching for pages with page.cgi at the end, they did the same with our search cgi.

Is there any way to either change this URL or mask it so that these bots algorithms no longer able to build links automatically to our page.cgi
Quote Reply
Re: [meso] A Way to Change the Page.cgi? In reply to
Man, you really do get attacked!

The easiest way, is to rename it - and then do a grep to replace occurrences of it:

Code:
perl -p -i -e 's|page\.cgi|page2.cgi|g' `grep -r -l 'page.cgi' .`

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] A Way to Change the Page.cgi? In reply to
Thanks for your input again Andy.

Would running that command change all instances within just the Perl globals? I'm assuming any references within the template files would need to be manually changed?
Quote Reply
Re: [meso] A Way to Change the Page.cgi? In reply to
Hi,

If you are in your cgi-bin folder, that should change everything :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!