How to manage URL redirects > Virtualmin Guide

본문 바로가기
 

How to manage URL redirects

페이지 정보

작성자 휴먼 댓글 0건 조회 8,370회 작성일 11-08-02 08:05

본문

How to manage URL redirects

Posted 2009-01-20 14:41 by andreychek

This tutorial will cover how to setup URL redirects. A URL redirect allows you to make one URL redirect to another of your choice.

It assumes you have first logged into Virtualmin.

  1. Choose the domain for which you would like to add the URL redirect. You can do that by selecting the domain name from the drop-down box on the top-left.

  2. Click Server Configuration.

  3. Click Website Redirects.

  4. Click Add a new website redirect..

  5. What URL do you want redirected? Enter the path in the Source URL path field. A URL path is something like /</code, <code>/foo, or /foo/bar.

  6. In the Destination field, enter the full URL it should redirect to. That would look something like http://www.example.com/redirect_here/

  7. Click Create.

just put in the "permanent

just put in the "permanent redirect" option you directoy to redirect:

In from section:

/ for whole domain or

/folder/ for folder under domain

in To: section do address to send to:

eg: http://www.newdomain.com/

thats it. save it and you may need to restart apache.

this will act as a wild card redirect too.

Posted by haydent on Wed, 2010-11-03 23:46

댓글목록

등록된 댓글이 없습니다.

Total 32건 1 페이지
게시물 검색