2017-12-31 54 views
-1

나는 Joomla 로컬 사이트가 있습니다 : http://localhost:8080/vanderGiesen이지만 라이브 사이트로 직접 리디렉션됩니다 : https://www.gitaarschoolvdgiessen.nl/en/.localhost가 라이브 사이트로 리디렉션하지 못하도록하는 방법

난 이미 configuration.php 파일이 변경 :

public $tmp_path = '/var/www/vhosts/http://localhost:8080/vanderGiesen/httpdocs/joomla/tmp'; 
    public $log_path = '/var/www/vhosts/http://localhost:8080/vanderGiesen/httpdocs/joomla/logs'; 

그러나 아무것도 변경되지 않습니다.

는 또한 줌라 폴더에 .htaccess을 편집하고 다음 행 삭제 : 있도록
RewriteEngine on 
RewriteCond %{HTTP_HOST} !^www\.gitaarschoolvdgiessen\.nl 
RewriteRule (.*) http://www.gitaarschoolvdgiessen.nl/$1 [R=301,L] 
## End - Custom redirects 

## 
# Uncomment following line if your webserver's URL 
# is not directly related to physical file paths. 
# Update Your Joomla! Directory (just/for root). 
## 

# RewriteBase/

## Begin - Joomla! core SEF Section. 
# 
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 

그래서 변경하는 것, 로컬 사이트가 라이브 버전으로 리디렉션되지 않습니다를?

+0

구성 파일을 변경 한 이유가 무엇입니까? – castis

+0

HI, at : D : \ Xampp \ htdocs \ vanderGiesen – LikeToDo

답변

0

변경 var $ host = 'https://www.gitaarschoolvdgiessen.nl/en/'; ~ var에 $ 호스트 = '로컬 호스트'; in configuration.php

+0

안녕하세요,이 뜻은 다음과 같습니다. public $ host = 'localhost'; Joomla 폴더에 – LikeToDo

+0

그냥 파일을 보면, 말 그대로 ** 두 번째 줄에 ** 다른 사이트로 리디렉션합니다. 적어도 시도해야합니다. – Elin

+0

@LikeToDo 나는 joomla 루트 폴더의 configuration.php 파일 안에 있습니다. 어디에서 $ host = 'Your Live URL'을 찾을 수 있습니까? , 값을 'localhost'로 변경하십시오. – RArora

관련 문제