WPIntell

Source evidence

Don't use this if you're using WooCommerce 2.0 and above

Redirectioner · review · 2014-11-04T11:19:00+00:00

complaintsentiment
highseverity
0.97relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

review · 1 stars
factorysketcher unresolved
We were struggling with endpoints, which were brought in to WooCommerce 2.0 and above. Basically, whenever the site tried to go to an end point such as my-account/edit-address, the page would just be re-directed to the my-account page. We had the 404 redirected plugin installed and it was this plugin causing the issue. So, we de-activated the 404 redirected plugin and hey presto, endpoints in Woocommerce were working again. I had the same problem. Or, nearly. Simplepress doesn’t work with 404 Redirected too. So i dive into the code in the include/frontend.php and addet 2 lines: In function wbz404_process404() after the line 63 and in function wbz404_redirectCanonical() after the line 187 (in both cases directly after $requestedURL .= wbz404_SortQuery($urlParts);): /* hack, dont redirect forum links */ if (preg_match("#\/forum\/#si",$requestedURL) == 1) return null; You have to replace the regex to your needs, but this works for all urls with this scheme. And if I mean all, I mean really all. in this case the path /tag/forum/ will also never be redirected. Or /blog/category/forum/blabla. So, for me it’s okay, but there is some potential for optimizing. Too bad, that this plugin wasn’t updated sice 2 years…

Comments

1 shown
tchibomann 2015-02-27T08:19:00+00:00

I had the same problem. Or, nearly. Simplepress doesn’t work with 404 Redirected too. So i dive into the code in the include/frontend.php and addet 2 lines: In function wbz404_process404() after the line 63 and in function wbz404_redirectCanonical() after the line 187 (in both cases directly after $requestedURL .= wbz404_SortQuery($urlParts);): /* hack, dont redirect forum links */ if (preg_match("#\/forum\/#si",$requestedURL) == 1) return null; You have to replace the regex to your needs, but this works for all urls with this scheme. And if I mean all, I mean really all. in this case the path /tag/forum/ will also never be redirected. Or /blog/category/forum/blabla. So, for me it’s okay, but there is some potential for optimizing. Too bad, that this plugin wasn’t updated sice 2 years…