Permalink error 404 with number as product name - woocommerce

I got products whom name is a number serial (i.e 1670).
I use base shop in permalink setting. When I am accessing URL with product name as number, I got error 404.
If I edit the permalink from
to , it works.
I notice A bug when using product number as product name, even I installed it on newly wordpress installation.
I am amaze to see that no one is noticed major bug in woocommerce yet.

Related

Problem with WP categories/taxonomy & PHP fatal error after v.6.0 update

After updating WP to v.6.0 (translated/greek language version), I’m facing a posts categories/taxonomy problem.
Things I’ve noticed about the problem in two separate website instances (official - live & clone/testing purposes version):
Visiting certain posts categories with existing posts (e.g.
index.php?cat=5), I receive NOTHING FOUND message, which is not true
(posts exist, I can browse them connected as author or admin user).
The issue affects exactly the same nine (9) categories IDs with
reference to tbl_terms MySQL tables (live & clone website).
In wp-admin Posts Categories section, the same categories seem to be not
editable. I’ve also found that I can change the URL of an editable
Category (/wp-admin/term.php?taxonomy=category&tag_ID=69) replacing
the tag_ID with a so-problematic category ID (e.g. 6), opens the
so-problematic category edit form, but after updating, the category
updates itself in the category list with a new ID (e.g. 73),
different than the initial ID!! At the same time, opening the posts
URL of the so-problematic category using the new ID
(/index.php?cat=73), the previously shown NOTHING FOUND message is
not shown anymore & posts re-appear!!
Connected as author or admin user, visiting the posts page, I can see all my posts, but the posts related with one or more of the so-problematic categories, seem to not have any category at all. However, if I edit/open the post, the relation with the so-problematic category is shown as it should! Updating the post, seems to restore the category.
I should also mention that the WP v.5.9 worked just fine before updating to 6.0.
Concerning the PHP fatal error, connected as author or admin user # WP backend, I receive critical error messages, quite often & almost in a recurring way. Inspecting the log file, the error contains “mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 15728640 bytes exhausted (tried to allocate 65536 bytes)”. The URL mostly referred is /wp-admin/includes/admin.php, line 35 specifically.
I contacted hosting provider, they informed me about the below memory settings
memory_limit = 256M
max_execution_time = 300
upload_max_filesize = 100M
post_max_size = 100M
max_input_time = 120
& suggested me to further check WP code.
I would appreciate any help/advice about the problem & possible ways to solve or best practice to handle it.
Many thanks in advance.
Kind regards.

Woocommerce category slug (permalink) redirect to old url

in Woocommerce I changed one of my category slug from A to something else like B and then return it to the original one (A again) for just couple of minutes
now whatever I do (even removing that category and rebuild new one) doesnt fix it and it redirects to B
I cleared the cache, changed permalink settings completely then back again, installed Redirect plugin and tried to add this address for redirection, I even removed the category, build a new one with the same properties
the error is ERR_TOO_MANY_REDIRECTS in chrome and people call it 301
many suggest disable plugins and rebuild .htaccess but I have like 40 plugins on my site, I think its too risky, can you please suggest me a better way?

How to set permalink to other settings?

After i migrate from one server to another, i can only set the permalink to plain setting. Whenever i try to change to other custom setting, it doesn’t work.
I always see the “ERROR 404 – PAGE NOT FOUND” message.
I am using Dokan plug-ins for multi vendor for that Product permalinks need to be set to custom base.
Please help to figure out permalink to other settings. Thank you.

Set WordPress default post_type post with a slug without using admin Permalink Settings

For a client, they'd like all their posts, which reside under the post_type => post within WordPress to have the blog/ prefix to them.
I know this is doable by going to Settings -> Permalinks and changing the value to blog/%postname%. However doing so, if a client updated a page from About (slug about) to About Us (slug about-us), WordPress will not redirect the slug about to about-us if I change the Permalink settings.
I've looking into inserting an array into the rewrite of the post args, but this didn't resolve anything. I've also looked into using Redirection, but again this did not resolve the issue, as it was unable to actively monitor the slug changes, even with the Options updated within the plugin.
Does anyone know of a function I can hook into, or a solution? Googling this seems to only tackle custom post types, which I am not altering.

Other permalinks works but not %postname%

WordPress › Support » How-To and Troubleshooting
I have imported my site from mybb to WordPress 3.9.1 All seems to fine but when I change permalinks from numeric to %postname% some of the posts shows the permalink correctly i.e.
www.example.com/A-new-post
however some posts shows only the domain i.e. post number 2 shows
www.example.com
I Tried all permalink settings all seems to work except %postname% which infect works but only converts partial posts to permalinks
My blog has too old posts over 2 years, so I need to open each post and its url converted to %postnum%

Resources