xoops forums

Hadesteam

Not too shy to talk
Posted on: 3/15 10:14
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 150
Since: 2011/9/5 7
#21

Re: http to https

Is there someone who has already passed on https? I would like to ask how Google reacted to the change (positions in the search engine)?

Regards

aerograf

Not too shy to talk
Posted on: 3/15 11:52
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#22

Re: http to https

After the transition, I did not notice the difference. More for yourself and go to html5.
Here's the topic:
Https://webmasters.googleblog.com/2014 ... ps-as-ranking-signal.html
Https://support.google.com/webmasters/answer/34444?hl=en

Hadesteam

Not too shy to talk
Posted on: 5/20 15:30
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 150
Since: 2011/9/5 7
#23

Re: http to https

https://www.google.pl/?gws_rd=ssl#q=si ... /modules/news/article.php

every module redirection works fine but in news module is blank page, xoops 2.5.7, module news: 1,68 RC1

category redirect works fine but single article is blank page ...

Hadesteam

Not too shy to talk
Posted on: 5/20 16:58
Hadesteam
Hadesteam (Show more)
Not too shy to talk
Posts: 150
Since: 2011/9/5 7
#24

Re: http to https

Yes i felt something will be wrong, otherwise it would be too beautiful;)

http://www.kulturystyka.org.pl/module ... s/article.php?storyid=392 - redirection 301 STOP WORKS and other articles

http://www.kulturystyka.org.pl/modules/news/ - WORKS

http://www.kulturystyka.org.pl/module ... s/index.php?storytopic=34 - all categories WORKS

maybe with this redirect code is something wrong?
$checkScheme = function () {
        
$s $_SERVER;
        
$parsed parse_url(XOOPS_URL);
        
$targetScheme $parsed['scheme'];
        
$currentScheme = (!empty($s['HTTPS']) && $s['HTTPS'] !== 'off') ? 'https' 'http';
        if (
!== strcmp($targetScheme$currentScheme)) {
            
$host $parsed['host'];
            
$port = isset($parsed['port']) ? ':' $parsed['port'] : '';
            
$fullUrl $targetScheme '://' $host $port $s['REQUEST_URI'];
            
header('Location: ' $fullUrltrue301);
            exit();
        }
    };
    
$checkScheme();


Now i switch off this code, because i'm afraid of google position, i will wait for your help