• Resolved 76oliver76

    (@76oliver76)


    As you may have read about the topic I cant get the background image to work on my wordpress 4.2.2 version start page in HTTPS. WordPress background images works on every side except for the start page when I am using HTTPS with SSL. If I disable https with SSL and use HTTP instead then even the first start page displays the background image correctly without any problems. So why does this idiotic thing happen? How do I solve this problem? If I switch to normal HTTP then everything works even the start page background Image. PLEASE HELP! I have tried to solve this for about 2 weeks now.

    Another thing, first when I switched on https even the logos and other pictures disappeard from the start page. I solved thoose problems by switching back to http instead of https under general in WordPress. Then I deleted thoose pictures, uploaded them again and linked them once more but this time while I was loged on with http and not https. After that I Switched back to https under general. Cleared all the web browser cache 5 times. Rebooted my Linux Centos 7 server which is holding my wordpress 4.2.2 everything got solved, the pictures, logos except the background image from the start page. So what do I need to do now to get the background image to work in both HTTPS and HTTP? please help…..

Viewing 6 replies - 1 through 6 (of 6 total)
  • Go to: yoursite.com/wp-admin/options.php

    Scroll down to: upload_url_path

    Apply url with https://www.yourdomain.com/wp-content/uploads

    You could even set a static subdomain pointing to your site’s main folder and put the subdomain in there.

    Also, make sure you have https: set for site url in General Settings. (I would only serve the site when SSL is an option.) WP Force SSL is a good plugin for that, too.

    Thread Starter 76oliver76

    (@76oliver76)

    12AX7 I tried what you said but it didnt work. Maybee I am doing it the wrong way. Could you explain in more detail? Could this be solved easier if I use commands in linux by putty? I logged on to wordpress went to the wp-admin/options.php and scrolled down to upload URL path according to your suggestion. I typed in the https://www.mydomainname.com/wp-content/uploads then I pushed saved, restarted everything and still my wordpress 4.2.2 start page does not show background image when https is switched on. Any help is appreciated.

    Can you post a link to your site please? I need to see your CSS.

    Thread Starter 76oliver76

    (@76oliver76)

    No I cant post a link because wordpress 4.2.2 doesnt seem or want to work with a normal firewall. I solved the problem by disabling HTTPS in wordpress totally under Settings general where I instead put HTTP on. The homepags now works perfectly internally on my LAN. FAST and so on. I have 2 homepages. One which is like 12 years old made in pure PHP which is on my old old 21 year old computer running on an Linux Centos 4.2.2. with no WordPress at all. This old homepage(12 years old) still works like an rocket comparing to the new one which I am trying to create with WordPress. I have disconected my old linux server so I can try the new one. My new Linux is an Centos 7, with newest Apacahe, newest PHP, newest PHP my admin, with the newest WordPress 4.2.2. I have opened port 80 and 443 in the linux internal firewall as well as redirecting the physical firewall ports 80 and 443 to the new internal IP(have restarted it as well). The hardware is an old HP 6000 pro with 6 GB ram which should be more then enough for even WordPress. My new homepage is based on WordPress 4.2.2 it just contains 4 pages some text and some small pictures. I have downsized all the 14 pictures which is the total pictures I have on the entire homepage. All the pictures are between 5 KB to 150 KB included with the background image. I have removed all the unwanted demo themes and so on from wordpress. I have also removed all the comment tracking and so on because I dont use it. I have totally 14 plugins as followed:
    All In One WP Security
    Black Studio TinyMCE Widget
    Contact Form 7
    Easy Google Fonts
    Lightbox Plus Colorbox
    No Right Click Images Plugin
    Optimize Database after Deleting Revisions <——-DISABLED
    Page Builder by SiteOrigin
    Revision Control <————-DISABLED
    SiteOrigin Widgets Bundle
    Spacer
    TinyMCE Advanced
    Title Remover
    WP Edit
    Even if I disable all the plugins wordpress doesnt show anything publicly! Yes I am angry with all the possible right to be! This WordPress 4.2.2 doesnt work as it should! It is something wrong with it and I cant solve it! Everything is pointing in one direction WORDPRESS 4.2.2! or? PLEASE SOLVE MY HEADACHE

    Thread Starter 76oliver76

    (@76oliver76)

    I ment 12 year old computer and not 21…

    Thread Starter 76oliver76

    (@76oliver76)

    I have solved it and here is how I did it! Finding good solutions of solving wordpress problems is really hard to find for not to mention a “Best Practice manual” Though I thank all the people who tried helping me. How about a really good knowledge base and a best practise manual for us who want to host our own wordpress site on Linux and so on? Anyway the SSL thing is still an issue and I got tired of it so I solved it by disabling it by changing https to http on both site adress url and wordpress adress url.

    Now to the other thing where nothing normal procedure seemed to work. Well normally you just use NAT on your hardware firewall and point oout your local IP and http(80) and https(443). But as usual WordPress is living in its own idiotic world so no normal things like that worked! So here is the procedure.

    This is the simplest way to do it! If you have come this far with WordPress I really truly madly deeply hope you are using PHPmyadmin. Yes you need to install PHPmyadmin for administering your MYSQL databases for WordPress in a normal humanly way because you really dont want to hack it and update it row by row by PUTTY =). Anyway in phpmyadmin open your database on your left side Click on wp_options and if you like me have the newest wordpress 4.2.2 with the newest phpmyadmin 4.4.6 and the newest mysql 5.5.40-MariaDB-36.1 then you should have something named: siteurl and home on the top right corner under option_value. Theese two settings is needed to be changed to your domain name. If your domain name is https://www.wordpresshelp.com then you should only put wordpresshelp.com on thoose rows and then push run. Problem is solved right? NOT! Because wordpress is an IDIOTIC software you also need to test your homepage. Things you will recognize is that oh gosh a lot of pictures has suddenly dissapeared which worked with the locally internal IP number. The pictures has dissapeared because all the changes you do in the MYSQL does not go through everywhere and I still think thats wordpress fault or the wordpress themes anyway you can solve this by opening the page in wordpress who has missing pictures. Switch to Tex editor mode and you will see the fault by the internal IP number in the URL. Delete the IP number and change it to your domain name in this example wordpresshelp.com(www isnt needed) and then click save and it will work. For me 12 pictures dissapeared and so did my logo. Though I solved it and now I am happy. So to all other wordpress newbees like me out there. Sure WordPress is good when it works, if you like me want to host your own Linux wordpress site you should be aware of a lot of problems may appear, it isnt as easy as they say. It is a lot of trial and error =). But when it works it is like 95% faster, more stable then a Microsoft IIS =). Why? Because Linux just is =).

    I have made a complete manual from scratch of how to install Centos 7, apache, mysql, webmin, phpmyadmin, SSL(which still doesnt work with wordpress as it should with background images on start page) included with wordpress 4.2.2 on a standalone server which you host. I can also recomend installing this in an virtualized production environment. If you want the manual just send me a message and I will send it over.

    Big thank you to 12AX7 who tried helping me…..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress 4.2.2 HTTPS destroys background image only start page is effected’ is closed to new replies.