• Resolved jensjacob24

    (@jensjacob24)


    Sorry if i posted this else where didnt see where to start a new topic was but anyway

    I recently tried moving my wordpress to my sites root and I changed the home and blog url to my root then moved everything the home page worked but that was it all the rest of the pages didnt, I know its a permalink problem but i cant even login to change it everytime i go to https://www.sypherav.com/wp-admin/ it says
    “Not Found

    The requested URL /login was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    so i cant login to my dashboard to change anything internally, I checked on myphpadmin to see if the blog url was right and it was, I also tried deleting my .htaccess file, that did nothing, i tried changing the permissions of my .htaccess file, that did nothing. so then i had this idea why not move the wordpress back to where it originally was, so i went into myphpadmin changed the blog url back to https://www.sypherav.com/client (the original wordpress location) again the home page worked just fine, but then when i tried to navigate to other pages or to login i get the same error! can somebody please help me!!! i dont know what to do im guessing it has something to do with the .htaccess file but i wouldnt even know what code to change in there this is how my .htaccess file looks
    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName sypherpro.com
    AuthUserFile /home/sypher/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/sypher/public_html/_vti_pvt/service.grp

    i feel like ive tried everything…

Viewing 3 replies - 16 through 18 (of 18 total)
  • AyohAy, that new error usually has to do with wp-config file problem or a hosting problem. The other errors – wrong URLs- need to be fixed in the database, i.e.: Changing_the_URL_directly_in_the_database

    I’m having virtually the same problem, but with a bit of a complication since I use WP Hive.

    I have four blogs set up through WP Hive. Three of them work fine; the fourth is giving me trouble.

    My default WordPress installation is at https://carlospedraza.net, which redirects to carlospedraza.net/blog. That’s the blog that’s giving me trouble. When I tried logging into the Dashboard – using the URL https://carlospedraza.net/blog/wp-admin, I got a WordPress message stating the database needed to be upgraded and it could take several minutes. I clicked on the upgrade button and the upgrade was accomplished quickly.

    I tried logging in anew at https://carlospedraza.net/blog/wp-admin. I can see from the URL that a redirect happened because something told the browser to go instead to mydomain.com/wp-admin, and that URL in turn displays a redirect to the URL I entered in the first place, mydomain.com/blog/wp-admin. Weird.

    The browser also displayed this message:

    Not Found

    The requested URL /wp-login.php was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.12 mod_fastcgi/2.4.6 Phusion_Passenger/2.2.5 Server at carlospedraza.net Port 80


    This is the URL that’s displayed in the Address Bar:
    https://carlospedraza.net/wp-login.php?redirect_to=http%3a%2f%2fcarlospedraza.net%2fblog%2fwp-admin%2f

    While this is the URL that I entered: https://carlospedraza.net/blog/wp-admin

    I’m not sure if this is a WP Hive issue or simply a WordPress issue, since this particular blog is the one created initially by my WordPress installation, which is itself a redirect from carlospedraza.net to carlospedraza.net/blog.

    I don’t have the two ‘define wp_home’ and ‘define wp_siteURL’ parameters in my config.php file but both settings do appear in the database’s wp_options file (confirmed with phpMyAdmin). That may be because of WP Hive, so I’m loathe to change the config.php file.

    Also, I changed the permalink_structure option from the default to
    /%year%/%monthnum%/%day%/%postname%/ in the database. I’d read somewhere else about that solving the problem, but it didn’t in my case.

    I’d appreciate any advice or assistance.

    Regards,
    /carlos

    Thank you, songdogtech for saving the day! I was locked out of my admin and my htaccess file was corrupt so none of my permalinks were working. I created a fresh htaccess file, with permissions set to 644 and the following code:

    RewriteEngine on
    
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    That fixed things so I could get back into my admin and my permalinks were restored.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘The requested URL /login was not found on this server.’ is closed to new replies.