Solved

Need to write a specific Robots.txt

Posted on 2014-09-16
1
219 Views
Last Modified: 2014-09-16
Hello,

I have a question I'm curious about

I'm developing a WordPress site and I'd like to block pretty much every page from displaying on Google bar one or two specific pages

How would i go about writing the robots.txt for this?

This is purely for Google aesthetic presence within the organic listings.

I'm experienced with SEO but quite the novice with WordPress.

I know i can Disallow : / pages but how would i go about disallowing everything besides two page URLs?

Any advice is appreciated

Thank you
0
Comment
Question by:Colliwobble
1 Comment
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40327169
User-agent: GoogleBot
Allow: /page1.php
Allow: /page2.php
Disallow: /
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

[Part 6 of a 6 part series called SEO Basics: 5 SEO Secrets for Creating Content that Drives Traffic (http://www.experts-exchange.com/Web_Development/Internet_Marketing/Search_Engine_Optimization_SEO/A_8369-SEO-Basics-5-SEO-Secrets-for-Creating-Cont…
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now