Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Jan 2021, 03:37
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
HTTPS/SSL issue with sytle sheets?

Hey guys,

I've just added a certificate to one of my sites, and will do the same for the others once this works!

I've run through the basics, install cert, changed in vb settings to https etc.. Then go to maintenance and run 'rebuild sytles'... All this worked without an issue/error.

I then was told to go to https://www.whynopadlock.com/ and add in a redirect for all HTTP traffic to https... I did that (in the .htaccess file)..

So, two issues.

1. When I now go to the site (https://www.ozaudi.com), it looks stuffed (see pic)... Looks like sytle sheet issue.

2. When I go back to whynopadlock.com, it says that there is still an issue with https redirect..

Does this take a 'while' to propagate around the internet, or should any changes to .htaccess file be immediate (I did reboot server after change).

I'm happy to post up contents of .htaccess if that helps.
Attached Images
File Type: png bmw error 1.png (112.0 KB, 4 views)
Reply With Quote
  #2  
Old 13 Jan 2021, 03:57
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Normally, https (ssl) will be active within 24 hours.

you-site/admincp/options.php?do=options&dogroup=address

Enter admincp and change http to https

You cannot make this change, forum links will force http and will not read css etc. files on the site.
Attached Images
File Type: png screenshot-www.yilmaztv.com-2021.01.13-05_06_28.png (30.8 KB, 4 views)
__________________
Mark as installed = get support.
Donations always appreciated.
https://www.vbyilmaz.com/

Last edited by yilmaz; 13 Jan 2021 at 04:07.
Reply With Quote
  #3  
Old 13 Jan 2021, 04:44
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
thanks. I've already changed the https in vb5...

vBulletin URL
Core URL

both changed yesterday to https..
Reply With Quote
  #4  
Old 13 Jan 2021, 05:04
napy8gen's Avatar
napy8gen napy8gen is offline
 
Join Date: Jan 2006
Real name: hanafi
I think you should ask your hosting company to fix the .htaccess
Reply With Quote
  #5  
Old 13 Jan 2021, 06:20
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
I have full access to the site (cpanel), so I can change it.

Just need to work out why what I put in doesn't work..

--------------- Added 14 Jan 2021 at 00:19 ---------------

Anybody else have any ideas?

This is what whynopadlock asked to add to the .httaccess file



RewriteEngine On
RewriteCond %{HTTP_HOST} ozbmw\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ozbmw.com/$1 [R,L]


So, the file now looks like this:


RewriteEngine on

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName ozbmw.com
AuthUserFile /home/ozbmw/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/ozbmw/public_html/_vti_pvt/service.grp

RewriteCond %{HTTP_HOST} ^ozbmw.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.ozbmw.com$
RewriteRule ^/?$ "http\:\/\/www\.ozbmw\.com\/forums\/index\.php" [R=301,L]

RewriteEngine On
RewriteCond %{HTTP_HOST} ozbmw\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.ozbmw.com/$1 [R,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
Reply With Quote
  #6  
Old 15 Jan 2021, 02:21
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Can anybody tell me what you are seeing on the screen? Does it look 'fine', like a normal forum, or does it look like it's missing css files?
Reply With Quote
  #7  
Old 15 Jan 2021, 02:56
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
https: // does not display correctly

-----

This is how the https redirect in my .htaccess file


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 15 Jan 2021 at 03:02 ---------------


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

base url why http? why not https? see settings enter admincp change settings from http to https

--------------- Added 15 Jan 2021 at 03:05 ---------------

There are multiple redirects in .htaccess. delete them, it will be easier if you add my above data.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--------------- Added 15 Jan 2021 at 03:10 ---------------

Must be RewriteBase if forum is not installed in root or installed in a separate folder


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Mark as installed = get support.
Donations always appreciated.
https://www.vbyilmaz.com/
Reply With Quote
  #8  
Old 17 Jan 2021, 03:50
jnrdavo jnrdavo is offline
 
Join Date: Aug 2007
Thanks again yilmaz

I've done a clean-up and I think it has worked.

Does the website look 'normal' now?
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks AWCoding- Restrict SSL (https) AWJunkies vBulletin 4.x Add-ons 10 20 Jul 2013 19:56
Miscellaneous Hacks AWCoding- Restrict SSL (https) AWJunkies vBulletin 3.8 Add-ons 4 07 Dec 2011 03:33



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:48.

Layout Options | Width: Wide Color: