WordPress.org

Ready to get started?Download WordPress

Forums

Use Multiple Domains On One WordPress Site - Keep Pagerank When Moving (11 posts)

  1. gamemodo
    Member
    Posted 1 year ago #

    Hi Guys,

    I have a few questions regarding keeping pagerank and using multiple domain names on one wordpress site. Please note im kinda new to all this stuff. (our wordpress site is still currently under construction)

    We decided to move from Blogger to wordpress as it offered a lot more customisation and so forth. So we decided to buy a new domain name and hosting space and set it up.

    1. Our domain name on Blogger is http://www.game-modo.com and the one under wordpress is http://www.game-modo.co.uk. Can we use both domain names? If so how?

    2. We also want it so if a user clicks on a link to an article we posted under game-modo.com a while back takes them to our new site and not blogger. is that possible? (hope so as it would save us page ranks etc) Please note we have imported all content from Blogger into WordPress.

  2. alex_men
    Member
    Posted 1 year ago #

    Hi gamemodo,

    I'm facing the same problem as your #1. I found 3 plugins that do exactly what we need. The problem is that none seems works in WordPress 3.5.1. Here are they in descing order of last update:
    Multiple Domains with Analytics
    MultiDomain
    Domain Mirror

    Give them a try and please report if they run in your setup.

    I tried to contact the developers of the first two. Let's see if we get lucky and they're still around. Otherwise I sense some nights of "messing with other people's code" ahead.

  3. alex_men
    Member
    Posted 1 year ago #

    Nevermind. The plugins, at least the first two, are working. My issue was that I had WP_SITEURL and WP_HOME hardcoded in wp-config.php

  4. dwnmedia sarl
    Member
    Posted 1 year ago #

    I, how have you manage to have 2 differents domains when navigating on the same website ? Could you explain please, which plugin have you used?

  5. dwnmedia sarl
    Member
    Posted 1 year ago #

    I tried both first two plugins but it doesn't work
    when i navigate on the links it redirects on the primary/principal domain...

  6. dwnmedia sarl
    Member
    Posted 1 year ago #

    I don't have any WP_SITEURL and WP_HOME hardcoded in wp-config.php file.

    Any suggestion, it seems that the site is using a general options for the links when navigating and even installing this plugins when clicking any internal links we are alway redirected to the primary/principal domain

  7. dwnmedia sarl
    Member
    Posted 1 year ago #

    Hi I found a solution

    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
    define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);

    Adding this code in wp-config.php

    BUT now some thumbnails are broken on my template, only when accessing primary domain it is showing the images. It is using the function get_thumbnail()

  8. dwnmedia sarl
    Member
    Posted 1 year ago #

    solution solved,
    it was a problem related to the template, must upgraded it and it works fine now

    the solution for me was :

    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
    define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);

    Adding this code in wp-config.php

  9. Josh Carr
    Member
    Posted 8 months ago #

  10. Josh Carr
    Member
    Posted 8 months ago #

    Yikes, forgot to close the link. Sorry :)

  11. trevorseward
    Member
    Posted 7 months ago #

    Josh, question if you have a minute. If I hosted a blog at example.com/ and wanted to transfer it to contoso.com/, would the RewriteRule regex simply be RewriteRule ^/(.*)$ ...?

Topic Closed

This topic has been closed to new replies.

About this Topic