CirceTheHouseCat
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] 404 error when leaving a product reviewI did a further investigation after discovering that the error wasn’t related to WooCommerce, and after checking the .htaccess file, I’ve found the source of the problem.
This rule was causing the error:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_USER_AGENT} ^$ [OR] RewriteCond %{HTTP_REFERER} !^http(s)?://([^.]+\.)?brand-risk\.com [NC] RewriteCond %{REQUEST_URI} /wp-comments-post\.php [NC] RewriteRule .* - [F,L] </IfModule>After removing it, now comments and reviews are accepted.
Forum: Plugins
In reply to: [WooCommerce] 404 error when leaving a product reviewUpdate: I’ve noticed that the same error happens also if someone try to leave a comment on the blog. So it may not be WooCommerce related.
Forum: Plugins
In reply to: [WooCommerce] 404 error when leaving a product reviewYes, as you correctly says mywebsite.com is not my real domain, but the second part of the URI (wp-comments-post.php) is what actually shows up when someone try to leave a review.
I didn’t want to share the domain name, that’s why I’ve used mywebsite.com…
Anyway, I have 5 products on my site, and only for this last one the buyers cannot leave a review. The review feature is enabled in all products.
Here is the system status from WooCommerce:
### WordPress Environment ### WordPress address (URL): https://www.***.com Site address (URL): https://www.***.com WC Version: 6.9.4 REST API Version: ✔ 6.9.4 WC Blocks Version: ✔ 8.3.3 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ✔ Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.17 PHP Post Max Size: 516 MB PHP Time Limit: 60 PHP Max Input Vars: 1000 cURL Version: 7.81.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 5.7.23-23 Max Upload Size: 512 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.6.4 WC Database Prefix: wp_rseo_ Tamaño total de la base de datos: 23.06MB Tamaño de los datos de la base de datos: 20.62MB Tamaño del índice de la base de datos: 2.44MB wp_rseo_woocommerce_sessions: Datos: 0.38MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_api_keys: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_attribute_taxonomies: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_downloadable_product_permissions: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_order_items: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM wp_rseo_woocommerce_order_itemmeta: Datos: 0.03MB + Índice: 0.03MB + Motor MyISAM wp_rseo_woocommerce_tax_rates: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_tax_rate_locations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_shipping_zones: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_shipping_zone_locations: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_shipping_zone_methods: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_payment_tokens: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_payment_tokenmeta: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_woocommerce_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_actionscheduler_actions: Datos: 0.06MB + Índice: 0.13MB + Motor InnoDB wp_rseo_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_actionscheduler_logs: Datos: 0.06MB + Índice: 0.03MB + Motor InnoDB wp_rseo_aioseo_cache: Datos: 0.14MB + Índice: 0.03MB + Motor InnoDB wp_rseo_aioseo_notifications: Datos: 0.13MB + Índice: 0.06MB + Motor InnoDB wp_rseo_aioseo_posts: Datos: 1.52MB + Índice: 0.02MB + Motor InnoDB wp_rseo_commentmeta: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM wp_rseo_comments: Datos: 0.04MB + Índice: 0.02MB + Motor MyISAM wp_rseo_links: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_newsletter: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM wp_rseo_newsletter_emails: Datos: 0.40MB + Índice: 0.00MB + Motor MyISAM wp_rseo_newsletter_sent: Datos: 0.01MB + Índice: 0.03MB + Motor MyISAM wp_rseo_newsletter_stats: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM wp_rseo_newsletter_user_logs: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_ninja_table_items: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB wp_rseo_options: Datos: 1.91MB + Índice: 0.17MB + Motor MyISAM wp_rseo_postmeta: Datos: 1.36MB + Índice: 0.25MB + Motor MyISAM wp_rseo_posts: Datos: 4.33MB + Índice: 0.15MB + Motor MyISAM wp_rseo_redirection_404: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB wp_rseo_redirection_groups: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB wp_rseo_redirection_items: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB wp_rseo_redirection_logs: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB wp_rseo_termmeta: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_terms: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_term_relationships: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_term_taxonomy: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_usermeta: Datos: 0.01MB + Índice: 0.01MB + Motor MyISAM wp_rseo_users: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_wc_admin_notes: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB wp_rseo_wc_admin_note_actions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_wc_category_lookup: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB wp_rseo_wc_customer_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB wp_rseo_wc_download_log: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB wp_rseo_wc_order_product_lookup: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB wp_rseo_wc_order_stats: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB wp_rseo_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB wp_rseo_wc_product_attributes_lookup: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_wc_product_download_directories: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_wc_product_meta_lookup: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_wc_rate_limits: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB wp_rseo_wc_tax_rate_classes: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_wc_webhooks: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfblockediplog: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfblocks7: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfconfig: Datos: 1.81MB + Índice: 0.02MB + Motor MyISAM wp_rseo_wfcrawlers: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wffilechanges: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wffilemods: Datos: 4.06MB + Índice: 0.50MB + Motor MyISAM wp_rseo_wfhits: Datos: 0.75MB + Índice: 0.10MB + Motor MyISAM wp_rseo_wfhoover: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfissues: Datos: 0.03MB + Índice: 0.01MB + Motor MyISAM wp_rseo_wfknownfilelist: Datos: 2.92MB + Índice: 0.15MB + Motor MyISAM wp_rseo_wflivetraffichuman: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wflocs: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wflogins: Datos: 0.04MB + Índice: 0.01MB + Motor MyISAM wp_rseo_wfls_2fa_secrets: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB wp_rseo_wfls_settings: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB wp_rseo_wfnotifications: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfpendingissues: Datos: 0.00MB + Índice: 0.01MB + Motor MyISAM wp_rseo_wfreversecache: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfsnipcache: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wfstatus: Datos: 0.15MB + Índice: 0.05MB + Motor MyISAM wp_rseo_wftrafficrates: Datos: 0.00MB + Índice: 0.00MB + Motor MyISAM wp_rseo_wpsm_tables: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB ### Post Type Counts ### attachment: 502 custom_css: 1 nav_menu_item: 7 page: 20 post: 85 product: 5 revision: 494 shop_order: 52 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (18) ### Akismet Anti-Spam: por Automattic – 5.0 All in One SEO: por All in One SEO Team – 4.2.5.1 Editor clásico: por Colaboradores de WordPress – 1.6.2 Newsletter: por Stefano Lissa el equipo de Newsletter – 7.5.3 No Category Base (WPML): por Marios Alexandrou – 1.3 PO/MO Editor: por Doug Wollison – 1.4.2 Redirection: por John Godley – 5.3.4 WooCommerce Shipping By Rules: por Open Tools Reinhold Kainhofer – 2.0.6 Simple Custom CSS: por John Regan – 4.0.5 Table Maker: por Wpsoul – 1.9.1 Advanced Editor Tools (previously TinyMCE Advanced): por Automattic – 5.6.0 Checkout Fields Manager for WooCommerce: por QuadLayers – 6.2.6 WooCommerce Stripe Gateway: por WooCommerce – 6.7.0 WooCommerce Max Quantity: por Isabel Castillo – 1.5.2 WooCommerce: por Automattic – 6.9.4 Wordfence Security: por Wordfence – 7.6.2 WP Super Cache: por Automattic – 1.9 WPS Hide Login: por WPServeur NicolasKulka wpformation – 1.9.6 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### SSO: por Garth Mortensen Mike Hansen – 0.4 ### Settings ### API Enabled: ✔ Force SSL: – Currency: EUR (€) 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: – Enforce Approved Product Download Directories: – ### WC Pages ### Base de la tienda: #11 - /el-libro/ Carrito: #42 - /carrito/ Finalizar compra: #44 - /check-out/ Mi cuenta: ❌ Página sin definir Términos y condiciones: #46 - /terminos-y-condiciones/ ### Theme ### Name: Twenty Sixteen Version: 2.6 (la actualización a la versión 2.7 está disponible) Author URL: https://es.ww.wp.xz.cn/ Child Theme: ❌ – Si estás modificando WooCommerce en un tema padre que no has creado personalmente te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo WooCommerce Support: ✔ ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ✔ Next scheduled: 2022-09-27 14:37:57 +00:00 Options: ✔ Notes: 70 Onboarding: completed ### Action Scheduler ### Complete: 165 Oldest: 2022-09-06 08:24:16 +0000 Newest: 2022-09-27 12:18:15 +0000 Pending: 3 Oldest: 2022-09-27 12:20:26 +0000 Newest: 2022-09-28 09:03:40 +0000 ### Status report information ### Generated at: 2022-09-27 12:20:06 +00:00Forum: Fixing WordPress
In reply to: Using Post Tilte in “Read More” link (home page)Hi @bcworkz thanks for the reply. I’ve already checked the page you have linked, but as I am not so tech savvy I could not find the solution there.
The theme I use is an old one (GoodNews – Blog & Magazine WordPress Theme) and support is not… supported anymore. The theme last update was in January 2020.
The <!–more–> tag is not added in post, yet in the home page there is an excerpt of the post, that ends with a “Read more >>” link to the entire post, after 3 lines of text.
Thanks anyway for taking some time to reply.
Forum: Themes and Templates
In reply to: [Astra] “Read more” in post is ignored in home pageThank you so much @nickschavan.
Forum: Themes and Templates
In reply to: [Astra] “Read more” in post is ignored in home pageI didinvestigate andthink that the issue is from here (extras.php):
/**
* Display Blog Post Excerpt
*/
if ( ! function_exists( ‘astra_the_excerpt’ ) ) {/**
* Display Blog Post Excerpt
*
* @since 1.0.0
*/
function astra_the_excerpt() {$excerpt_type = astra_get_option( ‘blog-post-content’ );
do_action( ‘astra_the_excerpt_before’, $excerpt_type );
if ( ‘full-content’ == $excerpt_type ) {
the_content();
} else {
the_excerpt();
}do_action( ‘astra_the_excerpt_after’, $excerpt_type );
}
}How can I make it ignore the excerpt and use instead the <more> I’ve defined in content?
Forum: Themes and Templates
In reply to: [Astra] “Read more” in post is ignored in home pageI’ve already checked this: https://codex.ww.wp.xz.cn/Customizing_the_Read_More but I can’t find those line in the code.
I really don’t understand why the <more> tag in post is ignored.
Forum: Fixing WordPress
In reply to: .htaccess permalinks redirectFixed with this plugin: https://ww.wp.xz.cn/plugins/permalinks-to-categorypermalinks/
Forum: Fixing WordPress
In reply to: .htaccess permalinks redirectAnyone? 🙂 I am still trying to figure out how to apply the redirection in my .htaccess from:
domain/%postname%
to:
domain/%category%/%postname%
Thanks
Forum: Fixing WordPress
In reply to: .htaccess permalinks redirectHello again and thank you for your time.
Here’s how the .htaccess of my site looks like
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xhtml+xml
AddOutputFilterByType DEFLATE application/x-javascript application/javascript text/javascript text/css<FilesMatch “.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$”>
ExpiresActive On
ExpiresDefault “access plus 1 year”
</FilesMatch>Header unset ETag
FileETag None# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
The webserver is Apache (I assume it’s Apache, the site is hosted in Bluehost).
As for the redirection. I like the new permalinks structure I have with /category/post. My problem now is how to fix the redirection for the old one (/post), that now gives 404 errors.
Thanks
Forum: Fixing WordPress
In reply to: .htaccess permalinks redirectHi pedger,
thanks for the answer, but unfortunately I am not a tech guy… I am more a “copy/paste solution user”…
I’ve seen in many threads how people explain how to do to the opposite I ask (going from %category%/%postname% to %postname%) and give some rewrite rules that should be added to the .htaccess file, so I am more looking forsomething like that or an easy alternative I can apply.
I have close to 0 knowledge of php and a blog with more than 2000 posts that now gives 404 errors for the %postname% permalinks… :/
I can do the redirect manually using a redirect plugin, but it ask to add each post url I want to redirect and it will take me ages.