[wp-trac] [WordPress Trac] #61379: 404s related to caching

WordPress Trac noreply at wordpress.org
Sun Jul 21 16:44:40 UTC 2024


#61379: 404s related to caching
--------------------------+----------------------
 Reporter:  iashelford    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  6.5.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by sabernhardt):

 * status:  assigned => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Old description:

> Hi there
>
> www.onegreattorrington.uk (34sp.com WordPress hosting) is seeing a
> frequent occurence of 404s when trying to view categories and listings as
> part of the MyListings theme. All caching has been turned off within the
> theme, and Redirection plugins are disabled - still seeing 404s
> frequently (but not daily). However, several times a week the site's
> pages related to listings are seeing 404 not found errors.
>
> 34sp.com support guys have found a work around in the sense that
> Permalinks can be updated/changed in a very sublte way - and changed back
> again (to revert the change) - which restores the visibility of the
> listings (and stopping the 404s). 34sp.com are suggesting adding a cron
> to automatically step through a change to permalinks and revert, to save
> me manually having to do this, and reducing downtime (as listings
> consitute advertising based on search engine crawling). I understand that
> 34sp.com support guys have seen this before on occassion as they were
> quick to suggest this work around.
>
> Any advice is gratefully received.
>
> Thanks
> Ian
>

> Site info -
>
> `
> ### wp-core ###
>
> version: 6.5.3
> site_language: en_GB
> user_language: en_GB
> timezone: Europe/London
> permalink: /%postname%/
> https_status: true
> multisite: false
> user_registration: 0
> blog_public: 1
> default_comment_status: closed
> environment_type: production
> user_count: 10001
> dotorg_communication: true
>
> ### wp-paths-sizes ###
>
> wordpress_path: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp
> wordpress_size: 6.25 GB (6714413780 bytes)
> uploads_path: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-
> content/uploads
> uploads_size: 5.96 GB (6396601715 bytes)
> themes_path: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-
> content/themes
> themes_size: 43.97 MB (46105919 bytes)
> plugins_path: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-
> content/plugins
> plugins_size: 187.96 MB (197086408 bytes)
> database_size: 936.30 MB (981778432 bytes)
> total_size: 13.35 GB (14335986254 bytes)
>
> ### wp-dropins (2) ###
>
> advanced-cache.php: true
> object-cache.php: true
>
> ### wp-active-theme ###
>
> name: My Listing Child (my-listing-child)
> version: 1.1
> author: 27collective
> author_website: https://27collective.net/
> parent_theme: My Listing (my-listing)
> theme_features: core-block-patterns, widgets-block-editor, post-
> thumbnails, automatic-feed-links, woocommerce, title-tag, admin-bar,
> menus, html5, custom-background, header-footer-elementor, widgets,
> editor-style
> theme_path: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-
> content/themes/my-listing-child
>
> ### wp-parent-theme ###
>
> name: My Listing (my-listing)
> version: 2.11.5
> author: 27collective
> author_website: http://27collective.net/
> theme_path: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-
> content/themes/my-listing
>
> ### wp-themes-inactive (4) ###
>
> Twenty Twenty-Four: version: 1.1, author: the WordPress team
> Twenty Twenty-One: version: 2.2, author: the WordPress team
> Twenty Twenty-Three: version: 1.4, author: the WordPress team
> Twenty Twenty-Two: version: 1.7, author: the WordPress team
>
> ### wp-plugins-active (21) ###
>
> CAPTCHA 4WP: version: 7.5.0, author: Melapress
> Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website
> Builder by SeedProd: version: 6.17.4, author: SeedProd
> Contact Form 7: version: 5.9.5, author: Takayuki Miyoshi
> Contact Form 7 - Dynamic Text Extension: version: 4.4.2, author: AuRise
> Creative, SevenSpark
> Cookie Notice & Compliance for GDPR / CCPA: version: 2.4.16, author: Hu-
> manity.co
> Disable Comments: version: 2.4.6, author: WPDeveloper
> Elementor: version: 3.21.8, author: Elementor.com
> Envato Market: version: 2.0.11, author: Envato
> Exclude Image Thumbnails From UpdraftPlus Backups: version: 1.0.3,
> author: Dream-Encode
> Feedzy RSS Feeds Lite: version: 4.4.9, author: Themeisle
> Flamingo: version: 2.5, author: Takayuki Miyoshi
> Hosting Tools: version: 2.4.4, author: 34SP.com
> Say What?: version: 2.2.2, author: Ademti Software
> ShortPixel Image Optimizer: version: 5.6.2, author: ShortPixel - Convert
> WebP/AVIF & Optimize Images
> WooCommerce: version: 8.9.2, author: Automattic
> WooCommerce.com Update Manager: version: 1.0.2, author: Automattic
> WooCommerce PayPal Payments: version: 2.7.1, author: WooCommerce
> WooPayments: version: 7.7.0, author: Automattic
> WordPress Importer: version: 0.8.2, author: wordpressdotorg
> WP Fingerprint: version: 2.1.2, author: 34SP.com
> Yoast SEO: version: 22.8, author: Team Yoast
>
> ### wp-plugins-inactive (6) ###
>
> Akismet Anti-spam: Spam Protection: version: 5.3.2, author: Automattic -
> Anti-spam Team
> Redirection: version: 5.4.2, author: John Godley
> Shortcodes Ultimate: version: 7.1.7, author: Vova Anokhin
> Wordfence Security: version: 7.11.5, author: Wordfence
> WP Mail SMTP: version: 4.0.1, author: WP Mail SMTP
> WP Reroute Email: version: 1.5.0, author: Sajjad Hossain
>
> ### wp-media ###
>
> image_editor: WP_Image_Editor_Imagick
> imagick_module_version: 1690
> imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2024-01-12
> https://imagemagick.org
> imagick_version: 3.4.4
> file_uploads: 1
> post_max_size: 128M
> upload_max_filesize: 128M
> max_effective_size: 128 MB
> max_file_uploads: 20
> imagick_limits:
>         imagick::RESOURCETYPE_AREA: 2 GB
>         imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
>         imagick::RESOURCETYPE_FILE: 768
>         imagick::RESOURCETYPE_MAP: 2 GB
>         imagick::RESOURCETYPE_MEMORY: 1 GB
>         imagick::RESOURCETYPE_THREAD: 1
>         imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
> imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS,
> BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN,
> CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS,
> DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI,
> EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4,
> GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM,
> HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL,
> ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS,
> JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE,
> MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV,
> MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM,
> PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM,
> PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48,
> PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP,
> RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2,
> SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO,
> SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF,
> TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF,
> WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA,
> YUV
> gd_version: bundled (2.1.0 compatible)
> gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
> ghostscript_version: 9.25
>
> ### wp-server ###
>
> server_architecture: Linux 2.6.32-042stab136.1 x86_64
> httpd_software: nginx/1.27.0
> php_version: 7.4.28 64bit
> php_sapi: fpm-fcgi
> max_input_variables: 3000
> time_limit: 180
> memory_limit: 1250M
> max_input_time: 60
> upload_max_filesize: 128M
> php_post_max_size: 128M
> curl_version: 7.29.0 NSS/3.90
> suhosin: false
> imagick_availability: true
> pretty_permalinks: true
> current: 2024-06-05T15:44:30+00:00
> utc-time: Wednesday, 05-Jun-24 15:44:30 UTC
> server-time: 2024-06-05T16:44:26+01:00
>
> ### wp-database ###
>
> extension: mysqli
> server_version: 10.0.34-MariaDB
> client_version: mysqlnd 7.4.28
> max_allowed_packet: 134217728
> max_connections: 151
>
> ### wp-constants ###
>
> WP_HOME: https://www.onegreattorrington.uk
> WP_SITEURL: https://www.onegreattorrington.uk/wp
> WP_CONTENT_DIR: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-content
> WP_PLUGIN_DIR: /var/www/vhosts/onegreattorrington.uk/httpdocs/wp-
> content/plugins
> WP_MEMORY_LIMIT: 1250M
> WP_MAX_MEMORY_LIMIT: 1250M
> WP_DEBUG: false
> WP_DEBUG_DISPLAY: true
> WP_DEBUG_LOG: false
> SCRIPT_DEBUG: false
> WP_CACHE: true
> CONCATENATE_SCRIPTS: undefined
> COMPRESS_SCRIPTS: undefined
> COMPRESS_CSS: undefined
> WP_ENVIRONMENT_TYPE: Undefined
> WP_DEVELOPMENT_MODE: undefined
> DB_CHARSET: utf8
> DB_COLLATE: undefined
>
> ### wp-filesystem ###
>
> wordpress: not writable
> wp-content: writable
> uploads: writable
> plugins: writable
> themes: writable
> mu-plugins: writable
>
> `

New description:

 Hi there

 www.onegreattorrington.uk (34sp.com WordPress hosting) is seeing a
 frequent occurrence of 404s when trying to view categories and listings as
 part of the MyListing theme. All caching has been turned off within the
 theme, and Redirection plugins are disabled - still seeing 404s frequently
 (but not daily). However, several times a week the site's pages related to
 listings are seeing 404 not found errors.

 34sp.com support guys have found a work around in the sense that
 Permalinks can be updated/changed in a very subtle way - and changed back
 again (to revert the change) - which restores the visibility of the
 listings (and stopping the 404s). 34sp.com are suggesting adding a cron to
 automatically step through a change to permalinks and revert, to save me
 manually having to do this, and reducing downtime (as listings constitute
 advertising based on search engine crawling). I understand that 34sp.com
 support guys have seen this before on occasion as they were quick to
 suggest this work around.

 Any advice is gratefully received.

 Thanks
 Ian


 Site info -

 {{{
 ### wp-core ###

 version: 6.5.3
 site_language: en_GB
 user_language: en_GB
 timezone: Europe/London
 permalink: /%postname%/
 https_status: true
 multisite: false
 user_registration: 0
 blog_public: 1
 default_comment_status: closed
 environment_type: production
 user_count: 10001
 dotorg_communication: true

 ### wp-paths-sizes ###

 wordpress_path: /.../wp
 wordpress_size: 6.25 GB (6714413780 bytes)
 uploads_path: /.../wp-content/uploads
 uploads_size: 5.96 GB (6396601715 bytes)
 themes_path: /.../wp-content/themes
 themes_size: 43.97 MB (46105919 bytes)
 plugins_path: /.../wp-content/plugins
 plugins_size: 187.96 MB (197086408 bytes)
 database_size: 936.30 MB (981778432 bytes)
 total_size: 13.35 GB (14335986254 bytes)

 ### wp-dropins (2) ###

 advanced-cache.php: true
 object-cache.php: true

 ### wp-active-theme ###

 name: My Listing Child (my-listing-child)
 version: 1.1
 author: 27collective
 author_website: https://27collective.net/
 parent_theme: My Listing (my-listing)
 theme_features: core-block-patterns, widgets-block-editor, post-
 thumbnails, automatic-feed-links, woocommerce, title-tag, admin-bar,
 menus, html5, custom-background, header-footer-elementor, widgets, editor-
 style
 theme_path: /.../wp-content/themes/my-listing-child

 ### wp-parent-theme ###

 name: My Listing (my-listing)
 version: 2.11.5
 author: 27collective
 author_website: http://27collective.net/
 theme_path: /.../wp-content/themes/my-listing

 ### wp-themes-inactive (4) ###

 Twenty Twenty-Four: version: 1.1, author: the WordPress team
 Twenty Twenty-One: version: 2.2, author: the WordPress team
 Twenty Twenty-Three: version: 1.4, author: the WordPress team
 Twenty Twenty-Two: version: 1.7, author: the WordPress team

 ### wp-plugins-active (21) ###

 CAPTCHA 4WP: version: 7.5.0, author: Melapress
 Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website
 Builder by SeedProd: version: 6.17.4, author: SeedProd
 Contact Form 7: version: 5.9.5, author: Takayuki Miyoshi
 Contact Form 7 - Dynamic Text Extension: version: 4.4.2, author: AuRise
 Creative, SevenSpark
 Cookie Notice & Compliance for GDPR / CCPA: version: 2.4.16, author: Hu-
 manity.co
 Disable Comments: version: 2.4.6, author: WPDeveloper
 Elementor: version: 3.21.8, author: Elementor.com
 Envato Market: version: 2.0.11, author: Envato
 Exclude Image Thumbnails From UpdraftPlus Backups: version: 1.0.3, author:
 Dream-Encode
 Feedzy RSS Feeds Lite: version: 4.4.9, author: Themeisle
 Flamingo: version: 2.5, author: Takayuki Miyoshi
 Hosting Tools: version: 2.4.4, author: 34SP.com
 Say What?: version: 2.2.2, author: Ademti Software
 ShortPixel Image Optimizer: version: 5.6.2, author: ShortPixel - Convert
 WebP/AVIF & Optimize Images
 WooCommerce: version: 8.9.2, author: Automattic
 WooCommerce.com Update Manager: version: 1.0.2, author: Automattic
 WooCommerce PayPal Payments: version: 2.7.1, author: WooCommerce
 WooPayments: version: 7.7.0, author: Automattic
 WordPress Importer: version: 0.8.2, author: wordpressdotorg
 WP Fingerprint: version: 2.1.2, author: 34SP.com
 Yoast SEO: version: 22.8, author: Team Yoast

 ### wp-plugins-inactive (6) ###

 Akismet Anti-spam: Spam Protection: version: 5.3.2, author: Automattic -
 Anti-spam Team
 Redirection: version: 5.4.2, author: John Godley
 Shortcodes Ultimate: version: 7.1.7, author: Vova Anokhin
 Wordfence Security: version: 7.11.5, author: Wordfence
 WP Mail SMTP: version: 4.0.1, author: WP Mail SMTP
 WP Reroute Email: version: 1.5.0, author: Sajjad Hossain

 ### wp-media ###

 image_editor: WP_Image_Editor_Imagick
 imagick_module_version: 1690
 imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2024-01-12
 https://imagemagick.org
 imagick_version: 3.4.4
 file_uploads: 1
 post_max_size: 128M
 upload_max_filesize: 128M
 max_effective_size: 128 MB
 max_file_uploads: 20
 imagick_limits:
         imagick::RESOURCETYPE_AREA: 2 GB
         imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
         imagick::RESOURCETYPE_FILE: 768
         imagick::RESOURCETYPE_MAP: 2 GB
         imagick::RESOURCETYPE_MEMORY: 1 GB
         imagick::RESOURCETYPE_THREAD: 1
         imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR,
 BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP,
 CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT,
 DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT,
 EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF,
 GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ,
 HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL,
 ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT,
 JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF,
 MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG,
 NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD,
 PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX,
 PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64,
 PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-
 GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR,
 SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN,
 SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT,
 UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV,
 WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
 gd_version: bundled (2.1.0 compatible)
 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
 ghostscript_version: 9.25

 ### wp-server ###

 server_architecture: Linux 2.6.32-042stab136.1 x86_64
 httpd_software: nginx/1.27.0
 php_version: 7.4.28 64bit
 php_sapi: fpm-fcgi
 max_input_variables: 3000
 time_limit: 180
 memory_limit: 1250M
 max_input_time: 60
 upload_max_filesize: 128M
 php_post_max_size: 128M
 curl_version: 7.29.0 NSS/3.90
 suhosin: false
 imagick_availability: true
 pretty_permalinks: true
 current: 2024-06-05T15:44:30+00:00
 utc-time: Wednesday, 05-Jun-24 15:44:30 UTC
 server-time: 2024-06-05T16:44:26+01:00

 ### wp-database ###

 extension: mysqli
 server_version: 10.0.34-MariaDB
 client_version: mysqlnd 7.4.28
 max_allowed_packet: 134217728
 max_connections: 151

 ### wp-constants ###

 WP_HOME: https://www.onegreattorrington.uk
 WP_SITEURL: https://www.onegreattorrington.uk/wp
 WP_CONTENT_DIR: /.../wp-content
 WP_PLUGIN_DIR: /.../wp-content/plugins
 WP_MEMORY_LIMIT: 1250M
 WP_MAX_MEMORY_LIMIT: 1250M
 WP_DEBUG: false
 WP_DEBUG_DISPLAY: true
 WP_DEBUG_LOG: false
 SCRIPT_DEBUG: false
 WP_CACHE: true
 CONCATENATE_SCRIPTS: undefined
 COMPRESS_SCRIPTS: undefined
 COMPRESS_CSS: undefined
 WP_ENVIRONMENT_TYPE: Undefined
 WP_DEVELOPMENT_MODE: undefined
 DB_CHARSET: utf8
 DB_COLLATE: undefined

 ### wp-filesystem ###

 wordpress: not writable
 wp-content: writable
 uploads: writable
 plugins: writable
 themes: writable
 mu-plugins: writable

 }}}

--

Comment:

 Hi and welcome to WordPress Core Trac!

 I think that reporting this to the MyListing theme authors would fit
 better than discussing it in the WordPress.org support forums (or Trac).
 https://themeforest.net/item/mylisting-directory-listing-wordpress-
 theme/20593226/support

 I redacted //some// details in the description, though maybe not enough.
 If/when you have no need for this ticket, I could delete it (if desired).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61379#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list