Difference between revisions of "WordPress"

From Amahi Wiki
Jump to: navigation, search
Line 2: Line 2:
 
== User Tips ==
 
== User Tips ==
 
Coming soon...
 
Coming soon...
 +
----
 +
=== Multile 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
 +
::{| style="width: 90%" cellspacing="0" border="1"
 +
!style="color:#333333; background-color:#A9B8C2;height: 20px"|Code
 +
|-
 +
!style="color:green;"|<code>ServerAlias wordpress.yourhomedomain</code>
 +
|}
 +
::add this line right after
 +
::{| style="width: 90%" cellspacing="0" border="1"
 +
!style="color:#333333; background-color:#A9B8C2;height: 20px"|Code
 +
|-
 +
!style="color:green;"|<code>ServerAlias myblog.info</code>
 +
|}
 +
:'''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.
 +
----

Revision as of 21:00, 24 December 2010

User Tips

Coming soon...


Multile 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
Code
ServerAlias wordpress.yourhomedomain
add this line right after
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.