Joomla uses the Apache rewrite mode, joomlaapache
This example describes how Joomla uses the Apache rewrite mode. We will share this with you for your reference. The details are as follows:
To enable "use Apache rewrite mode: mod_rewrite", you need to do two things first, otherwise your website will not work properly.
Rename the htaccess.txt file under the joomlainstallation directory to. htaccess
Method 1:If you use Windows, install notepad.txt, and then use htaccess.txt to save it as. htaccess.
Method 2:Start-run-Enter "cmd", open the command line tool, enter the command "edit", click the filepath, open the htaccess.txt file, and save it as. htaccess.
Make sure your Apache has enabled the mod_rewrite function.
Method: Open the Apache configuration file "httpd. conf", find mod_rewrite.so, remove "#" before this line of code, save the document, and restart Apache.