• I have accidently changed the URL of my website. Then I got redirected to http://mysitename/?page_id=2%2Fwp-login.php&redirect_to=http%3A%2F%2Fwww.mysitename.com%2Fwp-admin%2F&reauth=1

    I managed to change this back by using FileZilla, and was able to login to wp-admin again.

    But I think I did something wrong, again. Now I am able to login again, and the website is looking fine, but the program WordPress itself isn’t. If I want to edit pages ‘wysiwig’ options are shown like it html. If I press on html nothing happens. All the letters are white. I can’t change the status of the pages. I can’t activa the Maintance Mode plugin, nothing happens. I can’t even log out!

    I think I have accidently changed something when trying to get the original URL back. Can someone help me with this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    I managed to change this back by using FileZilla, and was able to login to wp-admin again.

    How did you do this? Did you do it by one of the methods outlined here: http://codex.wordpress.org/Changing_The_Site_URL

    Thread Starter elenagroot

    (@elenagroot)

    Yes, I used the explanaiton from section 1.2.
    I looked up the file functions.php (which I found under wp-contents). There I added two phrases:

    update_option(‘siteurl’,’http://example.com/blog’);
    update_option(‘home’,’http://example.com/blog’);

    Saved it, uploaded it. Logged in on http://mysit.com/wp-admin, went to the settings, checked if the site URL and home URL were set normal again, saved it. Then I removed the above phrases again by FileZilla, uploaded it and logged in again, and than it was working awkward..

    Moderator keesiemeijer

    (@keesiemeijer)

    try:
    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the default theme to rule out any theme-specific problems.

    – updating your permalinks by choosing the default permalink structure or re-saving your current structure at Settings > Permalinks in your admin panel. WordPress will rebuild the .htaccess file. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Do you have any cache plugin active?

    Thread Starter elenagroot

    (@elenagroot)

    All my plugins are already deactivated, so I don’t think they are the problem. But wordpress is not working well so I can’t activate them either.
    I’m gonna try the other suggestions, thanks 😉

    Thread Starter elenagroot

    (@elenagroot)

    Uhm, maybe stupid question, but how do i set the theme to default? And if this is not causing the problem, how can i set it back again?

    Moderator keesiemeijer

    (@keesiemeijer)

    try:
    – switching to the default theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides.

    resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    – renaming or deleting the .htaccess file by using FTP or whatever file management application your host provides. If you delete it make a backup first.

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

The topic ‘WordPress defect’ is closed to new replies.