WordPress.org

Ready to get started?Download WordPress

Forums

I accidently changed my URL (17 posts)

  1. TakeOnEnglish
    Member
    Posted 9 months ago #

    I accidently changed my URL on my wordpress template. My website was located at http://www.TakeOnEnglish.com/es but I changed it to http://www.TakeOnEnglish.com thinking it was the correct thing to do. Web designers were working on my website but I decided to do it myself.

    I have tried logging onto my FTP from FileZilla and I copied across the wordpress file to the server as it wasn't there and I couldn't find the functions.php folder as the theme I chose 'boldy' was not there on the server either.

    Please can someone give me some advice on what to do as I cannot enter the site or wordpress admin. Thanks in advance.....

  2. esmi
    Forum Moderator
    Posted 9 months ago #

    Change the urls back. See Changing_The_Site_URL for details of how to do this correctly.

  3. TakeOnEnglish
    Member
    Posted 9 months ago #

    I've been trying that since yesterday and nothing happens...... I entered
    define('WP_HOME','http://takeonenglish.com/es');
    define('WP_SITEURL','http://takeonenglish.com/es');

    on the wp-config.php, there is no theme functions.php on the server...

  4. esmi
    Forum Moderator
    Posted 9 months ago #

    there is no theme functions.php on the server

    Try looking in the wp-content/themes/boldy folder.

  5. TakeOnEnglish
    Member
    Posted 9 months ago #

    is there another way to change the url because I edited the folder with the code and nothing happened?

  6. esmi
    Forum Moderator
    Posted 9 months ago #

    Have you removed the 2 added lines in wp-config.php?
    Were you using any caching plugins?

  7. TakeOnEnglish
    Member
    Posted 9 months ago #

    No, I added the lines, then saved and refreshed the page a few times, re-booted my computer, deleted cookies and tried again. I haven't added any plugins to the template as I just started using it

  8. esmi
    Forum Moderator
    Posted 9 months ago #

    Remove the 2 lines from wp-config.php and add the relevant lines to your theme's functions.php file.

  9. TakeOnEnglish
    Member
    Posted 9 months ago #

    how do i acccess the themes functions.php file? do I need to upload it to filezilla?

  10. esmi
    Forum Moderator
    Posted 9 months ago #

    You need to access the wp-content/themes/boldy/functions.php file via FTP, yes.

  11. TakeOnEnglish
    Member
    Posted 9 months ago #

    I cant find wp-content on filezilla

  12. esmi
    Forum Moderator
    Posted 9 months ago #

    It is in the same folder as your wp-config.php file.

  13. TakeOnEnglish
    Member
    Posted 9 months ago #

    I uploaded that separately...... I took over the site from the web designers so maybe that's why it isn't there.

  14. Fathi
    Member
    Posted 9 months ago #

    you have made a mistake with wp-config.php
    Just try the same solution and add www to your url.
    Add this code to wp-confing.php:

    define('WP_HOME','http://www.takeonenglish.com/es');
    define('WP_SITEURL','http://www.takeonenglish.com/es');

  15. TakeOnEnglish
    Member
    Posted 9 months ago #

    I've done it finally thanks, there was a separate folder called es for some reason. Thanks for the advice :-)

  16. TakeOnEnglish
    Member
    Posted 9 months ago #

    spoke too soon. The wordpress log in page came back but it wont accept my user name and password and the website is still not showing properly... any ideas?

  17. TakeOnEnglish
    Member
    Posted 9 months ago #

    It's back. Thanks :-)

Reply

You must log in to post.

About this Topic