Hi,
Thanks for contact us!
May be due to htaccess, you are getting this issue.
Have you update your site permalink after setup on your local system?
You will have need to look into your site htaccess file.
Feel free to contact me for any query!
Thanks
Raghunath
Ray
(@rajulk100)
Hello,
I also have the same issue.. This is a issue when moving server hosted site to a local host and then login in to admin panel..
How to solve it with .htaccess as per your comment ?
e.g this is my .htaccess
…………………………….
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteRule ^vpsadmin/?$ /wp-login.php [QSA,L]
RewriteRule ^vpsadmin/register/?$ /wp-login.php?action=register [QSA,L]
RewriteRule ^vpsadmin/lostpassword/?$ /wp-login.php?action=lostpassword [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
………………………….
When tried to login with /wp-admin , the admin panel shows but it make users login to live server admin panel not the local host one.
This is a good plugin but when moving the site it causes problems (I cannot remove this plugin from live site as it is a working site n used by client) unless s this can be fixed as far as i think.
Thanks
Ray
(@rajulk100)
can u pls chk this and let us know a solution
Hi,
Can you please tell me the your local host url? (http://localhost/your-folder)
Did you try access to new admit url after update permanent (Settings >> permalinks) and then update to plugin settings.
If not then please try , hope your problem will be resolved .
Feel free to contact me on my email raghunath.0087@gmail.com
Ray
(@rajulk100)
Hi,
http://localhost:9090/acknos
Well without login in, how can you update anything in admin panel mate ?? =D
I managed to removed the extension by renaming the plugin with a -disable as per https://www.ostraining.com/blog/wordpress/disable-a-wordpress-plugin/ this article. but still i could not login as it was taking me to live serve r online then I had to hard code the site url to wp-config file as follows
define(‘WP_HOME’,’http://localhost:9090/acknos’);
define(‘WP_SITEURL’,’http://localhost:9090/acknos/’);
Then i logged in to admin panel and removed the plugin. After that .htaccess file was replaced with a general .htaccess as follows..
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /acknos/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /acknos/index.php [L]
</IfModule>
# END WordPress
Now i`am using it without the plugin. This is good useful plugin but only has to use it once site is finalized and hosted otherwise would be a problem when taking a copy to local host to make changes.. I think this bit you hav eto chk or give some solution.. other than that big issue.. this is a superb plugin to secure admin panel..
Regards
Raj
Hi Raj,
After update your permalink did you active my plugin on your localhost?
When you will activate and and enable plugin with new admin slug (i.e vpsadmin) then your htaccess will be look like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /acknos/
RewriteRule ^index\.php$ – [L]
RewriteRule ^vpsadmin/?$ /acknos/wp-login.php [QSA,L]
RewriteRule ^vpsadmin/register/?$ /acknos/wp-login.php?action=register [QSA,L]
RewriteRule ^vpsadmin/lostpassword/?$ /acknos/wp-login.php?action=lostpassword [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /acknos/index.php [L]
</IfModule>
# END WordPress
Hope your problem will be resolved.
Thanks
Raghunath