星期五, 7月 26, 2024

[WPML x Nginx ] 多語網站登入頁異常

需加上以下nginx rule即可避免404  

#wpml login rule

        rewrite ^/en/wp-login.php /wp-login.php break;

        rewrite ^/zh-hant/wp-login.php /wp-login.php break;

        rewrite ^/zh-hans/wp-login.php /wp-login.php break;

星期三, 7月 17, 2024

[WP Jetpack] ssl=1未加入的CDN參數的排除方法:Sorry, the parameters you provided were not valid



發現新架的站,有og:image網址沒辦法讀取的問題。

新站

https://i0.wp.com/hansiangpets.com.tw/wp-content/uploads/migra/product/c7f8a297546d4d14866f02b11024e03c505db800.jpg

https://i0.wp.com/haoyipets.com/wp-content/uploads/migra/product/308806d7812f10c4fa41cabb79e19673f7b0e349.jpg

Sorry, the parameters you provided were not valid

舊站

https://i0.wp.com/ds5168.com.tw/wp-content/uploads/migra/product/934cb7c8d5fe93d1b6f086955e5bd3aa48378f9c.jpg


雖然可以加ssl=1可以解決,但發現有些站台並不需要處理。

原來忘了開cf端全走Https的設定。





其他你感興趣的文章

Related Posts with Thumbnails