Solved

How to restrict access to pages but still have my content indexed by Google?

Posted on 2016-10-17
4
92 Views
Last Modified: 2016-10-18
I am building a guitar instructional website. It will have lessons, and quizzes to make sure you understand the lesson. I won't let someone move onto the next lesson until they have demonstrated that they understand the concepts that will be important later on, as music theory is cumulative.

How do I restrict their access to future lessons they haven't achieved access to yet while still allowing Google to index the page?
0
Comment
Question by:burnedfaceless
  • 2
4 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 total points
Comment Utility
The question is a bit of an oxymoron, since Google does not "understand" pages - it simply indexes them and derives relationships between the content and the visitors.  But that said, why not look at the larger picture through two lenses -- one lens will be the view of the clients who are studying guitar, the other will be the view of Google and (if there are any left) the other search engines.

If you're studying guitar, you will want to know of a predictable path through the lesson plan.  This is well-embodied in Jeffrey Way's excellent Laracasts web site.  Laracasts shows you the lessons by name, and even allows you to take some of them for free.  The lesson names are very skillfully constructed to have a lot of semantic meaning.  Check it out.

If you're Google, you just need to be able to tell searchers that guitar lessons are available "over here."  To see this in the Laracasts analogy, make a Google search for "Learn Laravel" and see what turns up.  Once you start reading the Laravel lessons on Laracasts, you will bookmark the page, and you won't need Google to tell you where to find it any more.

Google will index a page on the basis of the HTML page title tag, the H1 tags, and a few other things, such as relevant text near the top of the page.  If these things are on target, your pages will be indexed and will be shown in response to related keyword searches.

Parenthetically, there is no substitute for buying Google AdWords to bolster your position in the search results!

To restrict access to the pages that should remain behind the firewall, for whatever reason, just password protect the pages.  Your authentication plan can be multi-level.  For example, a paid client automatically gets access to lesson #1.  And a paid client that has completed lesson #1 automatically gets access to lesson #2, etc.  Lather, rinse, repeat as your students move through the collection of lessons.
0
 
LVL 35

Expert Comment

by:Terry Woods
Comment Utility
There are ways to determine if the viewer of a page is a robot or not, but it is possible for the viewer to provide false information in that regard so you likely can't be completely sure. Given that limitation, will you be satisfied with a technique for robot detection?

There's some code here that does it, though I'm not sure how old it is: http://www.cult-f.net/detect-crawlers-with-php/
0
 

Author Closing Comment

by:burnedfaceless
Comment Utility
Thanks Ray, I'll learn Laravel when I'm a little better at OOP.

My website will be nonprofit, I'll accept donations to cover hosting costs but I want to be a developer. I was a Jazz Studies major though and I see a lot of problems with some of the guitar lessons that are out there.

Anyways I'm hoping this website will help me get a job.
0
 
LVL 108

Expert Comment

by:Ray Paseur
Comment Utility
learn Laravel when I'm a little better at OOP
Ha!  Me too.  But more on point for your question, forget about learning Laravel and instead just look at the way Jeffrey Way (no pun) has set up his courses.  It's really a good design and I think it would work well for guitar, too.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to dynamically set the form action using jQuery.

763 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

11 Experts available now in Live!

Get 1:1 Help Now