私はJoomlaローカルサイト:http://localhost:8080/vanderGiesen
を持っていますが、ライブサイト:https://www.gitaarschoolvdgiessen.nl/en/
に直接リダイレクトします。ローカルホストからライブサイトへのリダイレクトを停止する方法
私はすでに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';
しかし、何も変わっていません。
私はまた、Joomlaのフォルダに.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}]
内容を変更するには?
なぜ設定ファイルに行った変更をしましたか? – castis
HI、D:\ Xampp \ htdocs \ vanderGiesen – LikeToDo