[ar] [ca] [cpf] [de] [en] [es] [fr] [it]

This is where you can ask questions about the SPIP cms.

Topics : 255 Topics solved :  30 %

72 visitors now

Home > Forums about SPIP >  Installation, updates > https removes formatting from linked pages

https removes formatting from linked pages solved

by djgw - 30 March 2016 04:02 - Replies : 4


I am trying to use SSL provided by Lets Encrypt on my site. I have set up and installed certificates from Cpanel and changed the site configuration with https:// as well as clearing the cache.

When I open the home page https://plantcad.com the page loads correctly however when I click on a linked page all formatting is lost.

In the page source I notice all links are referencing port 80 - <base href="https://plantcad.com:80/" />

Any help appreciated.

  • I have discovered a solution however I am not sure if it is the ’correct’ solution. When URL addresses are set as HTML objects URLs the pages display correctly however there are still some minor CSS formatting problems.

    In the source there is no longer a ’base’ tag, instead of <base href="https://plantcad.com:80/" />
    there is href="https://plantcad.com:80" So the port 80 reference is not the issue but the base tag seems to be.

    I hope this may help others.

  • Actually, the port 80 inclusion in the generated URL is problematic when serving images which are part of the template.

    Images are not retrieved so CSS such as this: background: url("//plantcad.com:80/themes/theme_HigherGround1-1/img/nav.jpg") repeat-x; will fail.

    Any help to fix this is appreciated!


  • I have just updated SPIP to 3.1.1 hoping this will address the problem - without success.

    I’ve also searched through templates and CSS code to see how or where references to port 80 might be included.

    SPIP requests an image with this URL https://plantcad.com:80/themes/theme_HigherGround1-1/img/nav.jpg - which fails. Of course the same URL without port 80 succeeds.

    Maybe this is a problem with my web host setup?

    Thanks in advance...

  • Thanks to nfriedli in the French forum where the following solution was posted:

    Create a mes_options.php file (refer to SPIP documentation) in the SPIP config directory with the code below.


    This has fixed all problems in my installation including error messages I was getting in the private area.

Answering the question

« https removes formatting from linked pages »


You can tag this forum page with the keywords that you think are the most appropriate. This will help future visitors to find answers more quickly.

Installation, updates

Using the private area

Administration, management and configuration of your site

Creating your templates

Who are you?
  • Log in Register


    by George Kandalaft
    26 February 13:28

    Solved - Replies : 3


  • web url

    by Radosław Sobik
    8 January 11:38

    Solved - Replies : 3

    I do 2 page rules for all html *.html and form main website. Now it is working. I do some more test on another spip website.

  • Hi This is urgent basis .... I have migrated my hosting

    by Nishant
    3 January 09:01

    Solved - Replies : 6

    ya that is working fine but google is not fetching my home but its fetching all other pages

  • https removes formatting from linked pages

    by djgw
    12 April 2016 09:31

    Solved - Replies : 4

    Thanks to nfriedli in the French forum where the following solution was posted: Create a mes_options.php file (refer to SPIP documentation) in the SPIP config directory with the code below. (...)

  • SPIP 3.1.1

    by Philivert
    4 April 2016 08:37

    Solved - Replies : 3

    Hello, for spip_loader.php, perhaps your hosting service don’t accept that kind of script and redirect to the base of the site ? the install directory is not to use directly but via (...)

  • need help on spip installation error on my hosting

    by kris
    22 January 2016 13:20

    Replies : 1

    Hello, Do you have an URL (adress of your website) so we could help you better... What version of SPIP ? Plugins ? etc... kris

  • HTTPS / SSL and admin.css and ajax forms

    5 December 2015 00:31

    Solved - Replies : 4

    In my case I was proxing the connection. The proxy connected both HTTP and HTTPS requests to the website at HTTP - so the HTML generated by SPIP was in both cases generating HTTP links for the (...)

  • base href causing this

    by erational
    9 June 2015 11:10

    Replies : 1

    what is your url ?

  • Upgrade to SPIP 3

    by Philivert
    5 March 2015 23:07

    Replies : 4

    If all plugins are compatible with SPIP 3, no need for disabling them. Else it is better to disable them before baking up. The database structure will be automaticaly upgraded by SPIP 3 during (...)

  • Need experienced SPIP developer for updating CMS to most current version.

    by Eduardo
    3 March 2015 20:41

    Replies : 4

    Hi. I recently updated one client’s site from spip 1.9 to spip 3.0.17. That job had a few complications mainly because the squelettes’ sintaxis difered from the older version to the latest, but (...)

  • Forum posts : 150
  • 55 36 %
  • Ask a new question