Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ray

    (@rajulk100)

    Hi,

    https://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’,’https://localhost:9090/acknos’);
    define(‘WP_SITEURL’,’https://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

    Ray

    (@rajulk100)

    can u pls chk this and let us know a solution

    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

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