I’ve just had a client contact me to say that on her website the hamburger menu has stopped working on handheld devices… https://www.penningtonpr.com/
The site is using Reason Pro, an old NCD theme but it was working fine when I published the site some time ago. I guess developments in browser architecture has broken it?
Can anyone advise if this is fixable otherwise I will have to explain to my client that it needs overhauling and I will probably rebuild the site using a new theme?
Thank you so much for taking a look at the site issues I have. Yes it is an old version of Reason v1.1.1 and I have other sites built in v1.2.4 so I don’t even know if this is the latest version of that theme. It’s such a shame that Nick is not supporting any of his RapidWeaver projects now and looking at other posts I haven’t even bothered to contact him about this. I notice that SuperPlex banner stack is also no longer working but I fixed that by using JW’s Cycler stack.
I shall try and fix this in Reason and maybe even implement v1.2.4 if there isn’t another more recent version available.
Could you advise me on what I need to do to fix the https on the jquery? I have pasted this code (with https)…
into the JavaScript panel in the Code panel of the site settings but it’s not fixed it so clearly that needs to go somewhere else?
Hi David - hope you’re well! If you are building even a small number of client sites you should consider one of the blank theme frameworks. One product to build multiple sites in as many styles as you want… Not going to recommend one over another here but take a look if you haven’t already.
Yes you’re right, all my recent sites have been built using Foundation which I much prefer, it’s just this is an older site that I am trying to patch up to keep it going, I’m sure at some point I will rebuild this site for them.
First thing I’d do is check on nick’s old site, there’s an order lookup. If you provide the email address that you purchased the theme with it will send you a link to download the last version.
I’m not at my Mac right now, but I have it and the jQuery was fixed.
If that doesn’t work then let me know and I’ll give instructions on how to repair the version you have.
I just ran your home page through why no padlock. The mixed content is fixed. But it reported a strange error on your certificate.
You have an invalid or missing intermediate (bundle) certificate. This may not break your padlock on all browsers, but will on others. Please contact your SSL Vendor for assistance with this error.
Yes, once you are comfortable with your site not having any other mixed content or errors (I’d probably run more than just the home page through why no padlock).
You should add some redirects to the htaccess file.
Thank you to everyone for their advice in this thread, I think I have fixed the issues now. Updated the htaccess file and fixed the java script error as I had manually added a line of code in to the Code settings of the RapidWeaver project.
If you are able to check it for me that would be very much appreciated.
The htacess tester test a single directive at a time, just like Apache does. It’s telling you whether or not each condition has been met or not.
So
RewriteCond %{HTTPS} off [OR]
This condition was not met but the [OR] option made it pass.
Is saying the the URL that you entered to test was an https URL so the condition being tested (https being off didn’t get met. It also says that there’s an OR option so it gets passed to the next directive.
So these aren’t ”red flags” just telling you line by line what conditions are met and what are not.
The important thing to look at with the tester is if in your case, you enter a URL to test that starts with HTTP it shows a new URL that starts with HTTPS. Or if you enter www at the beginning it removes it from the URL.
Thank you Doug, I am learning a lot about htaccess.
So does this mean my site is all as it should be?
Going back to the choice to go for Remove www or Force www I chose to remove (on the understanding that this is a more modern choice? Does it matter which choice to go for?
Do the settings in my RapidWeaver project need to coordinate with my choice to Remove or Force?
Really doesn’t matter, just need to choose one or the other. Be consistent everywhere you post the address. If you want www then use it every place, if you don’t want www then never use it.
You do need to have web address in RapidWeaver set to what you want. In your case you have it set to www but then the htaccess rule is set to redirect it to remove the www.
I personally think removing the www is nicer as it creates a shorter URL as long as it’s a “common” TLD (top-level domains) like .com or .net. If it’s one of those newer TLDs like .club or .info, which people might not recognize as a website, then I’d force the www.
The most important thing is to be consistent with what you use, even on printed stuff and signage.
So I have updated the web address to not have the www in it but the folder it gets uploaded to on the server is titled “www” but I guess that doesn’t matter.
I have decided to upload the Force www htaccess code…
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} ^(?:www.)?(.+)$ [NC]
RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]
So it redirects.from http://www to https://www which is great but still nothing working without the www
It’s really hard to say what might be causing the issue. What you posted still shows 301’s, I hope you took my advice and changed them to 302’s until you get this worked out.
If you have or had a something as simple as a typo or syntax error, it might be cached by browsers and proxy dns servers indefinitely since a 302 is a permanent redirect, meaning the old URL’s are never coming back.
You haven’t answered the other questions yet:
Those redirects for forcing https and either removing the www or forcing the www are being used all over the place. So my suspicions are something else is causing the issue.
As I said and I can’t stress this enough, switch to 302’s right now.
Who are you hosting with? Might help me assist you if I can have a quick look at any knowledge base they have.