akurjata
akurjata
So in the great ‘switching to https is easy’ debate, I’ve got a question: How do I make it so that typing andrewkurjata.ca/about or andrewkurjata.ca/subscribe into my browser takes me to https://andrewkurjata.ca/about or https://andrewkurjata.ca/subscribe instead of just my ho... andrewkurjata.ca
|
Embed
Progress spinner
kitt
kitt

@akurjata are you self hosted, able to change your httpd server configuration?

|
Embed
Progress spinner
akurjata
akurjata

@kitt i am on bluehost. I followed this step but it only seems to get the redirects to work internally. If I'm coming drom anywhere else without https being specified i wind up on the homepage. Tech support didn't find anything they could do, either...

|
Embed
Progress spinner
akurjata
akurjata

@akurjata @kitt coming from

|
Embed
Progress spinner
In reply to
smokey
smokey

@akurjata A couple of things to check while awaiting @kitt’s wisdom: * Is that rule in your main .htaccess file (root of your site) * Are there other Redirect rules in it? * Are there any extraneous spaces, e.g. between / and $1? * Do you have any other .htaccess files with Redirect rules in them?

I noticed that [andrewkurjata.ca](http://andrewkurjata.ca) and [andrewkurjata.ca](http://andrewkurjata.ca)/ redirect to [andrewkurjata.ca](https://andrewkurjata.ca/) but that[andrewkurjata.ca](http://andrewkurjata.ca)/foo redirects to [andrewkurjata.ca](https://andrewkurjata.ca/)index.php which leads me to believe there’s some sort of other “catch-all” redirect to index.php that’s fouling things up.

|
Embed
Progress spinner
smokey
smokey

@smokey Yay total Markdown failure :-P

|
Embed
Progress spinner
akurjata
akurjata

@smokey hmmmmm i will try and figure that out. REALLY thinking it's time to blow things up and start again with best modern practices at this point. So the new question is... wordpress or switch to something static???

|
Embed
Progress spinner
smokey
smokey

@akurjata One other thought: you did change your WordPress and site URLs in the Dashboard (Settings, General) to https, right?

|
Embed
Progress spinner
smokey
smokey

@akurjata As for your new question, I still believe that WordPress is overkill for me, but at the same time, there are too many things that I want to do or have that can’t be done/had—or, more likely, can’t be done/had easily—with a static setup (disclaimer: I haven’t looked at static options in detail in a while, but I’ve watched some of the convos here about them).

I appreciate WordPress’s flexibility and ubiquity, so that there’s always someone out there who has a plugin or sample code, or even enough of a hint about code that I can eventually figure it out on my own, to do what I want. I already don’t have enough time/skill to tinker with WP/customize my blog as much as I would really like, and I expect that would be exacerbated using a static system. FWIW ;-)

/me runs for cover from the static aficionados ;-)

|
Embed
Progress spinner
akurjata
akurjata

@smokey I did do that! Just got back from a very busy day, will try the htaccess stuff

|
Embed
Progress spinner
kitt
kitt

@akurjata @smokey My next question was going to be “Apache or nginx?" :) Here's what I suggest for the Apache ssl redirect ki.tt/5v - let us know how it goes

|
Embed
Progress spinner
lilyball
lilyball

@kitt @akurjata These days I’m a fan of Caddy. Easy to configure and it handles Let’s Encrypt right out of the box (including automatic redirection of http -> https).

|
Embed
Progress spinner
akurjata
akurjata

@kitt @smokey so it turned out that I had bad code injected into my site. I did a delete, reinstall, restore, and everything seems to be working now. I presume it was an old plug-in. Lesson learned on that front

|
Embed
Progress spinner
smokey
smokey

@akurjata Oh, no! Glad you've finally gotten it sorted out, though :-)

|
Embed
Progress spinner
kitt
kitt

@akurjata @smokey yay fixed! 🎉

|
Embed
Progress spinner