• I have migrated live WordPress to Localhost for testing purposes. I follow the recommended steps for this task.

    Now the website is running locally with the following issues:

    1. I only can see the old fashion of the theme, the default page (I use theme called jupiter).

    2. When I try to open wp-admin page, it shows me “Sorry, you are not allowed to access this page.” message.

    I have done several attempts:

    A. Add new user details in wp-user and wp-usermeta tables

    B. Deactivate plugins

    C. Remove .htaccess file from root doc

    But all these attempts did not work for me.

    Any help with 1 & 2?

Viewing 2 replies - 1 through 2 (of 2 total)
  • // wp-config.php before require_once
    define( 'WP_HOME', 'http://localhost' );
    define( 'WP_SITEURL', 'http://localhost' );
    // never end slash

    some commercial themes have limits for the single domain, if you have problems set one of the twenty installable themes and then ask the support of your theme.

    Thread Starter ibrahimshbat

    (@ibrahimshbat)

    I replaced my current theme to twentysixteen but I still have the same problem!

    Any thought

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

The topic ‘Localhost get error “not allowed to access page”’ is closed to new replies.