• I have moved my wordpress site, well actually duplicated it. It’s here https://ufochick.com
    and here https://profile.mytwinflame.info

    I am really confused. I downloaded the wordpress files from bravenet (my host) then uploaded them into UFOchick.com. (all on the same host)
    The UFO site was working but the links/tabs took you to the old site. But I could access everything the links were just profile.mytwinflame.info links and addresses once you left the UFO mainpage.

    So I went to the instructions here on how to move a site and changed the theme code then put it back like directed to. All the links changed and everything is great but I can’t log in and my members can’t.

    So I have 2 sites running off one database as best I can tell. I have about 1000 hours into the site and am afraid of losing it.

    Could my issue be that 2 sites are running? How can I just disable the one site if that is the issue? I am afraid of losing stuff.

    Any suggestions? I’ve got people who need to log in to their accounts. No one can log in from me to the members. It’s a non for profit site.

    Oh and when I try to log in on the page it says “not found”.

Viewing 11 replies - 16 through 26 (of 26 total)
  • I do understand what you are saying.

    The problem is that the login form submits its results to a script within the wp-admin directory, which appears to be protected in some way. But there needs to be a way to submit the request to an unprotected form first, in order to access that resource, and that’s just not there.

    Namely, since that directory appears protected, and the only way to get to it is by logging in, it’s a bit of a catch-22.

    If you could log into another directory, then there would not be a problem – you would log in to (some other directory, which isn’t protected), and then you would have access to the resource: In this case, wp-admin. But since you can’t, it’s stuck. You can’t log in, and you can’t access the way to log in. So one thing or the other will have to give.

    Since we don’t have access to the system, it’s a bit of a guessing game for us here. There are a limited number of likely options as to why the directory may not be accessible:

    – The directory may not have the correct permissions (generally 755).

    – The directory may have authentication turned on (this is the file I mentioned in the previous post).

    – Something else might be preventing access, such as a plugin (and it might use one or both of the other methods).

    Since you have disabled the plugins, by renaming them, and you have checked the permissions, and you have checked for the existence of an authentication file, it’s likely not any of those.

    But by checking to see if a file is available to someone browsing (this is the CSS link I have posted), it means simply accessing the directory, or even a file in the directory, is causing problems.

    A 404 error – not found – is being thrown. This is a server error. The “you must be” message is a part of that, and is likely configured somewhere on your server (possibly in your theme).

    Ultimately, it means that the one issue you are having is that you can’t access the wp-admin directory, which is what you need to do to login. Anything you submit via wp-login.php simply won’t be processed until that is corrected, and that is what needs to be corrected.

    Thread Starter DanaWC

    (@terrydana)

    I can access all the files through the host. There has to be something broken.

    This happened when I followed these instructions.

    ——————————————————————–
    Edit functions.php

    If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

    1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor (like notepad) and upload it back to the site.

    2. Add these two lines to the file, immediately after the initial “<?php” line.
    update_option(‘siteurl’,’https://example.com&#8217;);
    update_option(‘home’,’https://example.com&#8217;);

    Use your own URL instead of example.com, obviously.

    3. Upload the file back to your site, in the same location. FileZilla offers a handy “edit file” function to do all of the above rapidly; if you can use that, do so.

    4. Load the login or admin page a couple of times. The site should come back up.

    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.

    ————————————————————–

    After these instructions from www.remarpro.com the links were fixed but the login was broken.

    Can you aim me at something in the theme file that would have been broken by doing this?

    I really don’t have much additional direction for you. But here is some more detail, in case it helps.

    Look at this:

    https://profile.mytwinflame.info/wp-admin/css/login.min.css?ver=3.9.1

    (Shows the wp-admin CSS.)

    Then look at this:

    https://ufochick.com/wp-admin/css/login.min.css?ver=3.9.1

    (404 page, telling you to log in.)

    Look at this:

    https://profile.mytwinflame.info/wp-admin/

    (Redirects you to the login page.)

    Then look at this:

    https://ufochick.com/wp-admin/

    (403 unauthorized error from the server.)

    At least one of the problems is that the wp-admin directory is preventing you from logging in. Fix that and you can move on to fixing the asset errors.

    If you can’t find it on your own, you should ask your host for help looking for permissions (as described above), or you may need to hire someone (note that link is to WordPress jobs – they may or may not be able to help you with a hosting issue).

    In comparing IPs, your new site is on one host (Bravehost?) and your old one is on another (GoDaddy?). I don’t know if you wanted to secure the wp-admin directory, or they did, or it happened unintentionally (through a plugin perhaps), but it seems to be at least a part of the problem.

    If you want to secure the wp-admin directory, there is a section about doing so – and it specifically talks about using Basic Authentication, rather than securing it (which would be using permission-based security), which could break functionality, which appears to be what we’re seeing here.

    Thread Starter DanaWC

    (@terrydana)

    The sites are both on one host. The database settings are the same. I have contacted my hosting company (bravenet) they are pretty good about helping, I’ve tried here and then posted on the manta theme forum.

    So far nothing has helped. I guess the next move is to delete the theme and replace it with the original wordpress one and then see if I can log in, if so them reload mantra and redo all the settings and custom colors.

    I’ve spent about 30 hours going through files and comparing can’t find any discrepancies between the backed up files and the current files so far.

    I only mentioned two hosts because your IP addresses resolve to different locations.

    Just as a technicality, don’t delete your theme, because then you may lose data (and the time spent on it). It would be better to deactivate it instead. Since you cannot log in, try renaming it via FTP (or a control panel). This may render your outward-facing site inoperable for a time, but it may also allow you to log in, if it is indeed the problem.

    Immediately after you rename it, try logging in and if it works, try reactivating a default theme, such as Twenty Fourteen.

    Hey terry,

    Its Aaron here I was going through your site, I noticed that it could be the plugin issue or its could be a DNS issue. You can go to this Link about plug-ins and other common issues.

    Thanks, Aaron.

    Thread Starter DanaWC

    (@terrydana)

    Ok, my hosting service got back with me. They said;

    It looks like you don’t have any files in the admin folder:
    https://UFOchick.com/wp-admin/

    These do appear on the practice site, but this is forwarding directly over to the address at UFOchick.com which doesn’t exist:
    https://profile.mytwinflame.info/wp-admin/

    You are missing files for the WordPress installation on UFOchick.com

    Soooooo…..What is the best way to re-load wordpress without losing data from the backend/hosting files?

    Overlooked that one, sorry. Missing files can certainly resolve as 404 errors, since that is what they are, but didn’t think of that as an option for 403 errors!

    Nonetheless – the wp-admin directory shouldn’t contain any actual content (and it certainly doesn’t contain any content now, regardless). There are scripts, but they are typically not modified by users.

    The best way to get you up and running is going to be to copy the contents of the existing directory from your other site over to the new one.

    I’d say there is an above average chance that will get you going again. If not, then it’s onto the next item at that point.

    Thread Starter DanaWC

    (@terrydana)

    I will explain what was wrong so others will know and I have one more question.

    Ok I copied the missing files over to the correct place. I still could not login.

    So I went to my backup files and used notepad++ (a must have free program) to compare the login files. Sure enough there was a difference in the lines of about 5 lines of script. So I copied and saved both files then deleted the file that was currently being used and put in the old file.

    Presto I was in.

    So last issue. I have somewhere lost the members pics. I know they are still stored on the test site files but it now directs to the new site.

    Which files will contain the pics? I assume as long as I reload them and they are named the same it will just fix itself?

    Thread Starter DanaWC

    (@terrydana)

    Oh to clarify on the pictures. I had it set to download them on my database. NOT link them.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Redirected site from instructions/no login’ is closed to new replies.