Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
joomla:sef [2018/12/21 16:16]
eServices Greece [Joomla Enable SEF]
joomla:sef [2019/04/16 13:41] (current)
eServices Greece
Line 1: Line 1:
-{{tag>joomla sef seo rewrite htaccess}}+{{tag>joomla sef seo rewrite htaccess guide}} {{howhard>1}}
 ====== 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 "Search Engine Friendly URLs" & "Use URL Rewriting"   * In the SEO Settings section enable "Search Engine Friendly URLs" & "Use URL Rewriting"
 {{ :joomla:sef.png?nolink |}} {{ :joomla:sef.png?nolink |}}
-  * 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 "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 (<wrap em>Not Recomended</wrap>) 
-  * Enabling "Unicode Aliases" will use the exact text in the alias of each object instead of using transliteration for non ANSI aliases.+  * Enabling "Unicode Aliases" will use the exact text in the alias of each object instead of using transliteration for non ANSI aliases. (<wrap em>Not Recomended</wrap>)
  
 ===== Create .htaccess ===== ===== Create .htaccess =====
Line 17: Line 17:
 After you login: After you login:
 <sxh> <sxh>
-cd www+cd public_html
 touch .htaccess touch .htaccess
 cat htaccess.txt  >> .htaccess cat htaccess.txt  >> .htaccess
Line 25: Line 25:
  
 ==== cPanel ==== ==== cPanel ====
-  * Go to the File Manager  +  * Go to the File Manager 
-    {{:joomla:cpanel-fm-icon.png?200|}} +{{:joomla:cpanel-fm-icon.png?200|}} 
-  * Go to the WWW directory +  * Go to the public_html directory 
-  * From the top right click on Settings and make sure the option **Show Hidden Files (dotfiles)** is Selected +  *  From the top right click on Settings 
-    {{:joomla:cpanel-fm-settings.png?400|}} +{{:joomla:cpanel-fm-settings.png?400|}} 
-  * Open the htaccess.txt file (Right Click -> Edit -> Edit) and select its contents (<key>CTRL</key> <key>A</key>and copy them (<key>CTRL</key> <key>C</key>) +  *  On the Pop Up make sure the option **Show Hidden Files (dotfiles)** is Selected 
-  * Close the Editor from the top Right button (Close) +{{:joomla:cpanel-fm-settings-popup.png?200|}} 
-    {{:joomla:cpanel-fm-close.png?400|}} +  *  Open the htaccess.txt file (Right Click -> Edit -> Edit) and select its contents <key>CTRL+'A'</key> and copy them <key>CTRL+'C'</key> 
-  * Open the .htaccess file and paste the contents you copied in the end of the content in the file (<key>CTRL</key> <key>V</key>) +{{:joomla:cpanel-fm-htaccess-txt.png?200|}} 
-  * Click on Save Changes on the top right +  *  Close the Editor from the top Right button (Close) 
-    {{:joomla:cpanel-fm-close.png?400|}}+{{:joomla:cpanel-fm-close.png?400|}} 
 +  *  Open the .htaccess file and paste the contents you copied in the end of the content in the file <key>CTRL+V</key> 
 +{{:joomla:cpanel-fm-dot-htaccess.png?200|}} 
 +  *  Click on Save Changes on the top right 
 +{{:joomla:cpanel-fm-close.png?400|}}
  
-This is the default htaccess for Joomla 3+ {{ :joomla:htaccess.txt |}}+This is the default htaccess for Joomla 3+ {{ :joomla:htaccess.txt |}} if you need it.