0
我使用WHMCS-WP系統集成商和需要自定義的網址,我在WordPress的.htaccess文件重寫URL,但它不工作的.htaccess重定向不WordPress的工作與WHMCS-WP集成
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /test/
RewriteRule ^billing/client-area/$ /billing/?whmcsportal%5Bpage%5D=whmcs%3A%2F%2Fwww.thesmarttech.com%2Fclientarea.php
</IfModule>
我目前的網址是
http://www.thesmarttech.com/test/billing/?whmcsportal%5Bpage%5D=whmcs%3A%2F%2Fwww.thesmarttech.com%2F
,我想它rewite到
http://www.thesmarttech.com/test/billing/client-area/
它仍然不能正常工作...它給出的頁面沒有找到錯誤。當我編寫RewriteRule^billing/client-area/$ billing /?whmcsportal \%5Bpage \%5D = whmcs時,您可以訪問http://www.thesmarttech.com/test/billing/client-area/查看錯誤 –
\%3A \%2F \%2Fwww.thesmarttech.com \%2Fclientarea.php [R = 301,L,NE],它工作正常,但當我刪除R = 301它給404錯誤 –