2017-07-14 19 views
0

に。間違ったホームページのリダイレクト

私はカスタムポストタイプのプラグインから削除スラグを使用し、私の.htacces構造(プラグインコード)がある:

# BEGIN REMOVE SLUG CUSTOM POST TYPE RULES 
RewriteRule ^wafp-subscriptions/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^product/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^product_variation/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^shop_order_refund/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^vc_grid_item/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^avada_portfolio/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^avada_faq/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^wpcr3_review/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^fusion_template/(.+)/\$ /\$1 [R=301,L] 
RewriteRule ^/(.+)/\$ /\$1 [R=301,L] 
# END REMOVE SLUG CUSTOM POST TYPE RULES 

私は、この問題を解決しようとして一日を過ごしたが、私は見つけることができませんでした溶液。

答えて

0

@ピーター・フェザーストーンは、デバッグ結果は次のとおりです。

1 RewriteRule ^wafp-subscriptions/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
2 RewriteRule ^product/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
3 RewriteRule ^product_variation/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
4 RewriteRule ^/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
5 RewriteRule ^shop_order_refund/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
6 RewriteRule ^/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
7 RewriteRule ^/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
8 RewriteRule ^/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
9 RewriteRule ^/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
10 RewriteRule ^vc_grid_item/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
11 RewriteRule ^avada_portfolio/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
12 RewriteRule ^avada_faq/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
13 RewriteRule ^wpcr3_review/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
14 RewriteRule ^fusion_template/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
15 RewriteRule ^/(.+)/\$ /\$1 [R=301,L] This rule was not met. 
16 RewriteBase/ Using/as the base for the rewrites. 
17 RewriteRule ^index\.php$ - [L] This rule was not met. 
18 RewriteCond %{REQUEST_FILENAME} !-f This condition was met. 
19 RewriteCond %{REQUEST_FILENAME} !-d This condition was met. 
20 RewriteRule . /index.php [L] The new url is http://www.sitename.be/index.php 

テストがあるため、あなたのRewriteRuleオプションでLで停止しています。

関連する問題