WordPress.org

Ready to get started?Download WordPress

Forums

URL keep the current one (5 posts)

  1. unifun
    Member
    Posted 1 year ago #

    Hello everyone,

    I have a problem regarding URL.
    The problem looks as follows.
    I have several domains that point to the same web site, placed on the same server, here are the URL:
    http://www.unifun.com/
    http://www.unifun.am/
    http://www.unifun.kz/
    So I would like when I'm accessing http://www.unifun.am/ in the browser URL to remain the same http://www.unifun.am/ but to not change it in http://www.unifun.com/

    How I can solve this issue ?

    I would appreciate any help.

  2. Archie22is
    Member
    Posted 1 year ago #

    You cannot resolve that issue if I am correct. Only one domain has to be used as your primary or home domain name and it that case, unifun.am is your default. Sadly, I do not think it's possible.

    #But I could be wrong - I answered from my maximum intellectual ability.

  3. unifun
    Member
    Posted 1 year ago #

    I have done earlier such a manipulation, but I was using such a strategy:

    I was having 2 pages:
    index.php - one pointing to a certain domain.
    index2.php - pointing to an other domain.
    And also apache was configured 2 listen 2 different domains.
    Here as an example:
    http://www.bulksms.md/
    http://promotion.md/
    When you access promotion, it redirect you to other site an change in the browser url of the site as bulksms.
    Now i wont to point from unifun.am to unifun.com, but to keep in web browser unifun.am

    But how to realize it in WP, I don't have any ideas

  4. unifun
    Member
    Posted 1 year ago #

    Anyone have any ideas ?

  5. catacaustic
    Member
    Posted 1 year ago #

    You can do this in some other systems, but WordPress works on a single hard-coded base URL. That means that one site uses one URL. I have seen that there's a few plugins that try to change this, but I haven't seen one that works 100% of the time yet.

    One thing to remember is that you really don't want all three sites having the same content like that. That will mean that at least tow, and possibly all of the domains will be dumped from the Google search results for duplicate content. Having WordPress set up the way that it is stops that from happening as it's one URL for everthing, and the canonical tags ensure that everything is indeed only once.

Topic Closed

This topic has been closed to new replies.

About this Topic