0
私はintallにサブディレクトリにwordpressをulploadedしました。そのパスは私がブラウザでこのURLを開くとこれが http://greenlinerenovations.com/revslider-standaloneリダイレクトが多すぎます。 htaccessを使用してパスをサブフォルダにリダイレクト
フルパスです public_html/revslider-standalone
あり、それはあまりにも多くのリダイレクトを言います。以下は、.htaccessの
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^About+$ about.php
RewriteRule ^FAQ+$ faq.php
RewriteRule ^Contact+$ contact.php
RewriteRule ^Gallery+$ gallery.php
RewriteRule ^Areas-we-service+$ cities.php
RewriteRule ^(([^/]+/)*[^.]+)$ servicesparse.php?name=$1
のための私のコードは、どのようなルールが追加されたり、そのパス上のWordpressをインストールするために修正されなければならないのですか? htaccessファイルのリダイレクトは必須であるため、削除することはできません。とにかく新しいルールを追加することはありますか?
前
RewriteCond
で。ありがとう !! – user3288891
私のhtaccessに何が間違っていたか説明できますか? – user3288891
'RewriteCond'次の最初の' RewriteRule'に対してのみ動作します – Croises