User Tools

Site Tools


wiki:wordpress_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:wordpress_troubleshooting [2022/08/16 12:57] – [References] add using-a-reverse-proxy link antisawiki:wordpress_troubleshooting [2023/04/21 13:05] (current) – [See also] add nginx doesn't... antisa
Line 3: Line 3:
 ====== Wordpress troubleshooting ====== ====== Wordpress troubleshooting ======
 ===== Too many redirects problem ===== ===== Too many redirects problem =====
-This happened after WP was installed without SSL and then after some days, SSL was added.+This happened after WP was installed without SSL and then after some days, SSL was added. It only happened when trying to access /wp-admin/ route.
  
-Adding the following lines of code at the end of wp-config.php:+Adding the following lines of code at the after  
 +//"/* Add any custom values between this line and the "stop editing" line. */"// line of wp-config.php:
  
   if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)   if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
Line 27: Line 28:
   * WP installed in docker container behind nginx, with Letsencrypt https   * WP installed in docker container behind nginx, with Letsencrypt https
  
 +
 +===== No new image thumbnails created when uploading new images =====
 +Install php-gd package. On Debian Wheezy:
 +  apt-get install php5-gd
 +
 +  service apache2 restart
 ====== See also ====== ====== See also ======
   * [[wiki:wordpress_nginx|Wordpress on nginx]]   * [[wiki:wordpress_nginx|Wordpress on nginx]]
 +  * [[wiki:nginx_troubleshooting#nginx_seems_to_serve_from_wrong_vhost|nginx doesn't seem to serve correctly]]
 ====== References ====== ====== References ======
   * https://wordpress.stackexchange.com/questions/302965/too-many-redirects-only-when-trying-to-access-wp-admin-page   * https://wordpress.stackexchange.com/questions/302965/too-many-redirects-only-when-trying-to-access-wp-admin-page
   * https://wordpress.org/support/article/administration-over-ssl/#using-a-reverse-proxy   * https://wordpress.org/support/article/administration-over-ssl/#using-a-reverse-proxy
 +  * https://wordpress.stackexchange.com/questions/85803/no-thumbnails-generated
  
  
wiki/wordpress_troubleshooting.1660647443.txt.gz · Last modified: 2022/08/16 12:57 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki