开发者

php .htaccess mod_rewrite problem

开发者 https://www.devze.com 2023-02-09 12:53 出处:网络
hi friends there is some problem i need to convert http://localhost/joomla/index.php?option=com_myblog

hi friends there is some problem i need to convert http://localhost/joomla/index.php?option=com_myblog to http://localhost/joomla/blog throug开发者_如何学运维h .htaccess any help?


If I'm not mistaken, Joomla by default ships with an htaccess.txt file that contains all the necessary script to do that. You just need to rename the file to .htaccess and enable the "friendly url" option in your sites settings.


http://www.noupe.com/php/10-mod_rewrite-rules-you-should-know.html ........ .htaccess should be in com_myblog folder other wise url mapping will not work like in noupe post it says URLs are Always Relative. problem solved thanks for anybody response

0

精彩评论

暂无评论...
验证码 换一张
取 消