WordPress.org

Ready to get started?Download WordPress

Forums

Can't change domain for the site (12 posts)

  1. Johannes96
    Member
    Posted 2 years ago #

    Hello,It's so that I'v been trying to move to wordpress from blogger and now I received problems. The domain and webstorage is bought,and the domain is being used to the site as A-record. But the domain doesn't work for the whole site but only for the homepage,the posts goes over to other domains.

    So the problem why I can't change the domain is because it's grey bar over the domain changing bar.
    here is how it looks for me
    http://www36.zippyshare.com/v/35128134/file.html

    Here is my problem.
    The domain I want.
    http://www.dirtysoundwaves.net/

    But when i want to go to posts or other pages in the site it goes over to this domain
    http://ku36.web1.coobu.de/?p=213

    Pleas help!

  2. Samuel B
    moderator
    Posted 2 years ago #

    usually that is only greyed out when it is hard coded in wp-config.php like - (example)
    define('WP_SITEURL', 'http://example.com/wordpress');

    check and see if that's the case

  3. Johannes96
    Member
    Posted 2 years ago #

    I can't even find WP_SITEURL in wp-config.php,shall I reinstall everything or?

  4. Samuel B
    moderator
    Posted 2 years ago #

    it doesn't need to be there

    change the url's through phpmyadmin or one of the other methods listed here
    http://codex.wordpress.org/Changing_The_Site_URL

  5. Johannes96
    Member
    Posted 2 years ago #

    Ok
    So I changed the URL in wordpress theme function map and it's still not working.

    Here is how it's now

    <? php update_option('siteurl','http://dirtysoundwaves.net/blog');
    update_option('home','http://dirtysoundwaves.net/blog');

  6. Samuel B
    moderator
    Posted 2 years ago #

    this is your url
    http://www.dirtysoundwaves.net/

    not
    http://dirtysoundwaves.net/blog

    do you have any redirects set up?

  7. Johannes96
    Member
    Posted 2 years ago #

    OK so I did correct my mistake,
    Changed /blog to
    php update_option('siteurl','http://dirtysoundwaves.net');
    update_option('home','http://dirtysoundwaves.net');

    And now the site aren't working at all.
    What am i Doing wrong?

    Am I doing right when changing domain in active theme map,and the uploading it again through FTP¨?

  8. Johannes96
    Member
    Posted 2 years ago #

    And what do you mean be redirects?
    Like forwarding domain? No

  9. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    http://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php

    5. Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.

  10. Johannes96
    Member
    Posted 2 years ago #

    Ohh thanks!
    So I'll upload backup on that folder and then remove the lines as fast as it's up,but there is one more problem...Which lines are they aiming on?

  11. Johannes96
    Member
    Posted 2 years ago #

    Sorry my bad,hehehXD

    So I did delete the lines,and it's still the same?

  12. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Put lines in, login admin, fix url in settings, remove lines.

Topic Closed

This topic has been closed to new replies.

About this Topic