Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #780702

    Hi there.
    I changed functions.php to change the site’s url by adding after the initial “<?php” line:
    update_option( ‘siteurl’, ‘http://mysite.com&#8217; );
    update_option( ‘home’, ‘http://mysite.com&#8217; );

    But after that I wasn’t able to reach my site. I erased the lines I added and uploaded functions.php again but it didn’t work.

    Also, can you tell me how to change my site’s url?

    Can you help me? Thanks in advance.

    #780747

    Hey esemisanx,

    Can you give us ftp access also?

    Best regards,
    Nikko

    #780983

    Sure. Here it goes in private content.

    Thanks a lot.

    #781867

    Hello.
    So are you able to help me? Please let me know.

    Best regards

    -Enrique.

    #783329

    Hi Enrique,

    Sorry for late response and missing the thread, I added the code in functions.php (code in Private Content), and it works fine. Just to clarify, do you want to change your site’s url from http://example.com/wp to http://example.com ?

    Best regards,
    Nikko

    #783548

    Never mind, Nikko.
    I figured it out. I went to PHPmyAdmin and changed the urls there.
    Thanks anyway.

    Best regards,

    -Enrique.

    #783796

    Hi,

    Great, glad you got it working and thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #784158

    Hi.
    You can close it.

    Best,

    -Enrique.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Changed functions.php in child theme and now I can't see my site or login’ is closed to new replies.