hy,
the “permanent redirect” does not sound good 😉
you will just have to configure gls363.com to have the same root directory in your webhost as grovation-iknow.com
please watch out to disable your browser-cache now while testing further, since the redirection is already in your browsers memory…
matt
Thanks Matthias. I got that sorted out now and it’s working. How do I force this domain into https (it has a SSL cert) to make it secure since I don’t have a multisite set up :). Do you know?
Force ssl
Htaccess:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Or a littlebit different and with wp standard htaccess
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
-
This reply was modified 4 years, 9 months ago by flipper242.
-
This reply was modified 4 years, 9 months ago by flipper242.
-
This reply was modified 4 years, 9 months ago by flipper242.
Ok. Great that worked. Now a strange thing happens though.
If I enter https://www.gls363.com it works 100%. However, if I enter gls363.com or http://www.gls363.com it jumps to https://www.gls363.com/gls363/ and gives me a page not found error as it shouldn’t add the “/gls363” at the end. Any ideas?
Hi test it without the requested uri
Thanks. I basically unmapped and remapped in the plugin. Now its working perfectly. Thanks everyone and have a great weekend 🙂
great to see when you help each other 🙂
@florianheinrich automatic redirection is something we have not implemented yet, but will find it‘s way into the plugin somehow and at the right time 😉