• Resolved garmatinc

    (@garmatinc)


    So we installed Hide my WP Ghost and we activated Ghost mode and then went through the checklist and got everything green lighted and then got locked out of our wordpress. I would go to admin and it would redirect me back to the home page. Also the structure was gone and everything looks stacked on top of each other so WP Bakery page builder was not being used. I restored the htaccess file from backup to a version prior to installing HMWP and no luck. I then restored the wp config file and stll no luck. I went in through FTP and renamed the HMWP folder and reloaded the site and it loads fine now. I am not sure what to do now. If it wasnt the htaccess file or the wp config file, what could it have been causing this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Peter

    (@petersquirrly)

    If it redirected you to the homepage after accessing the admin, it means that you were trying to use the default / old path instead of the new one. Please try using /ghost-login path to access it.

    As for the second part, it sounds like the plugin is not properly setup on the server side. Please follow this article based on your server type and let us know if you face any further difficulties.
    https://hidemywpghost.com/theme-not-loading-correctly-website-loads-slower/

    Thread Starter garmatinc

    (@garmatinc)

    Hey Peter,

    I tried both wp-admin and ghost url login and both directed to home page. right now i have the plugin folder renamed to deactivate so i can get into the backend. I have since deleted the plugin and i am back at square one now.

    I was told by Siteground that all their servers have Set AllowOverride all

    They said the following

    As a user, you are not allowed access and make changes to the main httpd.conf file on the server. However, the Apache server uses the file .htaccess for local configuration so you can add the directives that you need in your local .htaccess file. But you will not need it specifically for this directive because on our servers this is already set to All –?https://eu.siteground.com/kb/is_it_possible_to_set_apaches_allowoverride_directive_to_all/

    As pointed out in the above article make sure to deactivate NGINX Direct Delivery –?https://eu.siteground.com/tutorials/supercacher/nginx-direct-delivery/

    So my question now is, if we deactivate NGINX, will this impact the speed of our website loading for visitors? We are using Cloudflare currently with Sucuri Firewall.

    Siteground has this to say about NGINX

    NGINX DIRECT DELIVERY

    With NGINX Direct Delivery we will serve most of the static resources of your website (images, JS, CSS and others) directly through NGINX to achieve the fastest possible loading time. It works for all kind of applications without additional customisation.

    For best results we highly recommend having NGINX Direct Delivery enabled at all times. However, if you need to use custom caching .htaccess rules for your static content you may need to switch it off.

    Your thoughts?

    Plugin Support Peter

    (@petersquirrly)

    I wasn’t aware that you are using Siteground, as it’s a bit different for them. This tutorial should do the job https://hidemywpghost.com/faqs/does-hide-my-wp-ghost-work-for-siteground-hosted-websites/
    Note! Log in to admin and then rename the plugin directory to its original place and follow the tutorial after doing that.

    Thread Starter garmatinc

    (@garmatinc)

    Hey Peter. FInally got around to following the instructions in the link you sent for setting up Hide my WP Ghost and all seemed fine until today when i got a sql error as follows

    mysqldump: Got error: 1044: “Access denied for user ‘duz6btht_wp50929’@’localhost’ to database ‘duz6btht_wp50929′” when using LOCK TABLES

    I assume this has to do with permission for the user of the database but i did follow the permissions in the link you sent.

    Any idea’s?

    Thread Starter garmatinc

    (@garmatinc)

    Also this seems to be a sucuri cron SQL dump, im assuming to backup the database which is a daily thing

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin redirecting to Home Page’ is closed to new replies.