Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Kazhal Posted July 25, 2016 Posted July 25, 2016 Hi, I activated SSL for the domain of my board t5net-forum.de and now I tried to set it from http to https. So far it's a little bit try & error (with searching for some helpful informations in other threads, e.g. like this one). So at first I edited the index.php from define( 'IPB_URL', 'http://www.t5net-forum.de/forum' ); to define( 'IPB_URL', 'https://www.t5net-forum.de/forum' ); Then I opened the .../forum/conf_global.php and changed all http://-strings to https://. At last I edited the .../forum/.htaccess and added this code as suggested in the other thread: # RewriteEngine On # RewriteCond %{HTTPS} off # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] (at the moment it's not active). So far so good, at the first look everything works fine, but some threads you are not able to open any longer. Do I have to do something more? Perhaps something like ReBuilding?! Thanks in advance for you help, with best regards!
Nathan Explosion Posted July 25, 2016 Posted July 25, 2016 That step with the index.php - not required at all, not sure why you have that in there in the first place. Actions required: edit conf_global.php, change base_url from http to https Open ACP, run the support tool to clear the cache.
Kazhal Posted July 25, 2016 Author Posted July 25, 2016 base_url isn't existing, I have 'board_url' => 'https://www.t5net-forum.de/forum', This is a list of all entries with http-strings: <?php $INFO = array ( 'board_url' => 'https://www.t5net-forum.de/forum', 'csite_poll_url' => 'http://www.t5net-forum.de/forum/index.php?showtopic=16466', 'home_url' => 'http://www.t5net-forum.de/', 'html_url' => 'http://www.t5net-forum.de/forum/html', 'upload_url' => 'http://www.t5net-forum.de/forum/uploads', [...] ); I tried to run the support tool (" Something isn't working correctly."), but it redirect me directly from step 1 to 3. Is there another way to clear the cache via ACP?
SaltyBart Posted July 25, 2016 Posted July 25, 2016 You can try it with replacing this: # RewriteCond %{HTTPS} off # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] to: RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.t5net-forum.de/$1 [R=301,L] Put the .htaccess in your root direction, run the support tool to clear the cache.
Kazhal Posted July 25, 2016 Author Posted July 25, 2016 Hm when I set the .access-file to root before login to ACP I am not able to do this (login not accepted: https-url). When I first login to ACP and then set the .htaccess-file, I can start the support-tool with step 1, but as before it redirects me instant to step 3. I do not know how to use it to clear the cache
Rhett Posted July 25, 2016 Posted July 25, 2016 You don't need any re-writes as mentioned above, if you are having trouble submit a ticket and we can assist you, it looks like you have many old settings in your config file though, which may be causing some confusion.
Kazhal Posted July 25, 2016 Author Posted July 25, 2016 This could be, the board stared in 2003. I will start a new ticket - thanks in advance!
PTiCA1 Posted July 27, 2016 Posted July 27, 2016 It will not be enough to change the url order to "//"?? define( 'board_url', '//www.my-forum.com/' );
Recommended Posts
Archived
This topic is now archived and is closed to further replies.