It seems I read somewhere how to direct a page to begin rendering a site structure created in WCMS, but I've reread the docs several times and still don't find it.
I read and understand how to create layouts, templates, articles, etc. and I'm using the backend from my web server, I just don't yet know how to direct a URL to the database -- isn't there a snippet of redirect code that must go on an index page to get to the database?
how to "associate it with your homepage" ?
Did you ask for this ?
Hello Mr. Pageman,
just reading your posts. Is it possible that you ask for redirecting your account into the subdir where the cms is located ?
Your english is well, but the way you asked is not pointet to a problem....
If so:
Just try google: 'Metatag redirection'
Sorry if my idea is off-topic
Juergen
just reading your posts. Is it possible that you ask for redirecting your account into the subdir where the cms is located ?
Your english is well, but the way you asked is not pointet to a problem....
If so:
Just try google: 'Metatag redirection'
Sorry if my idea is off-topic
Juergen
Re: Did you ask for this ?
DF6IH wrote: Your english is well, but the way you asked is not pointet to a problem....
If so:
Just try google: 'Metatag redirection'
Sorry if my idea is off-topic
Juergen
I think you probably understand the question as I put it. I've not experimented because I have a live web page, and had hoped to read an explanation before trying out PHPWCMS live. At this point, I am guessing no index.html or index.php file is needed, but I've not put much time into it beyond uploading and configuring PHP, setting up a template and uploading some "articles".
If I leave no index.html or index.php file in my main directory, will PHPWCMS automatically produce an index page, presuming I have configured a layout and a publicly viewable article for the main PHP index, and configured the PHP config file to my main URL? If so, then whatever other index.html or index.php file I have in the main directory would keep the SQL/PHP page from loading, right?
Either way, the documentation as it is now presented doesn't seem to answer this fundamental question.
Does a site powered by PHPWCMS need an index.html or index.php file other than what is produced by the subdirectory where the database is located?
Do I need to write any code outside of PHPWCMS to provide instructions where the database is located? Such as an index.html page with some code like <?php include(GoToMySQLPHPindex_or_something); ?>
At an existing site, does the index.html or index.php file need to be removed before a PHPWCMS page can be called from the main directory?
Re: Did you ask for this ?
Pageman wrote:DF6IH wrote: Your english is well, but the way you asked is not pointet to a problem....
If so:
Just try google: 'Metatag redirection'
Sorry if my idea is off-topic
Juergen
I think you grasp the question as I put it. I've not experimented yet because I have a live web page, and had hoped to read an explanation before trying out PHPWCMS live. I just now used a path to the subdirectory where i filed phpwcms and it seemed to return the test information I stored in the database.
Last edited by Pageman on Sat 11. Jun 2005, 04:24, edited 3 times in total.
I've seen this question asked a number of times. Here's how I do all of my WCMS installations:
I always put the WCMS installation in it's own directory, usually called: wcms
In the webroot (usually public_html) I put a simple redirect script:and save it in index.php, which I put into public_html.
Make sure you do not have any other index files (like index.htm, index.html or index.shtml) or they will likely be executed before index.php
After that, all visitors who hit my website are automatically redirected without delay to the WCMS installation.
I always put the WCMS installation in it's own directory, usually called: wcms
In the webroot (usually public_html) I put a simple redirect script:
Code: Select all
<?php Header("Location: http://yourdomain.com/wcms/index.php"); exit; ?>
Make sure you do not have any other index files (like index.htm, index.html or index.shtml) or they will likely be executed before index.php
After that, all visitors who hit my website are automatically redirected without delay to the WCMS installation.
Don Bledsoe
FOREFRONT INTERNET
FOREFRONT INTERNET