Free tools

Robots.txt Examples

Robots.txt file content for trip.com.

Robot.txt file for: trip.com

      User-agent: *
#public
Disallow: /*.woff$
Disallow: /*.ttf$
Disallow: /*.eot$
Disallow: /*.svg$
Disallow: /m/
Disallow: /maintain/
Disallow: /account/
Disallow: /help
Disallow: /passport/
Disallow: /datatool/
Disallow: /maintain/
Disallow: /tripgenie/share
Disallow: /*/getSeoTdk*
Disallow: /*/getHotelSDTSource*
Disallow: /market/datafeed/
Disallow: /newsroom/ghost/
Disallow: /htls/restapi/*
Disallow: /restapi/soa2/*
Disallow: /htls/getHotDestination
Disallow: *searchresults*
Disallow: /searchresult/

#hotels
Disallow: /hotels/Detail/Get*
Disallow: /hotels/Home/ViewedHistory
Disallow: /hotels/map/
Disallow: /hotels/*list*/zones*
Disallow: /*/hotels/*trip.com*
Disallow: /*/hotels/api/*
Disallow: /hotels/detail/?hotelId=* 
Disallow: /m/hotels/w/list
Disallow: /hotel/w/list
Disallow: /m/hotels/w/list/searchresults
Disallow: /hotel/w/list/searchresults
Disallow: /hoh/

#flights
Disallow: /flights/graphql/
Disallow: /flights/ShowFareFirst/
Disallow: /flightsh5/
Disallow: /flights/cs/
Disallow: /flights/showfarefirst*
Disallow: /flights/ShowFareNext*
Disallow: /flights/passenger*
Disallow: /flights/*-to-*/tickets-*
Disallow: /chinaflights/showfarefirst*
Disallow: /chinaflights/ShowFareNext*
Disallow: /chinaflights/passenger*
Disallow: /chinaflights/*-to-*/tickets-*

#cars
Disallow: /cars/list/

#travel-guide
Disallow: /travel-guide/
Allow: /travel-guide/destination/
Allow: /travel-guide/attraction/
Allow: /travel-guide/shops/
Allow: /travel-guide/foods/
Disallow: /travel-guide/attraction/*/near-me/
Disallow: /blog/attraction/
Disallow: /review/
Disallow: /moments/tag-*
Disallow: /travel-guide/attraction/*/tourist-attractions/comment*
Disallow: /travel-guide/attraction/*/tourist-attractions/ticket-book-available*

#trains
Disallow: /trains/list
Disallow: /train/*/book
Disallow: /trains/*/list
Disallow: /trains/activity/
Disallow: /korail/dest
Disallow: /railcard/detail/*
Disallow: /railcard/home
Disallow: /railcard/empty
Disallow: /railcard/orderdetail
Disallow: /railcard/complete
Disallow: /trains/korail/routedetail
Disallow: /trains/*/returnlist
Disallow: /trains/*/seatselect
Disallow: /trains/*/order

#finally
Disallow: /*?*aid=*
Disallow: /*?*AID=*
Disallow: /*?*Allianceid=*
Disallow: /*?*allianceid=*
Disallow: /*?*sid=*
Disallow: /*?*SID=*
Disallow: /Date(*
Disallow: /*/Date(*
Allow: /?locale=en_my$
Allow: /?locale=en_hk$


User-agent: AdsBot-Google-Mobile
User-agent: AdsBot-Google
Disallow: /*.woff$
Disallow: /*.ttf$
Disallow: /*.eot$
Disallow: /*.svg$
Disallow: /m/i18n/
Disallow: /m/flights/sem/
Disallow: /travel-guide/
Disallow: /m/travel-guide/
Disallow: /market/datafeed/
Allow: /travel-guide/*/hotellist-*
Allow: /travel-guide/attraction/*
Allow: /travel-guide/destination/*


User-Agent: Googlebot-Image
Disallow: /*.jpg$


User-agent: Twitterbot
Allow: /