Rewriting .htaccess Files for SEF URLs in Joomla!
To enable Search Engine Friendly (SEF) URLs in Joomla!®, you must first enable RewriteBase
in your .htaccess
file.
To Rewrite .htaccess Files for SEF URLs in Joomla!
- Create a copy of your Joomla! installation's
.htaccess
file. For more information, see Copying Files between Directories Using the FTP File Manager. - Rename
.htaccess_copy
to.htaccess.bak
. For more information, see Renaming Files and Directories Using the FTP File Manager. - Using your hosting account's editor, open your
.htaccess
file. - Locate the following line of text, and then delete the
#
:# RewriteBase / - Save your changes.
You can now enable SEF URLs. If you need more help, see Enabling Joomla! Search Engine Friendly URLs.
If you encounter any issues, you can use .htaccess.bak
as a backup of your .htaccess
file.