Issue with logging into WordPress Dashboard after moving files to Sub Directory
-
Hi .. I had installed WordPress into the root folder.
Now I want to install word press in a subfolder .. let us say /rd
But I do not want URL to change to subfolder. That is I would like to use the previous URl ( https://rynekdigital.com) to be used .So I have tried the below section from the worpress support link :
I have tried the Method I (Without URL change)
SO I have moved ALL Files (
including hidden files such as .htaccess) into the subdirectory (/rd)Next I have created a new .htaccess file in the parent directory ( public.html)
This .htaccess file in parent directory reads as below:
———————–# BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_URI} !^/rd/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /rd/$1 RewriteCond %{HTTP_HOST} ^(www.)?rynekdigital.com$ RewriteRule ^(/)?$ rd/index.php [L] </IfModule> # END WordPress # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php74” package as the default “PHP” programming language. <IfModule mime_module> AddHandler application/x-httpd-ea-php74 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit
————————————————–
The site is UP.
But now the issue is I cannot login to the WP Admin Dashboard.
(Is this because I have 2 htaccess file ? Have tried renaming the old .htaccess file under the subdirectory now into something else; but it didn’t help )I am trying to login at:
https://rynekdigital.com/wp-adminwhich does an automatic redirect to :
https://rynekdigital.com/wp-login.php?redirect_to=https%3A%2F%2Frynekdigital.com%2Frd%2Fwp-admin%2F&reauth=1I am getting the login screen but my password is no more recognized. Strangely I am NOT getting a wrong password prompt either ( This error prompt screen I am getting if I use an unrelated or totally wrong password).
Thus it means my passsword is right, but it does not log in.
Can some please help.
Thanks in advance.
Samit- This topic was modified 2 years, 8 months ago by .
- This topic was modified 2 years, 8 months ago by .
- This topic was modified 2 years, 8 months ago by .
- This topic was modified 2 years, 8 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Issue with logging into WordPress Dashboard after moving files to Sub Directory’ is closed to new replies.