? Success

User tests: Successful: Unsuccessful:

avatar Kubik-Rubik
Kubik-Rubik
3 Apr 2015

Changed status code for SSL redirects (Option: Force SSL in Global Configuration) to "301 Moved Permanently" as Google recommends it.

How to test

SSL has to be configured on your server to test this patch!

  • Activate the option "Force SSL" in the Global Configuration (for Site and Administrator).
  • Open the Developer Tools in your browser (usually button F12 in Windows)
  • Go to the frontpage and load the website manually with the scheme http:// (not https://) and check the status code on the tab "Network" in the developer tools.

  • Without the patch, you should see a 303 status code:
    2015-04-03 14_11_43-test

  • Apply patch with the help of the Patchtester component and check the status code again - 301
    2015-04-03 14_12_10-test

  • Do the same test for the backend!

See here for more details:

https://support.google.com/webmasters/answer/6073543
http://moz.com/blog/seo-tips-https-ssl
http://moz.com/learn/seo/redirection

avatar Kubik-Rubik Kubik-Rubik - open - 3 Apr 2015
avatar joomla-cms-bot joomla-cms-bot - change - 3 Apr 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 3 Apr 2015
Category Libraries
avatar Simonkloostra
Simonkloostra - comment - 4 Apr 2015

I tested it succesfully. Note that this is actually the first time I actually tested code. I tried to test using https://docs.joomla.org/Testing_Joomla!_patches/, but the patch tester did not seem to load (stuck on: Preparing to fetch GitHub data). Therefor I loaded the repository from https://github.com/joomla/joomla-cms and replaced the 2 changed files.
Before the test the code was a 303, after applying it was a 301, so test was executed succesfully.

avatar Kubik-Rubik Kubik-Rubik - alter_testresult - 4 Apr 2015 - Simonkloostra: Tested successfully
avatar dneukirchen
dneukirchen - comment - 4 Apr 2015

tested as described, test successful.
before patch 303, after patch 301.

Google is happy now... Thank you @Kubik-Rubik

avatar zero-24 zero-24 - change - 4 Apr 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 4 Apr 2015
Status Pending Ready to Commit
avatar zero-24 zero-24 - alter_testresult - 4 Apr 2015 - dneukirchen: Tested successfully
avatar zero-24
zero-24 - comment - 4 Apr 2015

RTC :smile: Thanks!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6646.
avatar wilsonge wilsonge - close - 4 Apr 2015
avatar wilsonge wilsonge - reference | - 4 Apr 15
avatar wilsonge wilsonge - merge - 4 Apr 2015
avatar wilsonge wilsonge - close - 4 Apr 2015
avatar zero-24 zero-24 - close - 4 Apr 2015
avatar wilsonge wilsonge - change - 4 Apr 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-04-04 12:40:14
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment