homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

How to prevent form variables from being indexed.
Ok my site now has more references to islands than widgets

 8:55 pm on May 4, 2007 (gmt 0)

Any ideas on how to keep form variables from being seen as content on a page?



 9:57 pm on May 4, 2007 (gmt 0)

Store them in a databse or in a seperate file? Your question is very vague, maybe I don't understand what you are asking.


 10:33 pm on May 4, 2007 (gmt 0)

A simple form formmail.pl style form with city, state and country fields, the country fields are a drop down and they are being indexed as page content.

How do I not show or excluded the forms variables from being used as content that the search engines index but rather keep them as tools on the page as they are intended?


 11:40 pm on May 4, 2007 (gmt 0)

I don't know that you can if that is the case. The form fields (in some way) have to be in the html source code. Maybe someone will know something or you can ask in a forum that specializes in search engine topics and not cgi/perl. Personally, I can't think of way except to use a robots.txt file and exclude the folder the page is in from being indexed. Of course only friendly search engines will obey the robots.txt file.


 10:30 am on May 5, 2007 (gmt 0)

perhaps you could obscure the form variable values from search engines by using javascript to valuate the form variable when the page gets loaded.


 1:48 am on May 6, 2007 (gmt 0)

Well in the past I had link to setup sign up pages but times seem to be dictating the request form on each high end widget page. I have thought of the javascript method, but was just checking to see if anyone has had some better ideas... I may experiment with that or a php insert of some sort. Its needed post haste though... Amazingly negative effect on the keyword totals / duplicate content issues I am suddenly getting back from the big g...

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved