Line 142: |
Line 142: |
| 4) SME Server specific change: | | 4) SME Server specific change: |
| | | |
− | ''! My Wordpress installation works fine without this step. But if you have issues after following all the steps above, try it to see if it helps. | + | ''!! My Wordpress installation works fine without this step. But if you have issues after following all the steps above, try it to see if it helps. |
| This was suggested by forum users here: [http://forums.contribs.org/index.php/topic,47413.msg234013.html#msg234013]'' | | This was suggested by forum users here: [http://forums.contribs.org/index.php/topic,47413.msg234013.html#msg234013]'' |
| | | |
Line 171: |
Line 171: |
| | | |
| | | |
− | But if you are planning to run several Domains on one wordpress install, you will need to install Wordpress Domain Mapping plugin, they are in wordpres plugins directory.
| + | --- 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: |
| + | |
| + | Create directory, /etc/e-smith/templates-custom/etc/hosts, |
| + | then create a file inside that directory: 30customhosts, |
| + | Edit the file 30customhosts and add your domains to it that will use wordpress domain mapping (replace domain# with your actual domain names) |
| + | |
| + | 127.0.0.1 *.domain1.com |
| + | 127.0.0.1 *.domain2.com |
| + | 127.0.0.1 *.domain3.com |
| + | |
| + | |
| + | Finish with: |
| + | expand-template /etc/hosts |
| + | |
| + | |
| + | |
| + | 2) you will need to install Wordpress Domain Mapping plugin. |
| | | |
− | Most popular one is here: [http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/]
| + | Find it here: [http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/] |
− | | |
− | Here is another one, but I have not used it, so I don't know much about it: [http://wordpress.org/extend/plugins/domain-mapping-system/]
| |
| | | |
− | Just follow instalation instructions from their respective plugin download sites. | + | Just follow instalation instructions from plugin download site. |
| | | |
| | | |