r2 - 03 Jun 2006 - 00:20:19 - ArthurClemensYou are here: TWiki >  Support Web > DirectingToSpecificTopic
Tags:
redirect 1 Add my vote for this tag, , create new tag

Question

I spent the past half day looking for the solution here and in the manuals without luck so I am going to ask the question. I want to direct the users to a particular topic on the main web when they click an IP called wikiapps. Currently that takes them to the root /bin/view . I want them on root /bin/view/main or /bin/view/main/knowledgebase (this selection loses the webleftbar). The document root is C:/twiki . How can I redirect them?

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: MS 2003
Web server: Apache 1.3.35
Perl version: 5.8
Client OS: MS 2000
Web Browser: IE 6
Categories: Installation
-- SumnerRAndrewsJr - 02 Jun 2006

Answer

Use Apache redirect. Create a file .htaccess in the directory your users will be landing in, and write:

# The first path here must be a URL path, not a file pathname
Redirect /index.html url_to_your_twiki_page
Redirect /bin/view/ url_to_your_twiki_page2

-- ArthurClemens - 03 Jun 2006

 
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
Support.DirectingToSpecificTopic moved from Support.DirectinganIPtoaparticulartopic on 03 Jun 2006 - 00:20 by ArthurClemens - put it back
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo