Changes

From SME Server
Jump to navigationJump to search
633 bytes added ,  15:09, 15 February 2010
→‎Search Engine Friendly URLS - SEF/SEO: Added explanation for aliases and virtualdomain redirection
Line 91: Line 91:  
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