Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
How can I put some of my textpatern pages private
How can I put some of my textpatern pages private, i.e., only accessible to registered users…
I’m doing a newspaper online #ww.diariocientifico.com, but I wanted to create some content which will only be accessible after some kind of registration. The objective would be like a motivation for my readers to register on my site…
Anyone has any suggestion. Maybe I could complement textpattern with some other software?
Thanks
Offline
Re: How can I put some of my textpatern pages private
textpattern.org is a good ressource for this type of questions…
Last edited by sthmtc (2007-03-17 14:14:44)
Offline
Re: How can I put some of my textpatern pages private
Thanks a lot. You know, I’ve been searching for a solution for this, at the textpattern plugins, but I just did not found it. I’m gonna check this links it out.
Thanks again
Offline
Re: How can I put some of my textpatern pages private
is there a simple way to restrict access to your site for testing/development purposes?
is the easiest way to do this to make a static page that says “site under development” and promote it to the frontpage?
i cant figure this out.
Offline
#5 2007-03-26 05:05:24
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: How can I put some of my textpatern pages private
a simple way to restrict access to your site for testing/development purposes?
Don’t do it on a live site?
Offline
Re: How can I put some of my textpatern pages private
Mary wrote:
Don’t do it on a live site?
is your definition of “live” a site that is publicized and frequently visited? cause if i understand you correctly, you are saying that basically every textpattern site is live in some way or another, but you shouldnt work on a site where the url is well known.
what if you had to make changes to a live site that people visit often and you wanted to take it offline for an hour or two while you install new plugins etc?
Offline
#7 2007-03-26 05:33:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: How can I put some of my textpatern pages private
A “live” site is any site accessible via the Internet.
Updating your live site is not the same thing as testing and developing, so be careful not to confuse the two.
You should always develop and test on a working copy that is offline/local. It means if and when something goes wrong you’re not screwed and your host won’t get irate. And when it actually is time to move your changes to the live server it won’t take “an hour or two” (which often becomes more anyway) to update everything but a couple minutes at most.
You may still need to restrict access to your site when you’re doing so. One option is using .htaccess to direct any visitors that don’t meet certain criteria (such as a specific IP address, for example).
Offline
Re: How can I put some of my textpatern pages private
thanks for clearing that up for me :-)
Offline
#9 2007-03-28 01:30:38
- tsidel
- New Member
- Registered: 2007-03-18
- Posts: 3
Re: How can I put some of my textpatern pages private
How would you suggestion one do this? I am developing a site that will allow my client to maintain their own content (the point of the CMS). I am located in Kentucky, they in Virginia. They wouldn’t be able to see my ‘local’ version. They would like a ‘beta’ version of the site that one would not see when they go to www.website.com. They would like to see the actual page as it would be displayed through something like http://beta.website.com and once they have ‘approved’ that, then they make it ‘live’ on http://www.website.com only those emailed the beta url would see it (or those who are bored and just happen to type in beta.website.com) I hope this make sense. I have suggested they can just double check the content via the login to the cms… but they want to see it as it will be on the web.
I hope my question makes sense.
Mary wrote:
You should always develop and test on a working copy that is offline/local.
You may still need to restrict access to your site when you’re doing so. One option is using .htaccess to direct any visitors that don’t meet certain criteria (such as a specific IP address, for example).
Offline
#10 2007-03-30 13:18:00
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: How can I put some of my textpatern pages private
In that instance, you would install Textpattern for the beta site. For restricting access, one possibility is to use Apache’s Basic Auth – setup a simple username and password that has to be provided in order to access the beta site. It’s only a matter of adding a couple lines to the .htaccess file.
Then you would develop the site as normal (locally). You then copy the changes to the beta site for them to see. When you’re talking about a lot of changes, then the easiest way to do the copying is via a plugin. I personally use Rob’s plugin for doing that sort of thing.
Offline