The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

1

There seems to be a lot of misinformation / confusion here... The host that takes care of my SSL just told me "The SSL that we provide with your contract only protect one domain OR one subdomain, not both" That should OK, you only appear to have one domain. However, your SSL cert does need to cover both the domain apex (ie. example.com) and the www ...


2

I just tested whether or not implementing HSTS and getting your site on the preload list would allow browsers to pass a referrer through a http link to your site. Sadly it doesn't work. Here is how I performed the test: I found a .dev site with a PHP script that echos back the referrer. I did this by searching google for site:.dev HTTP_REFERER. Since ...


1

The external HTTPS site would need to also update the backlink to link to your HTTPS site, otherwise if the link itself is still HTTP then the Referer header is not sent. Old backlinks probably have not been updated. This has nothing to do with your HTTP to HTTPS redirect - which would otherwise pass the Referer (still user-agent dependent). The problem is ...


0

Now that you have your site updated with HTTPS I would circle back around to the referring sites and ask to have the link updated to https (not a full fix but setting the right foundation). The second factor to consider is if your site and referring sites may have been punished for not having HTTPS. My understanding (reading between the lines) is that ...


0

You must activate the option AllowOverride All to use .htaccess file. Also, you can add the Rewrite rules inside the Directory in the conf file like the below example or on your .htaccess file. <Directory "/srv/www/htdocs"> Options -Indexes +FollowSymLinks AllowOverride All RewriteEngine on RewriteCond %{SERVER_NAME} =example.com [OR] RewriteCond %{...


0

The following code will redirect all to https://www..... Make sure you are not using any other Wordpress plugin or configuration that could generate a conflict with it. RewriteEngine On RewriteCond %{HTTPS} off RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* https://www.%{HTTP_HOST}%{...


1

Never mind. I had to clear my cache and decided to place the .htaccess file in the folder for the website that I have the SSL for. Problem resolved.


0

Turns out the issue was the guy who previously owned the site. I had to change the links to relative links IE: /folder/test.html. to solve the issue. All his links were explicit IE: https://example.com/folder/test.html


1

As far as I know, once the data gets to GA you can't do anything based on protocol - although you can set http or https for your property, that does not cause any filtration to happen, and there are no dimensions include the http(s) part of the URL to use in segments or in filters to include or exclude traffic from different Views. (This is unlike Google ...


2

I read a lot of pages and thought I had a firm grasp on what to add to htaccess which was along the lines of... RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] Exactly what directives you need to use can depend on your server configuration. And to some extent personal preference (eg. whether ...


1

Install ssfhs or a FUSE (filesystem in user space) type of tool that allows you to mount remote file systems via SSH. You can use sshfs-win for Windows or possibly FUSE for macOS but I did this on Windows. Open your Managed WordPress dashboard and locate your SSL credentials: Open a command terminal on your local computer and execute the following command ...


0

I will make the assumption that the screenshot in your post is the Facebook debugger tool found here: https://developers.facebook.com/tools/debug/sharing The first thing that I notice is that you are being returned a response code of 0. You should be getting a response code of 200. This prompted me to think it was a caching issue, so I checked the domain ...


Top 50 recent answers are included