0
1.從代碼:http://www.topcafirms.com/index.php/component/tpjobs/articletraineedetails/49的.htaccess重寫動態URL(的Joomla tpjobs)
1.To:http://www.topcafirms.com/article/49
我M無技術....請讓我知道在增加。 htaccess的
1.從代碼:http://www.topcafirms.com/index.php/component/tpjobs/articletraineedetails/49的.htaccess重寫動態URL(的Joomla tpjobs)
1.To:http://www.topcafirms.com/article/49
我M無技術....請讓我知道在增加。 htaccess的
你真的想:
/article/49 => index.php/component/tpjobs/articletraineedetails/49
這裏的RewriteRule
RewriteEngine On
RewriteBase/
RewriteRule ^article/(\d+)/?$ /component/tpjobs/articletraineedetails/$1 [L]
注意:我對Joomla並不熟悉。它可能需要進一步重定向鏈接。所以L
標誌可能需要刪除。
我試過了,但沒有發生.... :(目前...有額外的重寫規則工作...(如下)....這可以有任何理由不工作RewriteEngine上 RewriteCond% {REQUEST_FILENAME}!-f RewriteCond%{REQUEST_FILENAME}!-d RewriteRule ^(。*)$ profile.php?username = $ 1 –