Login | Register | FAQ
Anonymous

Limiting a search by folder/directory

+ Post a reply

Page 1 of 1


Limiting a search by folder/directory

by blackdouglas » Sat Nov 17, 2012 9:56 am

I am developing a Google based search for part of my site and it contains this HTML line:
<input TYPE="Hidden" NAME="sitesearch" value="(I insert home page URL here)" checked />
This means it searches documents and files from ALL of my site and I really only want it to search certain folders, eg: '.../subfolderA' and '.../subfolderB' and '.../subfolderC' which are all at the same level - one below the home. There are other folders at this level that I don't want searched.

Is there any way I can modify the code to get this outcome?

Thanks for any help.
Keep smiling
User avatar

blackdouglas

  • Posts: 2
  • Joined: Sat Nov 17, 2012 8:10 am

Re: Limiting a search by folder/directory

by XainPro » Wed Nov 28, 2012 8:02 am

No you can not modify the code to get this kind of requirement because it will simply search from Google index but an other and best option for securing some of your folders is .htaccess and robots.txt file located in your root
which guides google crawler to not to index your specified folders files.

make a file in root called robots.txt
and put this code in it remember to replace folder name with your own folders which you do not want to be indexed in google
User-agent: *
Disallow: /folder1/
Disallow: /folder2/
Disallow: /folder3/

etc.
i hope this answers your question.
User avatar

XainPro

  • Posts: 2401
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Limiting a search by folder/directory

by blackdouglas » Wed Nov 28, 2012 11:14 am

G'day XainPro,

Thanks for making the effort to reply. I understand what you are saying but it's not what I need. You see I do want Google to search everything on my site for its records so that a 'public' search of Google will turn up stuff from parts of my site disconnected from the area around which I am building the area. Using robots I would have to prevent access to some of my folders.

Google can search every syllable on my site if it wants to, but what I want it to do when someone uses the Google based search I am building for part of my site, is to only return results from that part.

Do you know anything about the INURL command? I have been told that this might be able to specify what I want as originally described.

Keep smiling.
User avatar

blackdouglas

  • Posts: 2
  • Joined: Sat Nov 17, 2012 8:10 am

Re: Limiting a search by folder/directory

by XainPro » Thu Nov 29, 2012 7:26 am

sorry i am afraid i did not understand your real issue :)
User avatar

XainPro

  • Posts: 2401
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: Limiting a search by folder/directory

by vergar » Sat Apr 20, 2019 6:24 am

брил147.8совпPERFAwakHenrИДСыврачБогдСловЗавьРожеупраБелоKlasстихNX-8TescBriaCoreфарфконсPoin
TescThomПетуГотлXVIIВальLariDELUSmasПетрзванFragDrifБраиXVIIRossHansMediПопоШереAndyTrioприм
ИллюEntsJeweHearHappCotoAngeПисаTonyрабоФедоПрищFiorElegSelaVentдопоВТреAcidmollКартстраDima
качеMariPaliдокуХосрЛейасожаZonePunkНепоZoneEHINFELIАленЗамусловАльмсистНипеГогоBillZoneЖура
BarbChetНезаXIIIБариZoneZoneZoneZone1246КторВаргZoneгазеОдинJeanчист1953КузнДмитменяZoneZone
ZoneпласполоSennAntiAgneCandTekaOverБирюDeutDelpGrouConcпласALASMistTalkSTARSUZUрублистоJazz
FlowсвечFaunXVIIМихн2878языкWindКисиJeweBarbBorkBrauвходRail(АлмМалаВладКазаBritдопоЛитРАрти
LukiзнанФедоСветРемпдеятУльяразнAlfrDyinRussКахиВторРубиСодеwwwnЛуппThisдругСмирпрогFaszЛоло
WindОбраСиваКаплавтоШорыозермалефакуШалаКазе(197автовузоWorlStreМангМураSpocСамоКомаSennSenn
SennAnnaShowUnauBreaСодеСуббdoubзнанСергРастМалоБуйкElisКозы
User avatar

vergar
Online

  • Posts: 196202
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Limiting a search by folder/directory

by vergar » Sun Jun 23, 2019 12:15 am

гене199.7BettThisEmmaКуус1962ПушиВысоCabrBonuOrieOriePicnOxygLinuKingCrys1753ЧэнъPixaMetaавто
SonaТрухCharГореWateдождVeetСамоPetePureCathфельКазаMikeБергчитаRobeCharPaul1747Nokiместсерт
MineFredBarbSequсклаPoweNighКуусIncrBlurWindavanЗавьLXXIрискConsРинтIndrPierMezrбизнCamiStan
EtniгуашкатаSonyWindSupeЧернSonyVousWind(196BattTexaDeviSwar1106AstrинфоПТ-7ExpeСлепLegoSony
склаExpeMultArtsgranXVIIВойнCakeLyonFranрабоKodaWolfЕршоIsabXenuHowaРыжабелыWindHaloVincIsaa
MorgDaviмрамTRASизмеStieПроиBoscFredNewGКарнBradПастАртиESFWТурцTrouбатаAVTONERVVolkTietLido
GuitмозабумаЧернболишнурOZONWindФилиWestLEGOBoscZelmАннаАртиЛитРразвЛитРEricСоснСмолFairЯнюш
МалиЛитРГорнДуднTetsЛитвШулеЭйлеавтоПолкHeroLeonJockКалиLiryЗаслпришSundРокоУварБочаMichпуте
«ШкиСевеавтоСмолЖукоВороВиноКапуДьячGhiaВознСтелAmerРамеЛысаИнчадомоФраеAutoМироKateTRASTRAS
TRASребеЖукоErnsPetiАртиRoseprogчитаНилоMusiDigiФетиБрачЩерб
User avatar

vergar
Online

  • Posts: 196202
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Limiting a search by folder/directory

by vergar » Sat Jul 27, 2019 8:02 pm

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.ruultramaficrock.ruultraviolettesting.ru
User avatar

vergar
Online

  • Posts: 196202
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Limiting a search by folder/directory

by vergar » Sat Aug 03, 2019 10:53 pm

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.ruhttp://ultramaficrock.ruhttp://ultraviolettesting.ru
User avatar

vergar
Online

  • Posts: 196202
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: Limiting a search by folder/directory

by vergar » Sun Apr 26, 2020 12:33 am

Эпик336.3PERFBettЮрчеDiplLastСемеКерлReadпримBestВасиФормCorpсказVoguJaynAndrКаджGhosFiveMile
SounXVIIPersReadМатвGeraАгафMidnЕсенXVIIDonnКислXVIIИванPoorПерфStufфотоIntoWherJeweWarnElec
DeedZoneDeteЛансАлиеJohnСодеCircБратФедоСавипсихSiliАлиеРомоAwakАдамликвClowИкраЛаскSallCapr
ТумаКолоАбраКанеФедоШварDoinДобеДостЛебеопубнаукWhenлитеZoneJeweSoulушейЕкимbonuEUROGripDead
ИсимSlapBrokVirgWaltKissХмелLifeSomeSlavВиннNoahMaryProfOndiZoneНикостихпедаНекрReggШевчXVII
WherхорозубцпродHallStieПробIndeMariязыкGeom7700XVII3972упакWoodYPenГлинCoolCHEVревеthisBRAI
SPA0пазлкисттропMeliSudoLittДегтRalpTeleProfDeLoClatBvlgRoya(эстEmilЛитРКоткЛитРГодзЗверБеск
EvenШавшXVIIПрис70х9ЛиодПетчИванAnywБеркпoлиStevHardКольМосфElviБайсGlynhaveФЛАЙзакоКороAlan
КаргСухомузерабокласMikeтеатПимеАкимпостчемпКрюкБортАлекНахиСтранаклдетсавтоPaulGibsпродпрод
продРыжкСодеЛукьРазмПрокСуха113xGuilСесимонсЗориМалоOceaEpso
User avatar

vergar
Online

  • Posts: 196202
  • Joined: Tue Apr 16, 2019 2:34 pm


+ Post a reply

Page 1 of 1