Changes

From SME Server
Jump to navigationJump to search
75 bytes added ,  10:34, 24 August 2012
no edit summary
Line 171: Line 171:       −
--- If you are planning to run several Domains on one wordpress install,
+
--- If you are planning to run several Domains on one wordpress install:
 +
    
1) SME Server has issues displaying images inside blogs that use Domain mapping, in order for the images to show correctly, we need to create custom template for "hosts" file:
 
1) SME Server has issues displaying images inside blogs that use Domain mapping, in order for the images to show correctly, we need to create custom template for "hosts" file:
   −
Create directory, /etc/e-smith/templates-custom/etc/hosts,  
+
Create directory:
then create a file inside that directory: 30customhosts,  
+
  /etc/e-smith/templates-custom/etc/hosts,  
 +
 
 +
then inside that directory create a file :  
 +
  30customhosts,  
 +
 
 
Edit the file 30customhosts and add your domains to it that will use wordpress domain mapping (replace domain# with your actual domain names)
 
Edit the file 30customhosts and add your domains to it that will use wordpress domain mapping (replace domain# with your actual domain names)
   Line 187: Line 192:  
   expand-template /etc/hosts
 
   expand-template /etc/hosts
    +
And restart httpd:
 +
 +
  /etc/init.d/httpd-e-smith restart
 +
 +
 
     
175

edits

Navigation menu