Changes

From SME Server
Jump to navigationJump to search
761 bytes added ,  06:55, 19 February 2015
Line 4: Line 4:  
{{Level|medium}}
 
{{Level|medium}}
    +
{{Note box|See details here http://wiki.contribs.org/Joomla_3 for info on installing Joomla 3 on SME9, this is not a contrib}}
 
===Maintainer===
 
===Maintainer===
 
[[User:Berdie/de|Dietmar Berteld]]<br/>
 
[[User:Berdie/de|Dietmar Berteld]]<br/>
Line 85: Line 86:  
  sv t httpd-e-smith
 
  sv t httpd-e-smith
 
Now assuming joomla is installed in /opt/joomla
 
Now assuming joomla is installed in /opt/joomla
  cd opt/joomla
+
  cd /opt/joomla
 
  mv htaccess.txt .htaccess
 
  mv htaccess.txt .htaccess
 
Edit .htaccess
 
Edit .htaccess
Line 91: Line 92:  
Uncomment the Rewritebase line and change it to
 
Uncomment the Rewritebase line and change it to
 
  RewriteBase /joomla
 
  RewriteBase /joomla
 +
Save and close the file.
 
This assumes that the 92joomla template fragment also set  
 
This assumes that the 92joomla template fragment also set  
 
  Alias /joomla /opt/joomla
 
  Alias /joomla /opt/joomla
Save and close the file.
+
If you have set and wish to use a different URL by
 +
config setprop joomla URL foo
 +
you will need to set
 +
RewriteBase /foo
 +
Equally if you have redirected a VirtualDomain to point to your joomla application directly (www.virtualdomain.com instead of www.virtualdoamin.com/joomla) you will need to set
 +
RewriteBase /
 +
{{Note box| You will only be able to use whatever URL you set RewriteBase to in .htaccess even though other aliases might exist. For example if you have redirected a virtualdomain and set RewriteBase to /, /joomla and /foo won't work correctly. You may get to the home page but after that the SEF rewrites will fail}}
 
Now, in Joomla Administration go to ''Global Configuration - Site'' and set
 
Now, in Joomla Administration go to ''Global Configuration - Site'' and set
 
  Search Engine Friendly URLS - yes
 
  Search Engine Friendly URLS - yes

Navigation menu