Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Index Page Creation

 

 


Johnnymo
New User

Jun 21, 2002, 10:49 AM

Post #1 of 9 (4851 views)
Shortcut
Index Page Creation Can't Post

Hi there. Just wondering if there is a simple way to have Article Manager duplicate the index.shtml file that serves as the home page of published content as the main index.htm or html page of my site. Or, can I get this http://www.againsttheline.com/artman/publish/index.shtml to publish as http://www.againsttheline.com/index.html" instead?

Basically, I am trying to figure out the best way to set-up my site so I don't have to use a redirect or push to route visitors to my main page. I am also concerned that I will have troubles with search engines if I use a redirect on the index page. And finally, I don't really want to have to copy the index.shtml manually and save it out as html and then use FTP to overwrite what is currently there. Any ideas?

Thanks in advance,

John


Luke
Staff / Moderator


Jun 21, 2002, 11:00 AM

Post #2 of 9 (4848 views)
Shortcut
Re: [Johnnymo] Index Page Creation [In reply to] Can't Post

It's probably best to have the articles and front page always publish to the /artman/publish/ directory. This makes your web root look tidier. You can always just use a server side include to include the entire Front Page index form your /artman/publish directory into your web root. Simply create an index.shtml page and place the following tag into it. Make sure to not have anything other then this tag:

<!--#include virtual="/artman/publish/index.shtml" -->

When done, make this page your web roots index page.

Hope this helps! :)

Luke Holzken
Product Development


Dave
Staff / Moderator


Jun 21, 2002, 11:21 AM

Post #3 of 9 (4845 views)
Shortcut
Re: [Luke] Index Page Creation [In reply to] Can't Post

Also, you'll want to make sure your web hosting provider is setup to show index.shtml pages by default. Some only show index.html and you need to ask your hosting provider to enable index.shtml (or do it yourself).

For those who are curious, we actually use Luke's trick on our own website, so that when users come to our root page they actually see our /products/ index page. Take a look:

http://www.interactivetools.com/ - simple SSI
http://www.interactivetools.com/products/ - real page

We used to use a redirect but decided this method might be more search engine friendly.

Dave Edis - Senior Developer
interactivetools.com
 


Johnnymo
New User

Jun 21, 2002, 12:30 PM

Post #4 of 9 (4841 views)
Shortcut
Re: [Dave] Index Page Creation [In reply to] Can't Post

Thanks guys.... works perfect.

Check it out if you feel so inclined.....

http://www.againsttheline.com


Dave
Staff / Moderator


Jun 21, 2002, 2:08 PM

Post #5 of 9 (4838 views)
Shortcut
Re: [Johnnymo] Index Page Creation [In reply to] Can't Post

Hey, that looks great! Once other tip, if you don't like having /artman/publish/ in your URLs you can always create another folder and have it publish there, "content", "news", "articles", whatever makes sense. Either way works fine though.

Dave Edis - Senior Developer
interactivetools.com
 


Lionel
User

Sep 5, 2002, 1:06 AM

Post #6 of 9 (4292 views)
Shortcut
Re: [Luke] Index Page Creation [In reply to] Can't Post

I'd like to do the same. My problem is that the publish directory is password protected to members. I only need the frontpage as a teaser. I got it to work fine with vbulletin, protecting only the articles. Unfortunately I need to use a software that will protect entire directories instead of individual file.



Can't I just hardcode the cgi to create a second index at a different location? If yes, how?


(This post was edited by Lionel on Sep 5, 2002, 1:08 AM)


Luke
Staff / Moderator


Sep 5, 2002, 4:34 PM

Post #7 of 9 (4273 views)
Shortcut
Re: [Lionel] Index Page Creation [In reply to] Can't Post

Hi Lionel,

One thing you could do is have all of the articles publish to another directory under the /publish directory (e.g. /publish/articles) and keep all of the indexes (main index and category index) in the /publish directory.

So instead you could password protect the /publish/articles directory (site visitors can read summaries but you have to be a member to read the full articles) and leave the /publish directory unprotected, this would allow you to use a Server Side Include call to include your Article Manager main index into your websites index.

Let me know if this will work for you and I'll provide you with instructions on how to set this up. :)
Luke Holzken
Product Development


Lionel
User

Sep 5, 2002, 5:22 PM

Post #8 of 9 (4271 views)
Shortcut
Re: [Luke] Index Page Creation [In reply to] Can't Post

thanks


Luke
Staff / Moderator


Sep 9, 2002, 4:56 PM

Post #9 of 9 (4206 views)
Shortcut
Re: [Lionel] Index Page Creation [In reply to] Can't Post

Hi Lionel,

Here's what you'll need to do.

1. In your /artman/publish/ directory create a directory called "/articles/" (on Unix servers set chmod 777 to this directory, on Windows make sure to give it read/write permissions)

2. Log into Article Manager and go to the "Setup Options" --> "Server" tab --> Scroll down to "Publish Settings". In the "Article Pages" field change "article_" to "articles/article_".

3. Now republish all of your articles by clicking the "Publish All" button. The articles will all be published to the /artman/publish/articles/ directory.

4. You'll now want to remove your password protection from the /publish directory and give the same password protection to the /publish/articles directory instead.

5. Now that the /publish directory is no longer password protected, and because your main index page is still published to the /publish directory you can now add an index.shtml page to your web root that includes Article Manager's main index page. Simply just follow the instructions in my original reply to Johnnymo posted above.

If you have any other questions please feel free to let me know. :)

Luke Holzken
Product Development