WordPress.org

Ready to get started?Download WordPress

Forums

2 Domain Names One Blog (3 posts)

  1. Blakesterz
    Member
    Posted 8 years ago #

    Most everthing uses absolute paths to build URLs but I want to have 2 domain names pointing at the same blog. Is this possible, or will all the links point at just one of the names? ex. sidebar.php uses list_cats() to build the categories list, uses absolute paths rather than just a /

  2. senrable
    Member
    Posted 8 years ago #

    If you don't mind the url being only one domain for each, you can redirect from one page using the following if you have http://www.bloga.com and http://www.blogb.com:

    <META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.bloga.com/">

    as the source for http://www.blogb.com

    As soon as someone types in the address for blogb they will be redirected to bloga. HTH

  3. Ajay
    Member
    Posted 8 years ago #

    Is there some reason you would like to do this Blakesterz?

    It is bad to have two domains with the same content, as search engines don't like it.

    You can add the second as a parked domain. However, the links generated by WP will only point to the one you entered in the WP control panel.

Topic Closed

This topic has been closed to new replies.

About this Topic