Robot.txt Help

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

gobbly2100

Established Member
Impact
1
If I want to allow all indexing of my site from search engines what to I need to put in a robot.txt file, I currently have no robot.txt files on my site but my adsense is saying it is getting blocked somehow and apparently I need to make a robot .txt

Any help is much appreciated.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Put this in your meta description (between your <head> and </head>

<meta name="robots" content="index, follow"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
0
Close
I was hoping to make an actual robot.txt

Thanks for the help anyway
 
0
Close
Meta's aren't the same as having a robots.txt - certain spiders expect/want to find a robots.txt file in your web root.

Here's a very basic robots.txt which allows everybody access to everything:

User-agent: *
Disallow:​

To specifically grant access to the Adsense bot, you could also have this in your file:


User-agent: Mediapartners-google*
Disallow:​
 
0
Close
enlytend said:
Meta's aren't the same as having a robots.txt - certain spiders expect/want to find a robots.txt file in your web root.

Here's a very basic robots.txt which allows everybody access to everything:

User-agent: *
Disallow:​

To specifically grant access to the Adsense bot, you could also have this in your file:


User-agent: Mediapartners-google*
Disallow:​

Yeah this one is right, as I've seen in the first post, be reminded that it is robots.txt and not robot.txt - be sure to have the "s" :)
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back