Skip to content

Change Genesis.php url rewrites to accommodate https #101

@mcheck

Description

@mcheck

If an ssl site is set up, the genesis url rewrites are serving incorrect pages to non-production sites (only non-production, because production does not use Genesis::rewriteUrls(); )

In order to get the https assets and pages to serve correctly in dev/staging, change Genesis::rewriteUrls(); on or about line 25:

$new_url = (($_SERVER['HTTPS'] == '') ? ("http://") : ("https://")) . $_SERVER['HTTP_HOST'];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions