• Resolved A F

    (@gonidelux)


    the old site was gen-holding.com and i change the domain to new one in flogen-boden.ch BUT SAME HOST ! and wenn i type new domain automaticlly redirect to old one !!

    nameservers are OK
    i install another wp in /wp is was OK
    .htaccess ist by default !

Viewing 4 replies - 1 through 4 (of 4 total)
  • What is your question exactly?

    I go to http://flogen-boden.ch and it automatically goes to http://flogen-boden.ch/sample-page, not to the old domain.

    Thread Starter A F

    (@gonidelux)

    no that was wenn i typed http://flogen-boden.ch ist going on GEN-HOLDING.com to the old domain but i fixed now .. all was this code

    define(‘WP_HOME’,’http://flogen-boden’);
    define(‘WP_SITEURL’,’http://flogen-boden’);

    thanks anyway

    Better not use those lines as they totally disable the option to change it in your WP admin (should you ever need to do that).

    A better way would be to use these lines instead:

    update_option('siteurl','http://flogen-boden.ch');
    update_option('home','http://flogen-boden.ch');

    This will actually change the values in the database (and not overrule the values set in the database, as the “DEFINE” function does), and once that’s done you can remove them again from wp-config.php

    Thread Starter A F

    (@gonidelux)

    didnt know it thanks a lot ..

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘REDIRECT DOMAIN PLS :)’ is closed to new replies.