0

.htaccess ファイルがループしています。

このサイトは現在古い Joomla サイトであり、Word Press サイトに置き換えようとしています。
/new というサブディレクトリに WP をインストールしました。WP サイトに満足したら、Joomla のサイトを削除します。

現在、www.mysite.com.au/new にアクセスしようとすると、読み込まれず、リダイレクトが多すぎるというエラー メッセージが表示されます。

トップレベルで私はこれを持っています

# @version $Id: htaccess.txt 423 2005-10-09 18:23:50Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##

#
#  mod_rewrite in use
#

RewriteEngine On

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

# RewriteBase /YourJoomlaDirectory

#
#  Rules
#

RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

RedirectMatch permanent ^/ContactUs.htm$ http://www.sitename.com.au/content/view/14/30/

RedirectMatch permanent ^/Contents.htm$ http://www.sitename.com.au/content/view/21/57

RedirectMatch permanent ^/new/$ http://www.sitename.com.au/new/index.php/

/new ディレクトリには次のようなものがあります。

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /new/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /new/index.php [L]
</IfModule>

# END WordPress

答えはとてもシンプルだと思いますが、私にはそれが見えません...何か提案はありますか?

乾杯

4

1 に答える 1