# קוד מותאם אישית אחר בהתקנת WP מונע מ-WP Discourse לבצע הפניה חזרה לפורום

**URL:** <https://meta.discourse.org/t/other-custom-code-on-wp-installation-is-preventing-wp-discourse-from-redirecting-back-to-forum/237523>\
**Category:** WordPress\
**Created:** [29 באוגוסט,‏ 2022,‏ 9:36pm UTC](https://meta.discourse.org/t/other-custom-code-on-wp-installation-is-preventing-wp-discourse-from-redirecting-back-to-forum/237523 "2022-08-29T21:36:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)\
**Post date:** [30 באוגוסט,‏ 2022,‏ 2:04pm UTC](https://meta.discourse.org/t/other-custom-code-on-wp-installation-is-preventing-wp-discourse-from-redirecting-back-to-forum/237523/4 "2022-08-30T14:04:07Z")

</div>

If you’re able to search the non-core wordpress code running on your site, search for the strings

- `wp_redirect` (a filter)
- `wp_login_url` (a method)
- `parse_query` (an action)

Check where any instances of those strings are found. In the past this has been caused by other plugins incorrectly using one of those filters, methods or actions.

I wish I could help you more but the issue here is not one being caused by the [WP Discourse](https://github.com/discourse/wp-discourse) plugin. It’s an issue with some custom code in a theme, plugin or some other script in your Wordpress installation.

I can’t figure that out from here unfortunately, nor can the [WP Discourse](https://github.com/discourse/wp-discourse) plugin log that in some way. Wordpress’ filters, methods and actions can be used by anything and the “priority” (i.e. the order in which things are run) can be overridden by anything as well.

---

_[View the full topic](https://meta.discourse.org/t/other-custom-code-on-wp-installation-is-preventing-wp-discourse-from-redirecting-back-to-forum/237523)._
