Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    You can try following steps to resolve your issue.

    1) Flush the browser cache and cookies and then reload your website.

    2) Deactivate All Plugins.Connect to your web hosting using an FTP client. Rename /wp-content/plugins/ directory to plugins_backup. This will deactivate all WordPress plugins installed on your website.Once you have deactivated all plugins, try to logging in to your WordPress site. If you succeed, then this means that one of your plugins was causing the issue.

    3) Revert Back to the Default Theme and then access your website Dashboard.

    4) Delete .htaccess File. Simply access your website through FTP. Backup the .htaccess file in your computer and then delete it from your website’s root directory. You may want to delete .htaccess file in wp-admin directory as well if it exist. Try logging in again. If you succeed, then this means that your .htaccess file were stopping you from logging into WordPress.

    5) Update Site URL

    In some cases defining the site URL seems to fix the issue. To do this, you need to login to your site using FTP and edit the wp-config.php file. Simply add these two lines of code in your wp-config.php file and don’t forget to replace the example.com with your own URL. Also if your site have www. then make sure you add that.

    define('WP_HOME','http://example.com');
    define('WP_SITEURL','http://example.com');

    Save changes,and hopefully that will fix the login page redirecting issue.

    Please provide us your website URL, if above suggestion do not fix your issue.

    Thanks

    Thread Starter irvanseptian

    (@irvanseptian)

    no that website is example my website always login to wp-admin when i open my website i want all visitor can see my website not to login.
    how to setting that default pls hlp

    tnx

    Hi Irvanseptian,

    You can try following suggestions:

    Edit the loginform section of the wp-login.php page redirect to and change,

    <?php echo attribute_escape($redirect_to); ?> to your website url

    class=”submit”>
    type=”hidden” name=”redirect_to” value=”ENTER SITE URL” />

    Thanks,

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

The topic ‘my domain always opened to wp-admin / login wordpress’ is closed to new replies.