Forum Moderators: phranque

Message Too Old, No Replies

Redirect from root to subfolder

         

vsurlan

12:33 pm on Sep 17, 2005 (gmt 0)

10+ Year Member



I have a typo3 implemented site on a .hr domain. Server is Linux and typo3 uses symlinks. My URL looks like this
www.domain.hr/dummy-3.8.0 but I want it to look like this www.domain.hr. I do have access to Apaches mod_rewrite. Where can I find an example of this simple rewrite?

jdMorgan

3:57 am on Sep 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



vsurlan,

Welcome to WebmasterWorld!

Can you please post more information about what you are trying to accomplish?

Be advised that mod_rewrite is only half of the solution. In order to publish 'friendly' URLs, you must modify the links that are output on your pages, clicked on by visitors, and followed by search engine robots. Mod_rewrite can then be used, when these friendly URLs are requested, to rewrite the request to the directory where the content is actually located.

Examples of simple rewrites are available in the documentation cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim