Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
joomla:sef [2018/03/05 05:33] eServices Greece |
joomla:sef [2019/04/16 13:41] (current) eServices Greece |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag> | + | {{tag> |
====== Joomla Enable SEF ====== | ====== Joomla Enable SEF ====== | ||
To enable SEO for your Joomla site: | To enable SEO for your Joomla site: | ||
Line 8: | Line 8: | ||
* In the SEO Settings section enable " | * In the SEO Settings section enable " | ||
{{ : | {{ : | ||
- | * Enabling "Adds Suffix to URL" will add .html to most pages (this will depend on the MIME type), for example https:// | + | * Enabling "Adds Suffix to URL" will add .html to most pages (this will depend on the MIME type), for example https:// |
- | * Enabling " | + | * Enabling " |
- | * Final step for this to work you need to rename the file htaccess.txt to .htaccess in the root of your web folder. | + | ===== Create .htaccess ===== |
+ | You will need to create or modify | ||
+ | ==== Command Line ==== | ||
+ | After you login: | ||
<sxh> | <sxh> | ||
- | mv htaccess.txt .htaccess | + | cd public_html |
+ | touch .htaccess | ||
+ | cat htaccess.txt | ||
</ | </ | ||
+ | |||
+ | 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 public_html directory | ||
+ | * From the top right click on Settings | ||
+ | {{: | ||
+ | * On the Pop Up make sure the option **Show Hidden Files (dotfiles)** is Selected | ||
+ | {{: | ||
+ | * Open the htaccess.txt file (Right Click -> Edit -> Edit) and select its contents < | ||
+ | {{: | ||
+ | * 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 < | ||
+ | {{: | ||
+ | * Click on Save Changes on the top right | ||
+ | {{: | ||
+ | |||
+ | This is the default htaccess for Joomla 3+ {{ : |