Jump to content

Recommended Posts

Posted

Help! I went throught the great document on MT provided by TCH (http://www.totalchoicehosting.com/help/id76.htm) but got stuck.

 

The MT installation document says to configure the weblog for your own purposes, which I started but can't seem to firgure out how to complete correctly. I am confused by the .... fill in the path and URL information (Local Site Path, Site URL, Local Archive Path, and Archive URL). Values for Local Site Path and Site URL are provided by default, to give you a sense of what the paths should look like; when setting the vaules of Local Site Path and Local Archive Path, it is best to use absolute paths (paths beginning with a /), rather than relative paths. Note that all four of these fields must be filled in.

 

OKAY! So I have no idea what to put into the Local Site Path. I have tried many different things and nothing works when I click Save Changes, then click Rebuild Site I get:

 

An error occurred:

Writing to '/public_html/mt/index.html.new' failed: Opening local file '/public_html/mt/index.html.new' failed: No such file or directory

 

I have tried putting in:

/

/mt/

/public_html/mt/

/public_html/

 

and all give me the same error but with what I've tried in it's place.

 

What am I doing wrong?

:thumbup1:

Posted

It really depends on which path you are setting. If you are setting the location of the index file and want it visible when you enter your domain name in the browser then /home/atomicmr/public_html/ would be correct. /home/atomicmr/public_html/mt would be the path to the MT files.

Posted

Local Site Path is the base filesystem directory where MT will write its index templates (such as your weblog's home page). The lowest level directory you should set this to is /home/cpanel_name/public_html, because that's the lowest level directory that the web server can serve pages from.

 

Site URL is the URL that you would put into a browser to display the directory named in Local Site Path. /home/cpanel_name/public_html = http://www.put_your_domain_here.com/'>http://www.put_your_domain_here.com/, so again at a minimum, you'd need to enter http://www.put_your_domain_here.com/ (with the trailing slash) in the Site URL box.

 

If you wanted your weblog to be based in a subdirectory (such as /blog), you would modify both the Local Site Path and Site URL fields to reflect that:

 

Local Site Path: /home/cpanel_name/public_html/blog

Site URL: http://www.put_your_domain_here.com/blog/

 

Generally, it is not recommended that you set Local Site Path to the same directory where your MT files are installed. This will cause MT to mix the MT application files with your weblog's html pages in the same directory.

 

Local Archive Path is the base filesystem directory where MT will write its archive templates (such as category archives or individual entry archive pages). Most people use a subdirectory of the Local Site Path such as "archives" to place these pages in (such as /home/cpanel_name/public_html/archives).

 

Archive URL is the URL that you would put into a browser to display the directory named in Local Archive Path. /home/cpanel_name/public_html/archives = http://www.put_your_domain_here.com/archives/'>http://www.put_your_domain_here.com/archives/, so you'd enter http://www.put_your_domain_here.com/archives/ in the Archive URL box (and this setting should also have a trailing slash).

 

If you chose to configure MT to be in a /blog subdirectory, and you wanted the archives to be in an "archives" subdirectory of blog, you would set up the Local Archive Path and Archive URL like this:

 

Local Archive Path: /home/cpanel_name/public_html/blog/archives

Archive URL: http://www.put_your_domain_here.com/blog/archives/

 

The directory you set for Local Archive Path should also not be the same directory where your MT files are installed.

 

Hope this helps...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...