• Hi All,

    This is my first post in the forum and wondered if anyone could help me resolve a really frustrating issue.

    When I install WordPress in the ‘root’ directory on my hosting server and then enable FORCE_SSL_ADMIN in the wp-config.php file, the server redirects me correctly to https://www.mydomain.com

    However, I am installing a new site into a sub-directory of my server. When I enable the same setting FORCE_SSL_ADMIN in the wp-config.php file and then navigate to https://www.mydomain.com/myinstall/wp-admin, the server correctly redirects me to https://www.mydomain.com/myinstall/wp-admin but generates an error:

    Not Found
    The requested URL /myinstall/wp-admin/ was not found on this server.

    Can anyone tell me what I need to do to fix this?

    Kind Regards,

    Alan.

Viewing 1 replies (of 1 total)
  • Hi Alan,

    Is the site hosted on Apache, please sure that mod_rewrite is enabled, the AllowOverride All directive is being applied, the DocumentRoot is the same for both the SSL and port 80 vhost config file, and finally ensure there is a valid .htaccess file at play. Here’s a related stackoverflow post on the matter.

    I hope this helps point you in the right direction.

    Regards,
    Keith

Viewing 1 replies (of 1 total)
  • The topic ‘FORCE_SSL_ADMIN Sub Directory Installation’ is closed to new replies.