404 when using add_permastruct()

Đã có trọn bộ đề thi thử THPT Quốc Gia 2022 các môn: vip.dethihsg247.com

My wordpress site has the following URL structure defined in WP Admin > Permalinks

Custom Structure : /articles/%postname%/

For all my default posts.

I also have the following rule defined within my functions.php file:

I pass with_front = false so that these specific links do not contain articles/ in the slug.

Using add_permastruct() correctly now works for the urls that contain a price and material i.e

But now any other post url is resulting in a 404 error. i.e

It seems the add_permastruct() function is overwriting any url with 2 parts to the slug.
No matter what they are.

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com