Difference between revisions of "WordPress"
From Amahi Wiki
Line 7: | Line 7: | ||
::find | ::find | ||
− | ::{ | + | ::{{Code|ServerAlias wordpress.yourhomedomain}} |
− | + | ||
− | |||
− | |||
− | |||
::add this line right after | ::add this line right after | ||
− | ::{ | + | ::{{Code|ServerAlias myblog.info}} |
− | + | ||
− | |||
− | |||
− | |||
:'''Step 2''' | :'''Step 2''' | ||
:install to your wordpress the plugin called Domain Mirror. Set up as admin your domains. | :install to your wordpress the plugin called Domain Mirror. Set up as admin your domains. |
Revision as of 09:47, 28 December 2010
Multiple Domains for one site
Supposed you own a domain (e.g myblog.info) and you have a way to update dns servers with your IP case you are dynamic (majority of home users) then you can do also the following:
- Step 1
- edit the file /etc/httpd/conf.d/####-wordpress.conf.
- find
bash code |
---|
ServerAlias wordpress.yourhomedomain
|
- add this line right after
bash code |
---|
ServerAlias myblog.info
|
- Step 2
- install to your wordpress the plugin called Domain Mirror. Set up as admin your domains.
This way wordpress always replays with the correct domain. All links from dashboard work without problems.