• You are here:
  • »
  • sef

Joomla Enable SEF

This is an old revision of the document!


Joomla Enable SEF

To enable SEO for your Joomla site:

  • In the SEO Settings section enable “Search Engine Friendly URLs” & “Use URL Rewriting”

  • Enabling “Adds Suffix to URL” will add .html to most pages (this will depend on the MIME type), for example https://domain.tld/index.html or https://domain.tld/index.php
  • Enabling “Unicode Aliases” will use the exact text in the alias of each object instead of using transliteration for non ANSI aliases.

Create .htaccess

You will need to create or modify .htaccess in your plan.

Command Line

After you login:

cd www
touch .htaccess
cat htaccess.txt  >> .htaccess

Please note that this will just append the contents of the default Joomla htaccess.txt to the current .htaccess if it exists or create a new one if it does not exist

cPanel

  • Go to the File Manager
  • Go to the WWW directory
  • From the top right click on Settings and make sure the option Show Hidden Files (dotfiles) is Selected
  • Open the htaccess.txt file (Right Click → Edit → Edit) and select its contents (CTRL + Alt) and copy them (CTRL + Ctrl)
  • Close the Editor from the top Right button (Close)
  • Open the .htaccess file and paste the contents you copied in the end of the content in the file (CTRL + V)
  • Click on Save Changes on the top right

This is the default htaccess for Joomla 3+ htaccess.txt

/home/www/sites/esgr.in/wiki/data/attic/joomla/sef.1545409201.txt.gz · Last modified: 2018/12/21 16:20 by eServices Greece