vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Who is moving to https? (https://vborg.vbsupport.ru/showthread.php?t=323946)

RichieBoy67 11-29-2016 10:06 PM

Who is moving to https?
 
Anyone making the jump? Google chrome is starting to become an issue for sites not using an ssl as is Apple. I found out a couple days ago my IOS app will not be working as of January 1 unless I use https..

Does anyone have any strategy or plans for switching?

shimei 11-29-2016 10:18 PM

I have been using SSL now for a little over two years. I remember during the transition that the site's traffic plummeted. http and https are not looked at as the same url and link juice was deluded even with a 301 redirect. All those back links to my site lost a lot of weight. They were pointing to http and not https, and when I redirected the http to https through htaccess the site lost ranking. Lastly, it took some time for Google to reindex the site and update the site's urls.

Just a heads up, be patient because it will get worse before it gets better. If you're working on SEO, save your money until after you make the transition, because building up the http address is a waste in the long run.

MarkFL 11-29-2016 10:19 PM

One of the sites I help admin is beginning to talk about it. :)

Dave 11-29-2016 10:20 PM

I've been using it for a long time now with thanks to https://letsencrypt.org/ for free SSL certificates.

RichieBoy67 11-29-2016 10:36 PM

Quote:

Originally Posted by shimei (Post 2578903)
I have been using SSL now for a little over two years. I remember during the transition that the site's traffic plummeted. http and https are not looked at as the same url and link juice was deluded even with a 301 redirect. All those back links to my site lost a lot of weight. They were pointing to http and not https, and when I redirected the http to https through htaccess the site lost ranking. Lastly, it took some time for Google to reindex the site and update the site's urls.

Just a heads up, be patient because it will get worse before it gets better. If you're working on SEO, save your money until after you make the transition, because building up the http address is a waste in the long run.

Yeah, that is what I am afraid of and why I have put this off for a long time.

--------------- Added 29 Nov 2016 at 19:37 ---------------

Quote:

Originally Posted by Dave (Post 2578905)
I've been using it for a long time now with thanks to https://letsencrypt.org/ for free SSL certificates.

Thanks for that link!

I think mine cost me about $15 a year or something. I do have an ssl set up. I just do not have it for the entire domain.

Dave 11-29-2016 10:54 PM

Quote:

Originally Posted by RichieBoy67 (Post 2578906)
Yeah, that is what I am afraid of and why I have put this off for a long time.

--------------- Added 29 Nov 2016 at 19:37 ---------------



Thanks for that link!

I think mine cost me about $15 a year or something. I do have an ssl set up. I just do not have it for the entire domain.

Best thing is, you can setup automated cronjobs that renews the LetsEncrypt SSL certificate so you never have to worry about renewing them manually.

Apache: https://www.digitalocean.com/communi...n-ubuntu-16-04
nginx: https://www.digitalocean.com/communi...p-auto-renewal
IIS: https://github.com/ebekker/ACMESharp

Or use https://certbot.eff.org/

Ashlar217 11-30-2016 02:09 AM

Quote:

Originally Posted by Dave (Post 2578905)
I've been using it for a long time now with thanks to https://letsencrypt.org/ for free SSL certificates.

I use Lets Encrypt also, on a VB friendly host, GlowHost. I started my site from scratch with SSL, so i managed to avoid the worry of lost back links etc...

Best way to go using SSL in my opinion. People just do not trust unsecured sites like they used to.

Paul M 11-30-2016 02:31 AM

I added https capability to my forum for anyone who wanted to use it, but its not the default.

The same applies to vb.org, it will work here if you want, but its not the default.

We actually switched vb.com to use it as the default yesterday, since its needed for the IOS mobile app (mandatory soon).

noypiscripter 12-01-2016 12:10 AM

I used https://www.sslforfree.com/ which uses https://letsencrypt.org/ for generating the certificates. It's easy to use. I just have no time to install the certificate on the server yet and the cron jobs to auto-renew.

RichieBoy67 12-01-2016 08:13 AM

Quote:

Originally Posted by Paul M (Post 2578915)
I added https capability to my forum for anyone who wanted to use it, but its not the default.

The same applies to vb.org, it will work here if you want, but its not the default.

We actually switched vb.com to use it as the default yesterday, since its needed for the IOS mobile app (mandatory soon).

Yep, that is exactly why I have to switch as well..

It would be interesting to see how switching impacts seo and traffic to Vbulletin.com.

--------------- Added [DATE]1480626162[/DATE] at [TIME]1480626162[/TIME] ---------------

I have been working on this and it turned out to be more complicated than I expected. Certain things are not functioning in the admincp I suppose from being blocked by browsers due to not being secure..

First though I have these 3 items I have not been able to find or I found and changed and they may be cached.
https://www.whynopadlock.com/check.php
PHP Code:

Insecure URLhttp://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yuiloader-dom-event/yuiloader-dom-event.js
Found inhttps://REMOVED/

Insecure URLhttp://REMOVED/images/styles/scarydark/style/icon-youtube.png
Found inhttps://REMOVED/

Insecure URLhttp://ajax.googleapis.com/ajax/libs/yui/2.9.0/build/animation/animation-min.js?v=423
Found inhttps://REMOVED/ 

I also am trying to get my htaccess to redirect both non www and www to https://

PHP Code:

Options +FollowSymLinks
RewriteEngine on
RewriteBase 
/

RewriteCond %{HTTP_HOST} ^www.musclemecca\.com$ [NC]
RewriteRule ^(.*)$ http://REMOVED/$1 [L,R=301]


#RedirectMatch 301 ^/content/(.*)$ http://REMOVED/content/$1

RewriteRule ^reviews/([^/]*)/ ./reviews.php?do=main&catid=$[L,NC]
RewriteRule ^review/([^/]*)/ ./reviews.php?do=viewreview&reviewid=$[L,NC]
RewriteRule ^reviewer/([^/]*)/ ./reviews.php?do=reviewer&reviewerid=$[L,NC]

## SITE REFERRER BANNING

<IfModule mod_rewrite.c>
     
RewriteEngine On
     RewriteCond 
%{HTTPSon
     RewriteRule 
.* http://%{HTTP_HOST}%{REQUEST_URI}
</IfModule>

<
IfModule mod_headers.c>
        <
FilesMatch "\.(bmp|css|flv|gif|ico|jpg|jpeg|js|pdf|png|svg|swf|tif|tiff)$">
                
Header set Last-Modified "Mon, 15 Feb 2013 00:00:00 GMT"
        
</FilesMatch>
</
IfModule>

# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType application
/javascript .js
AddType application
/x-javascript .js
AddType text
/html .html .htm
AddType text
/richtext .rtf .rtx
AddType image
/svg+xml .svg .svgz
AddType text
/plain .txt
AddType text
/xsd .xsd
AddType text
/xsl .xsl
AddType text
/xml .xml
AddType video
/asf .asf .asx .wax .wmv .wmx
AddType video
/avi .avi
AddType image
/bmp .bmp
AddType application
/java .class
AddType video/divx .divx
AddType application
/msword .doc .docx
AddType application
/x-msdownload .exe
AddType image
/gif .gif
AddType application
/x-gzip .gz .gzip
AddType image
/x-icon .ico
AddType image
/jpeg .jpg .jpeg .jpe
AddType application
/vnd.ms-access .mdb
AddType audio
/midi .mid .midi
AddType video
/quicktime .mov .qt
AddType audio
/mpeg .mp3 .m4a
AddType video
/mp4 .mp4 .m4v
AddType video
/mpeg .mpeg .mpg .mpe
AddType application
/vnd.ms-project .mpp
AddType application
/vnd.oasis.opendocument.database .odb
AddType application
/vnd.oasis.opendocument.chart .odc
AddType application
/vnd.oasis.opendocument.formula .odf
AddType application
/vnd.oasis.opendocument.graphics .odg
AddType application
/vnd.oasis.opendocument.presentation .odp
AddType application
/vnd.oasis.opendocument.spreadsheet .ods
AddType application
/vnd.oasis.opendocument.text .odt
AddType audio
/ogg .ogg
AddType application
/pdf .pdf
AddType image
/png .png
AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio
/x-realaudio .ra .ram
AddType application
/x-shockwave-flash .swf
AddType application
/x-tar .tar
AddType image
/tiff .tif .tiff
AddType audio
/wav .wav
AddType audio
/wma .wma
AddType application
/vnd.ms-write .wri
AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application
/zip .zip
</IfModule>
# END W3TC Browser Cache

# START E-Tag
<ifModule mod_headers.c>
Header unset ETag
</ifModule>
FileETag None
# END E-Tag

# START Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# END Deny attempts to view the Htaccess file.

# Start Deny attempts to view the config file.
<Files includes/config.php>
Order allow,deny
Deny from all
</Files>
# End Deny attempts to view the config file.

# Block User-agent Libwww-perl
RewriteEngine On
RewriteCond 
%{HTTP_USER_AGENTlibwww-perl.*
RewriteRule .* ? [F,L]

# proc/self/environ? no way!
RewriteCond %{QUERY_STRINGproc/self/environ [OR]
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRINGmosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRINGbase64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRINGGLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING_REQUEST(=|[|%[0-9A-Z]{0,2})

# Measures to block out SQL injection attacks
RewriteCond %{QUERY_STRING} ^.*(;|<|>|'|"|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|cast|set|declare|drop|update|md5|benchmark).* [NC,OR]

RewriteEngine On

# new static rulers
Redirect 301 /270/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /271/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /277/ http://REMOVED/forumdisplay.php/277-Legendary-Threads

Redirect 301 /f226/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f226/2012-amateur-olympia-guaratees-spot-2013-mr-o-220736/ http://REMOVED/showthread.php/220736-2012-Amateur-Olympia!-Guaratees-spot-at-the-2013-Mr-O-!!!!
Redirect 301 /f226/antoine-vaillant-updates-official-thread-219458/index11.html http://REMOVED/showthread.php/219458-Antoine-Vaillant-%28Updates%29-Official-Thread/page11
Redirect 301 /f226/antoine-vaillant-updates-official-thread-219458/index2.html http://REMOVED/showthread.php/219458-Antoine-Vaillant-(Updates)-Official-Thread
Redirect 301 /f226/arnold-schwarzenegger-training-recently-219595/ http://REMOVED/showthread.php/219595-Arnold-Schwarzenegger-Training-Recently!?highlight=arnold-schwarzenegger-training
Redirect 301 /f226/article-re-ronnie-coleman-updates-official-thread-220863/ http://REMOVED/content.php?r=186-Re-Ronnie-Coleman-(Updates)-Official-Thread
Redirect 301 /f226/article-re-ronnie-coleman-updates-official-thread-220863/ http://REMOVED/showthread.php/221015-Ronnie-Coleman-(Updates)-Official-Thread
Redirect 301 /f226/kai-greene-arnold-preview-184695/ http://REMOVED/showthread.php/184695-Kai-Greene-%28Arnold-Preview%29?highlight=kai-greene-arnold-preview
Redirect 301 /f226/mark-alvisi-dragon-training-series-episode-4-arms-workout-213074/ http://REMOVED/showthread.php/213074-Mark-Alvisi-Dragon-Training-Series-Episode-4-(Arms-Workout)
Redirect 301 /f226/new-md-october-2008-a-197679/ http://REMOVED/showthread.php/197679-NEW-MD-OCTOBER-2008
Redirect 301 /f226/ronnie-coleman-207389/ http://REMOVED/forumdisplay.php/307-Ronnie-Coleman
Redirect 301 /f265/ http://REMOVED/forumdisplay.php/265-Movies-Games-TV-and-Music
Redirect 301 /f265/toy-story-3-movie-trailer-213280/ http://REMOVED/showthread.php/213280-Toy-Story-3-movie-trailer
Redirect 301 /f267/ http://REMOVED/forumdisplay.php/267-The-2008-MEMBER-OF-THE-YEAR
Redirect 301 /f270/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f271/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f277/ http://REMOVED/forumdisplay.php/277-Legendary-Threads
Redirect 301 /f286/ http://REMOVED/forumdisplay.php/286-Androgenetx-com
Redirect 301 /f289/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f290/ http://REMOVED/forumdisplay.php/290-CEMproducts-com
Redirect 301 /f293/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f298/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f299/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f300/ http://REMOVED/forumdisplay.php/229-MuscleMecca-Feedback
Redirect 301 /f301/ http://REMOVED/forumdisplay.php/301-Diet-Nutrition-and-Enhancement-Forum
Redirect 301 /f302/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /f305/ http://REMOVED/forumdisplay.php/305-Bodybuilder-Pro-List
Redirect 301 /f306/ http://REMOVED/forumdisplay.php/306-Arnold-Schwarzenegger
Redirect 301 /f307/ http://REMOVED/forumdisplay.php/307-Ronnie-Coleman
Redirect 301 /f308/ http://REMOVED/forumdisplay.php/308-Phil-Heath
Redirect 301 /f321/ http://REMOVED/forumdisplay.php/321-John-Grimek
Redirect 301 /f322/ http://REMOVED/forumdisplay.php/322-Sergio-Oliva
Redirect 301 /f328/ http://REMOVED/forumdisplay.php/328-Shawn-Roden
Redirect 301 /f329/ http://REMOVED/forumdisplay.php/329-Lionel-Beyeke
Redirect 301 /f352/ http://REMOVED/forumdisplay.php/325-Bob-Paris

Redirect 301 /showthread.php/235881-San-Marino-Classic-2015-play-by-play-by-UnderBody http://REMOVED/showthread.php/235413-2015-IFBB-San-Marino-Pro
Redirect 301 /showthread.php/235881-San-Marino-Classic-2015-play-by-play-by-UnderBody/page1 http://REMOVED/showthread.php/235413-2015-IFBB-San-Marino-Pro
Redirect 301 /showthread.php/235881-San-Marino-Classic-2015-play-by-play-by-UnderBody/page2 http://REMOVED/showthread.php/235413-2015-IFBB-San-Marino-Pro
Redirect 301 /showthread.php/235881-San-Marino-Classic-2015-play-by-play-by-UnderBody/page3 http://REMOVED/showthread.php/235413-2015-IFBB-San-Marino-Pro
Redirect 301 /showthread.php/235881-San-Marino-Classic-2015-play-by-play-by-UnderBody/page4 http://REMOVED/showthread.php/235413-2015-IFBB-San-Marino-Pro
Redirect 301 /showthread.php?t=235881 http://REMOVED/showthread.php/235413-2015-IFBB-San-Marino-Pro


Redirect 301 /showthread.php/lee-priest-cradle-top-36785.html http://REMOVED/showthread.php/206007-LEE-PRIEST-FROM-THE-CRADLE-TO-THE-TOP

Redirect 301 /arnold-classic-298/ http://REMOVED/forumdisplay.php/226-MuscleMecca-HeadQuarters
Redirect 301 /arnold-classic-298/ http://REMOVED/forumdisplay.php/306-Arnold-Schwarzenegger
Redirect 301 /bodybuilding-pictures-270/ http://REMOVED/albumall.php
Redirect 301 /bodybuilding-videos-231/ http://REMOVED/forumdisplay.php/340-Muscle-Video
Redirect 301 /forum/ http://REMOVED/forum.php
Redirect 301 /forum/index.php http://REMOVED/forum.php

Redirect 301 /showthread.php/234271-2014-Arnold-Classic-BRAZIL! http://REMOVED/showthread.php/234271-2014-Arnold-Classic-BRAZIL-Steve-Kuclo-wins!!!
Redirect 301 /showthread.php/234271-2014-Arnold-Classic-BRAZIL!/page2 http://REMOVED/showthread.php/234271-2014-Arnold-Classic-BRAZIL-Steve-Kuclo-wins!!!/page2
Redirect 301 /showthread.php/234271-2014-Arnold-Classic-BRAZIL!/page3 http://REMOVED/showthread.php/234271-2014-Arnold-Classic-BRAZIL-Steve-Kuclo-wins!!!/page3
Redirect 301 /showthread.php/234271-2014-Arnold-Classic-BRAZIL!/page4 http://REMOVED/showthread.php/234271-2014-Arnold-Classic-BRAZIL-Steve-Kuclo-wins!!!/page4
Redirect 301 /showthread.php/234271-2014-Arnold-Classic-BRAZIL!/page5 http://REMOVED/showthread.php/234271-2014-Arnold-Classic-BRAZIL-Steve-Kuclo-wins!!!/page5
Redirect 301 /showthread.php/234271-2014-Arnold-Classic-BRAZIL!/page6 http://REMOVED/showthread.php/234271-2014-Arnold-Classic-BRAZIL-Steve-Kuclo-wins!!!/page6

Redirect 301 /showthread.php/old-scans-nasser-el-sonbaty-jean-pierre-fux-photoshoot-40694.html http://REMOVED/showthread.php/209746-OLD-SCANS-NASSER-EL-SONBATY-amp-JEAN-PIERRE-FUX-PHOTOSHOOT
Redirect 301 /showthread.php/jean-pierre-fux-squat-accident-3436.html http://REMOVED/showthread.php/194677-No-No-No-Squatting

Redirect 301 /content.php/326-content.php/326-2014-Arnold-Classic-BRAZIL! http://REMOVED/content.php/326-2014-Arnold-Classic-BRAZIL!
Redirect 301 /content.php/287-content.php/287-This-Week-We-Feature-Lionel-Beyeke http://REMOVED/content.php/287-This-Week-We-Feature-Lionel-Beyeke
Redirect 301 /content.php/298-content.php/298-Mr-Olympia-Caption-this-funny-pics http://REMOVED/content.php/298-Mr-Olympia-Caption-this-funny-pics
Redirect 301 /content.php/281-content.php/281-Max-Charles-Overall-winner-at-the-2013-USA-s! http://REMOVED/content.php/281-Max-Charles-Overall-winner-at-the-2013-USA-s!
Redirect 301 /content.php/288-content.php/288-Big-Ramy-The-2013-Bodybuilding-year-and-what-lies-ahead http://REMOVED/content.php/288-Big-Ramy-The-2013-Bodybuilding-year-and-what-lies-ahead
Redirect 301 /content.php/276-content.php/276-Video-Q-amp-A-with-Ronnie-Coleman http://REMOVED/content.php/276-Video-Q-amp-A-with-Ronnie-Coleman
Redirect 301 /content.php/301-content.php/301-Phil-Heath-Wins-the-2013-Mr-Olympia-FULL-Results! http://REMOVED/content.php/301-Phil-Heath-Wins-the-2013-Mr-Olympia-FULL-Results!
Redirect 301 /content.php/331-content.php/331-2014-New-York-Pro-updates! http://REMOVED/content.php/331-2014-New-York-Pro-updates!
Redirect 301 /content.php/180-content.php/180-What-you-need-to-know-about-Powerlifting http://REMOVED/content.php/180-What-you-need-to-know-about-Powerlifting
Redirect 301 /content.php/255-content.php/255-Arnold-Schwarzenegger-RARE-pics! http://REMOVED/content.php/255-Arnold-Schwarzenegger-RARE-pics!
Redirect 301 /content.php/243-content.php/243-Dorian-Yates-BFTO-1996 http://REMOVED/content.php/243-Dorian-Yates-BFTO-1996
Redirect 301 /content.php/263-content.php/263-Stage-6-***Top-6-GUESS***-2013-New-York-Pro!!! http://REMOVED/content.php/263-Stage-6-***Top-6-GUESS***-2013-New-York-Pro!!!
Redirect 301 /content.php/325-content.php/325-2014-Arnold-Classic-RESULTS-SCORECARDS! http://REMOVED/content.php/325-2014-Arnold-Classic-RESULTS-SCORECARDS!
Redirect 301 /content.php/264-content.php/264-John-Carrol-Grimek-is-the-Monarch-of-Muscledom http://REMOVED/content.php/264-John-Carrol-Grimek-is-the-Monarch-of-Muscledom
Redirect 301 /content.php/289-content.php/289-Dexter-Jackson-The-Big-Bad-Blade-Blazing-as-Always http://REMOVED/content.php/289-Dexter-Jackson-The-Big-Bad-Blade-Blazing-as-Always
Redirect 301 /content.php/247-content.php/247-2013-Arnold-Classic-LIVE-WEBCAST! http://REMOVED/content.php/247-2013-Arnold-Classic-LIVE-WEBCAST!
Redirect 301 /content.php/317-content.php/317-Lee-Priest-%E2%80%93-Professional-Bodybuilder-Race-Car-Driver-and-Movie-Actor http://REMOVED/content.php/317-Lee-Priest-%E2%80%93-Professional-Bodybuilder-Race-Car-Driver-and-Movie-Actor
Redirect 301 /content.php/327-content.php/327-2014-Europa-Orlando-Pro-photos-RESULTS! http://REMOVED/content.php/327-2014-Europa-Orlando-Pro-photos-RESULTS!
Redirect 301 /content.php/237-content.php/237-Dorian-Yates-Into-The-Shadow-%28London-Real%29 http://REMOVED/content.php/237-Dorian-Yates-Into-The-Shadow-%28London-Real%29
Redirect 301 /content.php/278-Re-Jay-Cutler-(Updates)-Official-Thread http://REMOVED/showthread.php/219271-Jay-Cutler-(Updates)-Official-Thread

Redirect 301 /forums/223-Off-Topic-Discussion http://REMOVED/forumdisplay.php/223-Off-Topic-Discussion
Redirect 301 /forums/281-MuscleMecca-Supporters http://REMOVED/forumdisplay.php/281-MuscleMecca-Supporters
Redirect 301 /forums/237-Advanced-Chemicals http://REMOVED/forumdisplay.php/237-Advanced-Chemicals
Redirect 301 /forumdisplay.php/226-MuscleMecca-HeadQuartersflex-magazine-cover-march-09-a-210952/ http://REMOVED/showthread.php/210952-Flex-magazine-cover-for-march-09

Redirect 301 /entry.php/40-Lou-Ferrigno-Another-Italian-Kid-From-Brooklyn http://REMOVED/entry.php/39-Lou-Ferrigno-Another-Italian-Kid-From-Brooklyn

Redirect 301 /showthread.php?216191-Cedric%20McMillan%20=%20Next%20Coleman http://REMOVED/showthread.php/216191-Cedric-McMillan-Next-Coleman?highlight=Cedric+McMillan+Coleman
Redirect 301 /showthread.php/216191-Cedric-McMillan-Next-Coleman http://REMOVED/showthread.php/216191-Cedric-McMillan-Next-Coleman?highlight=Cedric+McMillan+Coleman

Redirect 301 /showthread.php/235479-2015-Mr-Olympia http://REMOVED/showthread.php/235481-The-2015-Mr-Olympia
## Tags
RedirectMatch 301 ^/tags/([A-Za-z0-9-]+)/$ http://REMOVED/tags.php?tag=$1

## Members
RedirectMatch 301 ^/members/(.*)$ http://REMOVED/member.php/$1

##Treads
RedirectMatch 301 ^/f([0-9]+)/([A-Za-z0-9-]+)-([0-9-]+)/index([0-9-]+)\.html$ http://REMOVED/showthread.php/$3-$2/page$4
RedirectMatch 301 ^/f([0-9]+)/([A-Za-z0-9-]+)-([0-9-]+)/$ http://REMOVED/showthread.php/$3-$2

RedirectMatch 301 ^/([0-9-]+)-post([0-9-]+)\.html$ http://REMOVED/showthread.php?p=$1
RedirectMatch 301 ^/threads/(.*)$ http://REMOVED/showthread.php/$1

##SiteMap
RedirectMatch 301 ^/sitemap/f-([a-z0-9-]+)\.html$ http://REMOVED/archive/index.php/f-$1.html

RedirectMatch 301 ^/([A-Za-z0-9-]+)-([0-9-]+)/([A-Za-z0-9-_]+)-([0-9-]+)/index([0-9-]+)\.html$ http://REMOVED/showthread.php/$4-$3/page$5
RedirectMatch 301 ^/([A-Za-z0-9-]+)-([0-9-]+)/([A-Za-z0-9-_]+)-([0-9-]+)/index([0-9-]+)$ http://REMOVED/showthread.php/$4-$3/page$5
RedirectMatch 301 ^/([A-Za-z0-9-]+)-([0-9-]+)/([A-Za-z0-9-_]+)-([0-9-]+)/(.*)$ http://REMOVED/showthread.php/$4-$3
RedirectMatch 301 ^/([A-Za-z0-9-]+)-([0-9-]+)/([A-Za-z0-9-_]+)-([0-9-]+)/$ http://REMOVED/showthread.php/$4-$3

## Forums
RedirectMatch 301 ^/([A-Za-z0-9-]+)-([0-9-]+)/$ http://REMOVED/forumdisplay.php/$2-$1

Redirect 301 /content.php/324-2014-Arnold-Classic-photos-videos! http://REMOVED/showthread.php/234224-2014-Arnold-Classic-photos-amp-videos!?highlight=2014+arnold+classic+photos+videos

Redirect 301 /showthread.php/your-views-bb-com-30114.html http://REMOVED/search.php?searchid=1890113

ErrorDocument 400 /400.php
ErrorDocument 401 /401.php
ErrorDocument 403 /403.php
ErrorDocument 404 /404.php
ErrorDocument 500 /500.php 

Appreciate the help,
Rich

CAG CheechDogg 12-01-2016 07:43 PM

Try this my Man ....


Code:

# Always use https for secure connections
# Replace 'www.example.com' with your domain name
# (as it appears on your SSL certificate)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^yoursite.com$
RewriteRule ^(.*)$ "https\:\/\/www\.yoursite\.com\/$1" [R=301,L]


# To redirect both www and non www
RewriteCond %{HTTP_HOST} ^yoursite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.yoursite\.com$
RewriteRule ^/?$ "https\:\/\/www\.yoursite\.com" [R=301,L]


Dave 12-01-2016 08:12 PM

I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:

/admincp/index.php look around line 495, and replace the $mainframe variable with
PHP Code:

$mainframe "<frame src=\"" str_replace("http://""https://"iif(!empty($vbulletin->GPC['loc']) AND !preg_match('#^[a-z]+:#i'$vbulletin->GPC['loc']), create_full_url($vbulletin->GPC['loc']), "index.php?" $vbulletin->session->vars['sessionurl'] . "do=home")) . "\" name=\"main\" scrolling=\"yes\" frameborder=\"0\" marginwidth=\"10\" marginheight=\"10\" border=\"no\" />\n"


RichieBoy67 12-01-2016 08:13 PM

Thanks brother,

I tried that one earlier and I could not get on. I have to look at the rest of my htaccess.

I have decided to revert my main url's back to http for now.. Too many issues and some of them may be from Cloudflare. Thought I had this almost done but Chrome was giving me major issues.

As of right now my ads are using https as are other components though the main urls are still http.

PITA..

Thanks for the assistance bro

--------------- Added [DATE]1480630464[/DATE] at [TIME]1480630464[/TIME] ---------------

Quote:

Originally Posted by Dave (Post 2579003)
I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:

/admincp/index.php look around line 495, and replace the $mainframe variable with
PHP Code:

$mainframe "<frame src=\"" str_replace("http://""https://"iif(!empty($vbulletin->GPC['loc']) AND !preg_match('#^[a-z]+:#i'$vbulletin->GPC['loc']), create_full_url($vbulletin->GPC['loc']), "index.php?" $vbulletin->session->vars['sessionurl'] . "do=home")) . "\" name=\"main\" scrolling=\"yes\" frameborder=\"0\" marginwidth=\"10\" marginheight=\"10\" border=\"no\" />\n"


I just posted before I saw this. Let me take a look and maybe this is what I need. :)

Thanks

--------------- Added [DATE]1480630717[/DATE] at [TIME]1480630717[/TIME] ---------------

Quote:

Originally Posted by Dave (Post 2579003)
I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:

/admincp/index.php look around line 495, and replace the $mainframe variable with
PHP Code:

$mainframe "<frame src=\"" str_replace("http://""https://"iif(!empty($vbulletin->GPC['loc']) AND !preg_match('#^[a-z]+:#i'$vbulletin->GPC['loc']), create_full_url($vbulletin->GPC['loc']), "index.php?" $vbulletin->session->vars['sessionurl'] . "do=home")) . "\" name=\"main\" scrolling=\"yes\" frameborder=\"0\" marginwidth=\"10\" marginheight=\"10\" border=\"no\" />\n"


How did you have the Crypto page set on Cloudflare Dave?

Dave 12-01-2016 08:44 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579004)
Thanks brother,

I tried that one earlier and I could not get on. I have to look at the rest of my htaccess.

I have decided to revert my main url's back to http for now.. Too many issues and some of them may be from Cloudflare. Thought I had this almost done but Chrome was giving me major issues.

As of right now my ads are using https as are other components though the main urls are still http.

PITA..

Thanks for the assistance bro

--------------- Added [DATE]1480630464[/DATE] at [TIME]1480630464[/TIME] ---------------


I just posted before I saw this. Let me take a look and maybe this is what I need. :)

Thanks

--------------- Added [DATE]1480630717[/DATE] at [TIME]1480630717[/TIME] ---------------



How did you have the Crypto page set on Cloudflare Dave?

Default settings as far as I know: flexible SSL, HSTS on, origin pulls off, opportunistic encryption on, TLS 1.3 on, automatic HTTPS rewrites on.

RichieBoy67 12-01-2016 09:25 PM

Thanks, I will give this another go in a few minutes. :)

Any idea as to what was messing up my htaccess redirects? I tried Cheech's above and I had this one as well:

RewriteEngine On
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

neither of these worked and gave me redirect errors..

Thanks again guys,
Rich

CAG CheechDogg 12-01-2016 09:40 PM

Ah yeah ! I had cloudflare too and it didn't work with the https ... they do say it has problems with it for some reason ... sorry my Man ...

RichieBoy67 12-01-2016 09:42 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2579009)
Ah yeah ! I had cloudflare too and it didn't work with the https ... they do say it has problems with it for some reason ... sorry my Man ...

That's ok brother, Thanks! :up:

--------------- Added [DATE]1480635993[/DATE] at [TIME]1480635993[/TIME] ---------------

Quote:

Originally Posted by CAG CheechDogg (Post 2579009)
Ah yeah ! I had cloudflare too and it didn't work with the https ... they do say it has problems with it for some reason ... sorry my Man ...

I like Cloudflare but the plan I have is currently $20 The next one up is $200. :eek: I think that is the plan I need to use my own cert that I already have..I think my issue is that I need to use their cert.

CAG CheechDogg 12-01-2016 09:47 PM

Yeah I think so too ... that is what I remember from talking with hostgator about it all ...

KevinL 12-01-2016 09:50 PM

I've used without issue in the past :

Code:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://YOURSITE$1 [R,L]

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Then I just created a a page rule On cloudflare and disabled performance on the admincp and had no issues.

RichieBoy67 12-01-2016 09:51 PM

Looks like they will get me for another $5 per month just to use a decent cert from them.. I think that will do the trick though.

Will still need to figure out my htaccess but that should do it hopefully..

--------------- Added [DATE]1480636366[/DATE] at [TIME]1480636366[/TIME] ---------------

Quote:

Originally Posted by KevinL (Post 2579013)
I've used without issue in the past :

Code:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://YOURSITE$1 [R,L]

RewriteCond %{HTTP_HOST} !^$
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Then I just created a a page rule On cloudflare and disabled performance on the admincp and had no issues.

Thanks, I will try that htaccess

I already have everything bypassed for admincp. :)

--------------- Added [DATE]1480636898[/DATE] at [TIME]1480636898[/TIME] ---------------

I cannot understand why everything is messed up in Chrome.. looks like my entire theme is screwed up.

KevinL 12-01-2016 10:18 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579014)

I cannot understand why everything is messed up in Chrome.. looks like my entire theme is screwed up.

Looks OK to me.

RichieBoy67 12-01-2016 10:19 PM

Ok, I fixed that.. just had to add the full url to those images for the theme.

I just need to figure out my htaccess next and done. :)

CAG CheechDogg 12-01-2016 10:19 PM

I hate chrome dude ... I stay with firefox exclusively ...

RichieBoy67 12-01-2016 10:23 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2579019)
I hate chrome dude ... I stay with firefox exclusively ...

I usually do but lately firefox has been sluggish and laggy mostly due to my speeddials and the sheer amount of tabs I have open at any one time.

Chrome seems to handle it ok but it is not always so friendly.

I have actually tried the latest IE and it is pretty quick but it doesn't have the tools I need, webdeveloper tool bar, Firebug, etc..

Anyways I use Firefox mostly still though my sites have to be user friendly to everyone.

shimei 12-01-2016 10:27 PM

This is my .htaccess:

Quote:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.christforums\.org [OR,NC]
RewriteCond %{HTTPS} off
RewriteRule ^ https://www.christforums.org%{REQUEST_URI} [NE,R=301,L]
Regarding Browsers, I now use Brave. Ex Mozilla CEO Is Back

For a direct link to Brave: https://brave.com/

I haven't any issue now with Cloudflare, though I did have to create a pagerule for the admincp. Rocket Loader is off for pages that have the Ckeditor, but overall Cloudflare has increased performance and lowered my page load time by several seconds. My load times are consistently under two seconds.

Enjoy,
Shim

RichieBoy67 12-01-2016 10:37 PM

Ok, I got a working solution. I did this myself and I am not very skilled at htaccess so please let me know if this is ok:

PHP Code:

Options +FollowSymLinksRewriteEngine onRewriteBase /RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]RewriteRule ^(.*)$ https://mysite.com/$1 [L,R=301] 

--------------- Added [DATE]1480654997[/DATE] at [TIME]1480654997[/TIME] ---------------

The solution I found that works better than htaccess is to use page rules in cloudflare. The only issue is that browsers will still have issues with mixed content such as images from third party sites not using https..

I have been using that import plug in for years so hopefully we will not have an issue with this. The plug in has a url replace setting so just put in your https://yoursite.XXX

--------------- Added [DATE]1480656801[/DATE] at [TIME]1480656801[/TIME] ---------------

Hmmmmm

I have everything set I believe but I am having issues now with both browsers in the admincpanel.

I cannot rebuild the search table because it will not load the next page. This is javascript..

When updating settings I do not ever get to the new page once completed.

I did update some of the urls for jquery, etc to include https


##Dave I did incorporate your change but it has helped this issue..

--------------- Added [DATE]1480658962[/DATE] at [TIME]1480658962[/TIME] ---------------

Quote:

Originally Posted by Dave (Post 2579003)
I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:

/admincp/index.php look around line 495, and replace the $mainframe variable with
PHP Code:

$mainframe "<frame src="" . str_replace("http://", "https://", iif(!empty($vbulletin->GPC['loc']) AND !preg_match('#^[a-z]+:#i', $vbulletin->GPC['loc']), create_full_url($vbulletin->GPC['loc']), "index.php?" . $vbulletin->session->vars['sessionurl'] . "do=home")) . "" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />\n"; 


When I use this I get:
PHP Code:

PHP Warningtrim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032 

when saving admincp options..

RichieBoy67 12-02-2016 08:53 AM

1 Attachment(s)
Everything seems to be working fine except for the admincp.. I can see that the the url that pushes to the next page as in the image below are not https:// for some reason..

Dave 12-02-2016 01:04 PM

The error
HTML Code:

PHP Warning: trim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032
Seems to be caused by a plugin because it happens in the validate_setting_value function.

RichieBoy67 12-03-2016 07:31 AM

This is the htaccess I ended up using. This redirects everything to https://

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RichieBoy67 12-07-2016 06:46 PM

I am still having some issues inside the admincp.

I cannot use the user search now. In firefox it will not search at all and in Chrome the section where the search is shows up blank once I trigger a search.

Also, if I edit a forum it never finishes and redirects back. Same thing when I edit an option in the settings. Then if I look at the link below where it says the following:

If you are not automatically redirected, please click here.
Processing Complete - Proceed

Both of those links show no https://

I really need these functions fixed. Especially the user search. Some help would be appreciated please. :)



Dave 12-07-2016 07:08 PM

The change to the PHP file I supplied a couple of posts ago did not fix that? I had the same issue and changing that fixed it for me.

RichieBoy67 12-07-2016 07:16 PM

Quote:

Originally Posted by Dave (Post 2579228)
The change to the PHP file I supplied a couple of posts ago did not fix that? I had the same issue and changing that fixed it for me.

Thanks Dave but no, no change with that. I am not getting an error any more but it is not fixing the issue.

caciquegm 12-16-2016 01:35 AM

Quote:

Originally Posted by RichieBoy67 (Post 2579229)
Thanks Dave but no, no change with that. I am not getting an error any more but it is not fixing the issue.


RICHIE, you finally resolve this issue? i have the same problem.

Twixted Chaox 12-16-2016 02:07 AM

1 Attachment(s)
i made a whm/cpanel module for lets encrypt which handles everything for you. just select the domain/subdomain you want to install it on and it handles everything else...

attached a few screens for you to look at....

I switched a long time ago because of this :D makes it so easy why wouldn't you :D

RichieBoy67 12-17-2016 05:13 PM

Quote:

Originally Posted by caciquegm (Post 2579494)
RICHIE, you finally resolve this issue? i have the same problem.

I never did resolve the issue but my work around is to use firefox, click on the yellow triangle warning in the url box and click disable security.. I do this in the admincp only..

--------------- Added [DATE]1482002174[/DATE] at [TIME]1482002174[/TIME] ---------------

Quote:

Originally Posted by Twixted Chaox (Post 2579495)
i made a whm/cpanel module for lets encrypt which handles everything for you. just select the domain/subdomain you want to install it on and it handles everything else...

attached a few screens for you to look at....

I switched a long time ago because of this :D makes it so easy why wouldn't you :D

I have Plesk. :)

Internal links still need to be changed, settings, etc. Adding the certificate itself is really easy. I use Cloudflare and their cert so that aspect is even easier.

I think there are still issues with certain areas of Vbulletin itself and some plug ins..

Thanks through..would use your plug for sure if I had cpanel.. :up:

Mark.B 12-18-2016 05:53 PM

Those getting mixed content warnings in the admincp, please make the file changes here:
http://www.vbulletin.com/forum/node/4355527

These changes will work for either vB3 or vB4 (not needed in vB5).
They are applied by default in 3.8.11 and 4.2.5.

CAG CheechDogg 12-19-2016 12:34 AM

Quote:

Originally Posted by Mark.B (Post 2579596)
Those getting mixed content warnings in the admincp, please make the file changes here:
http://www.vbulletin.com/forum/node/4355527

These changes will work for either vB3 or vB4 (not needed in vB5).
They are applied by default in 3.8.11 and 4.2.5.

I don't have those changes at all and I don't get mixed content warnings in the admincp and it always displays the greed padlock ....just saying ...

Ashlar217 12-19-2016 03:04 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2579607)
I don't have those changes at all and I don't get mixed content warnings in the admincp and it always displays the greed padlock ....just saying ...

Same here... I also use an image importer to fix mixed content warnings in the forums/CMS/Blog etc.. So far I am keeping everything secure with no mixed content warnings by doing nothing other than installing the SSL and adding the image importer.

RichieBoy67 12-19-2016 04:58 PM

I actually made the changes to the admincp/index.php and I still have the issues with mixed content.

In addition when I click on those processing links with in the admincp they still show urls that do not have https://..

What version of Vbulletin do you guys have?

Ashlar217 12-19-2016 06:42 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579632)
I actually made the changes to the admincp/index.php and I still have the issues with mixed content.

In addition when I click on those processing links with in the admincp they still show urls that do not have https://..

What version of Vbulletin do you guys have?

I'm using 4.2.3. Not sure how much help it will be. I hope you get it sorted out Richie


All times are GMT. The time now is 04:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01873 seconds
  • Memory Usage 2,040KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (8)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete