WPIntell

Source evidence

URL in email not working

Content Scheduler · support · 2015-10-05T19:46:00+00:00

questionsentiment
highseverity
0.94relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

5 / 33 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
stemlund resolved
I’m using this plugin with a custom post type and in my notification emails, the URL that should link to the page is broken. The URL is produces is: mydomain.com/ ?post_type=knowledgebase&p=306 which ends up taking me to a page that displays all posts in that post type, not the individual post in question. How can this be fixed? https://wordpress.org/plugins/content-scheduler/ It looks like the URL ends up displaying as /?post_type=knowledgebase & # 0 3 8 ; p=306 so it is using & # 0 3 8 ; (with no spaces, because this forum switches it to just &) in place of & – is there a setting in functions.php or .htaccess to make URLs translate that entity to just & ? Looks like there will be no help here. Luckily I solved the issue. It looks like using the GUID is no longer recommended in /includes/send-notification.php, you would need to change line 66 to $post_view_url = get_permalink($post_data['ID']); instead of the original code that tries to get the ‘guid’. This solved my issue.

Comments

2 shown
stemlund 2015-10-05T19:48:00+00:00

It looks like the URL ends up displaying as /?post_type=knowledgebase & # 0 3 8 ; p=306 so it is using & # 0 3 8 ; (with no spaces, because this forum switches it to just &) in place of & – is there a setting in functions.php or .htaccess to make URLs translate that entity to just & ?

stemlund 2015-10-13T16:51:00+00:00

Looks like there will be no help here. Luckily I solved the issue. It looks like using the GUID is no longer recommended in /includes/send-notification.php, you would need to change line 66 to $post_view_url = get_permalink($post_data['ID']); instead of the original code that tries to get the ‘guid’. This solved my issue.