• Home
  • Get help
  • Ask a question
Last post 1 hour 30 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67901
All time tickets 10495
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2515 – https... yes but automatically redirect http to https link ?

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 20 July 2016 09:41 UTC
piet
 Hello,


sorry to disturb you, but we just put our website [xxxx] to https://www.xxxx.be

And we made mistake, we didn't realize that all old outside link point to a http://xxxx.be/... are always going to the index page... [xxxx]

example :
http://www.xxxx.be/publications/etudes/nouvelle-edition-du-guide-de-la-procedure-d-asile-en-belgique

goes to the home page and not to this one :
https://www.xxxx.be/publications/etudes/nouvelle-edition-du-guide-de-la-procedure-d-asile-en-belgique


So my question is : Is there a way to fix this, or the only way is to "purge" all URLs...?

Thank you very much for any help.

Regard.
Wednesday, 20 July 2016 09:47 UTC
wb_weeblr
Hi

Purging URLs will not do anything for that. sh404SEF is not in charge of the domain. It only takes care of the part of the URLs after the domain.
Separating the domain and the rest of the URL is why you can move your site around (from localhost to xxxx.be and maybe a copy onto testingxxxx.be or something else).

Managing the domain is a Joomla thing. It has a "Force HTTPS" setting that should do auto redirect.


And we made mistake, we didn't realize that all old outside link point to a http://xxxx.be/... are always going to the index page... https://www.xxxx.be/index.php
This means you have a redirect in your .htaccess file, to redirect from HTTP to HTTPS, but this redirect is wrong: it sends everything to the index.php file, instead of doing a proper redirect.

I'd checking your .htaccess redirect rule.

Rgds
 
Wednesday, 20 July 2016 10:18 UTC
piet
Hello,

thank for your answer.
So if I understood you well, I must :


1//
activated "Force HTTPS" inside the Joomla administrator pannel.

and
2//
change my .htaccess redirection.
Maybe if you have a idea to do this properly...?


Again, thank you very much for you help.

Regard.
Wednesday, 20 July 2016 10:21 UTC
wb_weeblr
Hi

1 - This will be helpful in the future, but will not solve your current problem
2 - This problem is caused by a wrong redirect in your .htaccess. We can't provide support for setting up your web server, but I assume someone put that redirect there, so they can just fix it.
Also, I assumed this redirect is in the .htaccess file, but it's not totally impossible that your developer added a plugin to do that (I don't see how and why, as Joomla already does that), or some custom code in your template or elsewhere. But that's highly unlikely, 99.99% chances this is in your .htaccess

Rgds
 
Wednesday, 20 July 2016 12:13 UTC
piet
Yes you are totally right.

SiteGround has just fixed that for us.

Just for info here is the right code for the .htaccess :

# Redirect HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


And thank you for your fast help.

Regard.
Wednesday, 20 July 2016 12:45 UTC
wb_weeblr
Hi

You're welcome!

Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

Be sure to also check out wbAMP, our new Accelerated Mobiles pages plugin for Joomla - the next big thing is SEO, direct from Google themselves!

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.