Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2016-12-02 15:21:37

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Http --> Https

regarding to new google algorithem for Chrome - page rank and SEO it is advse, to go from http to https.

Is there any probem and where do we need to be careful, not to mess everything? Please advise ...

Offline

#2 2016-12-03 08:38:43

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Re: Http --> Https

The difference is not big for SEO.
More important is for sites that offers some financial transactions, eg. ecommerce.

First you need to purchase SSL certificate and must decide if it's wildcard cert or not.
Wildcard SSL cert is usually much more expensive. It simply supports main domain and any number of possible subdomains.
The price for SSL certificate can be very different, from $10 to $300 and more (per year)
Once cert purchased, you must install it on server and this depends on server settings. Usually there is instruction provided for multiple scenarios.
Finally you need to do proper 301 redirection either in .htaccess or in nginx config file to new address with https.
In the end you should check each website page if your https padlock is green. If it's not this means that your HTTPS website refers to some none HTTPS resource. This must be fixed. For established websites with many custom changes this can be a pain.

All of it is not very difficult, but I believe it's also not for newbie. Better is to ask someone experienced to do that then.

Last edited by Nuevolab (2016-12-03 09:55:15)

Offline

#3 2016-12-03 17:00:32

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Http --> Https

Yes, there are several scenarios when you already have a established website with several ads. If the ad company does not provide https urls it will not be very good...


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#4 2017-01-29 13:24:05

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

@symtab

can u please provide step by step instruction. i have already sent u email...

- i have bought SSL
- it is installed on server

i have copy this in .htaacess

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

now it`s force to https but Videos are not showing!

Last edited by K!ng (2017-01-29 17:54:49)

Offline

#5 2017-01-29 19:49:18

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

Did you edit the config.php in the root also?

Offline

#6 2017-01-29 20:09:14

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

no smile do you maybe know, what i need to add?

Offline

#7 2017-01-29 20:14:08

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

in the config.php in the root look for this line 'base_url' => 'http://www.yourwebdomain.com',
change it in this 'base_url' => 'https://www.yourwebdomain.com',

i think thats your problem wink

Offline

#8 2017-01-29 20:17:22

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

and try this in your .htaccess file

    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R=301,L]

this works for me

Offline

#9 2017-01-29 20:24:50

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

will like this be ok?

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
        RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R=301,L]
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteCond %{QUERY_STRING} SELECT(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} UNION(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} UPDATE(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteRule ^(.*)$ index.php [L,QSA]
   
       
   
    RewriteRule ^file/([0-9]+)/([0-9]+)/([^/]*)/([0-9]+)/(.*)$ file.php?id=$1&server=$2&hash=$3&expire=$4&file=$5 [L,QSA]
   
    RewriteRule ^embed/(.*)$ embed.php?id=$1 [L,QSA]
   
    RewriteCond %{REQUEST_FILENAME} !\.(flv|mp4|gif|jpg|jpeg|png|css|js|html)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

Offline

#10 2017-01-29 20:28:36

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

here is a copy of mine hopes it help

<IfModule mod_rewrite.c>
    RewriteEngine On
   
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    RewriteCond %{QUERY_STRING} SELECT(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} UNION(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} UPDATE(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteRule ^(.*)$ index.php [L,QSA]
   
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R=301,L]
   
    RewriteRule ^file/([0-9]+)/([0-9]+)/([^/]*)/([0-9]+)/(.*)$ file.php?id=$1&server=$2&hash=$3&expire=$4&file=$5 [L,QSA]
   
    RewriteRule ^embed/(.*)$ embed.php?id=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !\.(flv|mp4|gif|jpg|jpeg|png|css|js|html)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

Offline

#11 2017-01-29 20:36:44

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

i got green lock (secure), but embeeded videos are still not working ... sad

Offline

#12 2017-01-29 20:37:58

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

and did you change the url in the config.php

Offline

#13 2017-01-29 20:39:44

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

yes, 'base_url' => 'https://www.domain.com'

Offline

#14 2017-01-29 20:41:39

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

hmmmm i got no experience with embed sad ill try it quick on mine site

Offline

#15 2017-01-29 20:45:37

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

correct embed is not working here also

Offline

#16 2017-01-29 20:48:55

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

Thank you for your help.

I hope symtab will send us quick fix. I only have embeeded videos on my site...

Offline

#17 2017-01-29 20:53:49

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

your welcome wink
Ill hope so.
good luck
greetz
Jaco

Offline

#18 2017-01-29 20:58:30

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

P.s - i have now change files back to normal to go to http (so videos will work), but it automaticly redirect to https.

do you maybe know, what else should i change. I restore .htacess and config file...

tnx

Offline

#19 2017-01-29 21:06:36

Double_D
Member
From: The Netherlands
Registered: 2014-08-14
Posts: 305
Website

Re: Http --> Https

try this first.... clear you cache in your browser.

i dont know what you are using for admin panel for your server plesk or cpanel.
I know in plesk when you install the sll certificate you can select a couple of things maybe you have to take a look there.
And if you using cloudflare you must clear the cache also there.

Offline

#20 2017-01-29 21:14:56

K!ng
Member
Registered: 2013-01-18
Posts: 103
Website

Re: Http --> Https

didn`t work if i clear the catch ... embeed is being blocked by browser, i just check on firefox ....

Offline

#21 2017-03-01 05:33:46

newxxx
Member
Registered: 2012-06-11
Posts: 702

Re: Http --> Https

just curious if this problem has been fixed for embedded videos ?

Offline

#22 2017-03-01 06:16:54

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Http --> Https

The problem is that the embedded videos dont have https address. Even if you would modify it (i can write a small plugin to do this), the problem will still be there for some sites, because not all sites from where you embed support https.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB