• Resolved JAyenGreen

    (@jayengreen)


    The pages generated by WooCommerce>Status>Tools exist under Pages, and have the correct URL, such as /shop, but /shop results in a 404.

    I have tried the following, based on the various posts I’ve read:

    • Turned off all plugins except WooCommerce
    • Changed the theme from Twenty Seventeen to Storefront
    • Regenerated the pages

    and still get a 404. Below is my status report:

    
    WordPress environment
    WordPress address (URL): 		https://mundoverde.local
    Site address (URL): 		https://mundoverde.local
    WooCommerce version: 		4.7.1
    WooCommerce REST API package: 		4.7.1 /Users/acme/Sites/mundoverde.local/wp-content/plugins/woocommerce/includes
    WooCommerce Blocks package: 		3.6.0 /Users/acme/Sites/mundoverde.local/wp-content/plugins/woocommerce/packages/woocommerce-blocks/
    Action Scheduler package: 		3.1.6 /Users/acme/Sites/mundoverde.local/wp-content/plugins/woocommerce/packages/action-scheduler
    WooCommerce Admin package: 		1.6.3 /Users/acme/Sites/mundoverde.local/wp-content/plugins/woocommerce/packages/woocommerce-admin
    Log directory writable: 		/Users/acme/Sites/mundoverde.local/wp-content/uploads/wc-logs/
    WordPress version: 		5.5.3	
    WordPress multisite: 		–
    WordPress memory limit: 		2 GB	
    WordPress debug mode: 		–
    WordPress cron: 		
    Language: 		en_US
    External object cache: 		–
    Server environment
    Server info: 		Apache/2.4.46 (Unix) PHP/7.3.24
    PHP version: 		7.3.24	
    PHP post max size: 		8 MB
    PHP time limit: 		30
    PHP max input vars: 		1000
    cURL version: 		7.73.0, OpenSSL/1.1.1h
    SUHOSIN installed: 		–
    MySQL version: 		5.7.30	
    Max upload size: 		2 MB
    Default timezone is UTC: 		
    fsockopen/cURL: 		
    SoapClient: 		Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.	
    DOMDocument: 		
    GZip: 		
    Multibyte string: 		
    Remote post: 		
    Remote get: 		
    Database
    WooCommerce database version: 		4.7.1
    Database prefix 	  	wp_	
    Total Database Size 	  	3.88MB
    Database Data Size 	  	2.47MB
    Database Index Size 	  	1.41MB
    wp_woocommerce_sessions 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions 	  	Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates 	  	Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones 	  	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods 	  	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions 	  	Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments 	  	Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options 	  	Data: 1.47MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta 	  	Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_posts 	  	Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_termmeta 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users 	  	Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes 	  	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup 	  	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup 	  	Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats 	  	Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup 	  	Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup 	  	Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock 	  	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks 	  	Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_tasks_meta 	  	Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    Post Type Counts
    attachment 	  	39
    customize_changeset 	  	10
    page 	  	11
    post 	  	3
    product 	  	24
    revision 	  	8
    Security
    Secure connection (HTTPS): 		Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
    Hide errors from visitors 		
    Active plugins (1)
    WooCommerce 	  	by Automattic – 4.7.1
    Inactive plugins (11)
    Akismet Anti-Spam 	  	by Automattic – 4.1.7
    Change wp-admin login 	  	by Nuno Morais Sarmento – 1.0.2
    Disable WooCommerce Bloat 	  	by ospiotr – 2.3 – Installed version not tested with active version of WooCommerce 4.7.1	
    Google XML Sitemaps 	  	by Auctollo – 4.1.1
    Hello Dolly 	  	by Matt Mullenweg – 1.7.2
    Jetpack by WordPress.com 	  	by Automattic – 9.1
    Jetpack Without Promotions 	  	by required – 1.1.0
    WooCommerce Admin 	  	by WooCommerce – 1.7.2
    WPForms Lite 	  	by WPForms – 1.6.3.1
    WP Super Cache 	  	by Automattic – 1.7.1
    WP SVG images 	  	by KubiQ – 3.2
    Settings
    API enabled: 		–
    Force SSL: 		–
    Currency 		PHP (?)
    Currency position 		left
    Thousand separator 		,
    Decimal separator 		.
    Number of decimals 		2
    Taxonomies: Product types 		external (external), grouped (grouped), simple (simple), variable (variable)
    Taxonomies: Product visibility 		exclude-from-catalog (exclude-from-catalog), exclude-from-search (exclude-from-search), featured (featured), outofstock (outofstock), rated-1 (rated-1), rated-2 (rated-2), rated-3 (rated-3), rated-4 (rated-4), rated-5 (rated-5)
    Connected to WooCommerce.com: 		–
    WooCommerce pages
    Shop base:		#96 - /shop/
    Cart:		#7 - /cart/
    Checkout:		#8 - /checkout/
    My account:		#9 - /my-account/
    Terms and conditions:		Page not set
    Theme
    Name: 		Storefront
    Version: 		2.9.0
    Author URL: 		https://woocommerce.com/
    Child theme: 		– If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme	
    WooCommerce support: 		
    Templates
    Overrides: 	  	–
    Action Scheduler
    Version: 	3.1.6
    Action Status 	  	Count 	Oldest Scheduled Date 	Newest Scheduled Date
    Complete	 	2	2020-11-24 23:52:50 +0000	2020-11-24 23:52:50 +0000
    Pending	 	1	2020-11-26 01:11:45 +0000	2020-11-26 01:11:45 +0000
    Canceled	 	2	-0001-11-30 00:00:00 +0000	-0001-11-30 00:00:00 +0000
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    Can you please go to **Settings > Permalinks** and hit save and let me know if this helps?

    Thread Starter JAyenGreen

    (@jayengreen)

    I found the issue. Despite the .htaccess file having the correct code for allowing mod-rewrite, the Apache virtual host declaration did not contain
    AllowOverride All
    Once I’d added that and restarted Apache, all was well.

    • This reply was modified 4 years, 3 months ago by JAyenGreen.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 on generated WooCommerce pages’ is closed to new replies.