Solved

Need to write a specific Robots.txt

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Divi Theme - extra fonts I don't want 13 42
Eliminate additional border 1 23
VB.Net. Reading xml value 6 30
WordPress: Debugging from my Windows 10 Desktop 6 39
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Google always has something new and amazing up its sleeve, and the most current thing that they have been working on is another step in the evolution of Google Search, from machine learning to its brilliant successor, deep learning.
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.

820 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