Solved

Need to write a specific Robots.txt

Posted on 2014-09-16
1
224 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wondering how you can get your new website ranking on Google Search so that people find you online?  The answer is Search Engine Optimization (SEO). So how do you Start Ranking a New site with SEO?  Below is a starter guide to get your new website S…
With more and more people tethered to the internet, advertisers can reach you in new and creative ways. Push notifications on your smartphone, customized advertisements based on your previous searches, and email inboxes filled with promotional pitch…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
This video teaches users how to migrate an existing Wordpress website to a new domain.

813 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

15 Experts available now in Live!

Get 1:1 Help Now