Home > Backend Development > PHP Tutorial > How Joomla uses Apache rewrite schema

How Joomla uses Apache rewrite schema

WBOY
Release: 2016-07-29 08:51:44
Original
1212 people have browsed it

The example in this article describes how Joomla uses Apache rewrite mode. Share it with everyone for your reference, the details are as follows:

To enable "Use Apache's rewrite mode: mod_rewrite" you have to do two things first, otherwise your website will not work properly.

Rename the htaccess.txt file in the Joomla installation directory to .htaccess

Method 1: If you use a windows system, install notepad++, then use it to open htaccess.txt and save it as .htaccess.

Method 2: Start - Run - Enter "cmd", open the command line tool, enter the command "edit", click File, open the htaccess.txt file, and save it as .htaccess.

Make sure your Apache has the mod_rewrite function turned on

Method: Open the Apache configuration file "httpd.conf", search for mod_rewrite.so, remove the "#" in front of this line of code, save the document, and restart Apache.

Readers who are interested in more Joomla related content can check out the special topics of this site: "Introduction to Yii Framework and Summary of Common Techniques", "Summary of Excellent PHP Development Framework", "Basic Tutorial for Getting Started with Smarty Templates", "Summary of Common Methods of ThinkPHP" , "php object-oriented programming introductory tutorial", "php string (string) usage summary", "php+mysql database operation introductory tutorial" and "php common database operation skills summary"

I hope that what this article describes will be helpful to everyone based on joomla Programming helps.

The above introduces the method of using Apache rewrite mode in Joomla, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template