To enable Use URL rewriting in Joomla, you should do the following:
- Log into your Joomla dashboard.
- In the left menu, click on the Global Configuration link under the SYSTEM tab.
- There are several tabs at the top of the page. If you are not on the Site tab, click Site.
- On the right side of the page, find the SEO Settings.
- Set Use URL rewriting option to Yes.
You should enable Use URL rewriting in Joomla 3.x. and rename htaccess.txt to .htaccess.