Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-08 08:42:07

stephenlang
New Member
Registered: 2006-06-08
Posts: 5
Website

Moving Textpattern Directory

Apologies if the anser to this is on the FAQ but I’ve been unable to find it.

I have set up a site with Textpattern using a subdirectory ‘blog’, for example:

www.mywebsite/blog

Now I’m happy with everything I want to move the pages to the public_html directory of my main site, example:

www.mywebsite/

Do I have to move the entire blog subdirectory (if so -how do I?) , or can I create an index.php file for www.mywebsite/ that will display my default Textpattern page?

Thanks

Offline

#2 2006-06-08 09:09:40

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,393
Website GitHub Mastodon

Re: Moving Textpattern Directory

Here’s a basic check list:

  1. move the entire subdirectory and all its descendants one level up (ftp)
  2. adapt the entry $txpcfg['txpath'] in config.php accordingly
  3. mind the proper settings for files and images in the “preferences” screen.
  4. amend absolute path names to images in article texts, if they have changed.

Offline

#3 2006-06-08 15:08:33

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Moving Textpattern Directory

Offline

#4 2006-06-09 08:49:39

stephenlang
New Member
Registered: 2006-06-08
Posts: 5
Website

Re: Moving Textpattern Directory

Fantastic. Thank you very much.

Offline

Board footer

Powered by FluxBB