Welcome to WebmasterWorld Guest from 54.196.238.210

Forum Moderators: goodroi

Message Too Old, No Replies

Disallow indexing on dynamic files

Disallow indexing on dynamic files

     

premzero

1:29 am on Dec 10, 2003 (gmt 0)

10+ Year Member



On my website, I have a few dynamic pages generated using one file. Say x.cfm.
So the resulting dynamic pages are:
/x.cfm?a=987&b=787
/x.cfm?a=987
etc...

You get the idea.

How do I disallow the search engines from indexing any link with x.cfm? I'd appreciate the full correct code since I don't know much about robots.txt formatting.

Thanks

pageoneresults

1:37 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hello premzero, Welcome to WebmasterWorld!

User-agent: *
Disallow: /x.cfm?

That should do it.

Validate your robots.txt file here...

robots.txt Validator [searchengineworld.com]

pageoneresults

1:48 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member pageoneresults is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I'd appreciate the full correct code since I don't know much about robots.txt formatting.

Open up Note Pad. Cut and paste the code above into NP. Do a save as robots.txt. Upload to the root level of your web. It must reside in the root level, the URI should look like this...

http*//www.example.com/robots.txt

premzero

4:59 am on Dec 16, 2003 (gmt 0)

10+ Year Member



Sorry I've been away.

Thanks for the reply. I'm implementing it right away!

Cheers!

tenaka

2:51 pm on Dec 25, 2003 (gmt 0)

10+ Year Member



what permissions to give the robots.txt 755?

bill

2:58 am on Dec 26, 2003 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



what permissions to give the robots.txt 755?
644 should suffice
 

Featured Threads

Hot Threads This Week

Hot Threads This Month