ali khan
ali khan

Reputation: 1

php .htaccess mod_rewrite problem

hi friends there is some problem i need to convert http://localhost/joomla/index.php?option=com_myblog to http://localhost/joomla/blog through .htaccess any help?

Upvotes: 0

Views: 109

Answers (2)

ali khan
ali khan

Reputation: 1

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

Upvotes: 0

Daan
Daan

Reputation: 6994

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.

Upvotes: 2

Related Questions