Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-07-11 07:18:42

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Best way for testing a TXP site

Hi,

What is the best way for testing a TXP site in a live environment? I’m almost through testing on localhost but don’t feel like uploading everything to the site’s root before I know everything is working properly.

Do I have to create a subdomain first? For instance: www.mysite.com/test or is there an other, easier trick?

Thanks in advance.

Last edited by maarten (2006-07-11 07:19:07)

Offline

#2 2006-07-11 07:31:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,350
Website GitHub Mastodon Twitter

Re: Best way for testing a TXP site

If your url is not ‘live’ yet what about adding a robots statement?

<code><meta name=“robots” content=“noindex,nofollow” />
<meta name=“revisit-after” content=“10 days” /></code>

If it is live maybe “/test” would do it. (I would still have the meta tags though)

Last edited by colak (2006-07-11 07:32:22)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2006-07-11 07:35:30

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Re: Best way for testing a TXP site

The URL is live all right. It now has an index page with something like “come back soon”. What I would like is to work on the live URL without anybody being able to see what I’m working on.

Offline

#4 2006-07-11 08:01:08

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,674
GitHub Twitter

Re: Best way for testing a TXP site

Your splash screen “coming soon” is attached to the “default” css and the “default” page. So create sections and pages for each new one, attached them to an another css file. You can declare in each head of these sections <code><link rel=“stylesheet” href=”<txp:css n=“instance” />” type=“text/css” media=“screen” /></code>.
Now, you can go to your site with this kind of url http://www.mysite.com/mysection/


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#5 2006-07-11 10:05:23

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

Re: Best way for testing a TXP site

ok! thanks!

Offline

#6 2006-07-11 16:40:48

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Best way for testing a TXP site

Unless the order has been modified on your server, you can just put your splash page as an index.html file and develope your TxP site in private. A browser landing on the root will be given the index.html first if it exists and so will not even see the index.php. When you have the site the way you want it you can delete the index.html file and go live with the site.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

Board footer

Powered by FluxBB