From http to https, all pages got 404

February 13, 2017 156 views
Nginx WordPress

my website is gamebanquyen.vn , after i completed setup SSL. All pages on my website can't access anymore, articles, categories, shop,v..v.v

anyone know how to fix this ?

thank

2 Answers

@hongduc7693

We'd need to see the server blocks that you've setup for your website. If you'll paste in your server block(s), I'll be happy to take a look and see if we can get things straightened out for you :-).

problem solved after i'm researching all my country forums :)

paste or replace this with origins

location / {
try_files $uri $uri/ /index.php;
}

404 problem is solved,
and
articles need to modified slug if you click on it and it redirect you to homepage cuz 404(301 permanent)

Have another answer? Share your knowledge.