Title: Peter's Replies | WordPress.org

---

# Peter

  [  ](https://wordpress.org/support/users/pkthree/)

 *   [Profile](https://wordpress.org/support/users/pkthree/)
 *   [Topics Started](https://wordpress.org/support/users/pkthree/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pkthree/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pkthree/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pkthree/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pkthree/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pkthree/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 131 total)

1 [2](https://wordpress.org/support/users/pkthree/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/pkthree/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/pkthree/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/pkthree/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/pkthree/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/pkthree/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Set user specific homeurl?](https://wordpress.org/support/topic/set-user-specific-homeurl/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [7 years ago](https://wordpress.org/support/topic/set-user-specific-homeurl/#post-11485636)
 * You’d have to modify the homeurl() functionality: [https://wordpress.stackexchange.com/questions/298965/change-admin-bar-visit-site-url](https://wordpress.stackexchange.com/questions/298965/change-admin-bar-visit-site-url)
 * Then you could use the redirect_to_front_page() function to return the correct
   URL.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Loginizer] Client IP logic](https://wordpress.org/support/topic/client-ip-logic/)
 *  Thread Starter [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/client-ip-logic/#post-8530200)
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Loginizer] Client IP logic](https://wordpress.org/support/topic/client-ip-logic/)
 *  Thread Starter [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/client-ip-logic/#post-8513943)
 * A setting essentially solves the issue!
 * Every install is different, and often you do know the proxy IP addresses in the
   case where you’ve set up your own proxy with Varnish. But in any case, if the
   admin can decide to trust X-Forwarded-For, then that puts the power and responsibility
   in their hands.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Loginizer] Client IP logic](https://wordpress.org/support/topic/client-ip-logic/)
 *  Thread Starter [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/client-ip-logic/#post-8510587)
 * I understand your concern with other IP headers. However, as it stands your plugin
   is not usable for a site behind a CDN or reverse proxy, because when a block 
   is triggered, it will block everybody. REMOTE_ADDR is typically the IP of the
   CDN or reverse proxy. In such setups, if you check REMOTE_ADDR first, you will
   never check the other headers.
 * One way to address the concern of untrusted proxies causing a false positive 
   is to have a list of trusted proxy IPs for which the X-Forwarded-For or Client-
   IP headers will be respected.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Peter's Post Notes] little UX bug](https://wordpress.org/support/topic/little-ux-bug/)
 *  Plugin Author [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/little-ux-bug/#post-6972735)
 * Thanks! I’ve released a new version with this fix as well as for all the other
   checkboxes in the plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Is this plugin compatible with WordPress 4.4.1?](https://wordpress.org/support/topic/is-this-plugin-compatible-with-wordpress-441/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/is-this-plugin-compatible-with-wordpress-441/#post-6921741)
 * Yes, it is tested to work on WordPress 4.4.1
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Missing old versions](https://wordpress.org/support/topic/missing-old-versions/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/missing-old-versions/#post-6679863)
 * Yes, you can find old versions here: [http://www.theblog.ca/wplogin-redirect](http://www.theblog.ca/wplogin-redirect)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Peter's Collaboration E-mails] Emails No Longer Sending](https://wordpress.org/support/topic/emails-no-longer-sending/)
 *  Plugin Author [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/emails-no-longer-sending/#post-5177947)
 * I’m not sure why e-mail servers would have a problem with a link in an e-mail.
   Or maybe it’s a new feature in the wp_mail function.
 * Obviously those links are important since they send the users to the correct 
   edit paths. So as a quick patch you could replace all instances of:
 * `get_edit_post_link( $pce_object->ID, false )`
 * … with:
 * `preg_replace( '(https?://)', '', get_edit_post_link( $pce_object->ID, false ))`
 * That will result in links without http:// or https:// in front, so they won’t
   be clickable.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Peter's Collaboration E-mails] Emails No Longer Sending](https://wordpress.org/support/topic/emails-no-longer-sending/)
 *  Plugin Author [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/emails-no-longer-sending/#post-5177926)
 * I tested this on WordPress 3.9.2 and I had problems with one mail server because
   it was blocking URLs in e-mails. (To test this, you can comment out all lines
   in the plugin file with get_edit_post_link in them.) However, on another mail
   server it was going through fine, so I couldn’t find any issues related to the
   plugin actually sending e-mails (and for that it uses the standard wp_mail() 
   function).
 * Perhaps a conflicting plugin is intercepting the transition_post_status filter
   and exiting, preventing other plugins from running in that filter.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] ****ERROR: Unknown error updating role-specific URL for role editor****](https://wordpress.org/support/topic/error-unknown-error-updating-role-specific-url-for-role-editor/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/error-unknown-error-updating-role-specific-url-for-role-editor/#post-5113337)
 * Did you install the plugin at the network level and then activate it on a per-
   site basis? If so, I would suggested turning on WP_DEBUG ([http://codex.wordpress.org/WP_DEBUG](http://codex.wordpress.org/WP_DEBUG))
   to see what useful errors there are when you activate the plugin (which is when
   it tries to create the database tables).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Can't delete the users](https://wordpress.org/support/topic/cant-delete-the-users/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/cant-delete-the-users/#post-5145509)
 * Thanks for bringing that up. This issue should be fixed in version 2.8.1 of the
   plugin, as the delete action doesn’t check for a valid user anymore.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Don't like update – edit redirect one-by-one](https://wordpress.org/support/topic/dont-like-update-edit-redirect-one-by-one/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/dont-like-update-edit-redirect-one-by-one/#post-5108577)
 * Sorry about that. Other than the issue about reaching limits around the number
   of form fields, I had also received feedback about how the previous interface
   was not intuitive for adding and removing rules. I am definitely open to design/
   layout suggestions and mockups. Also, something I always recommend if there are
   many rules to manage is to consider whether they can be consolidated into a single
   rule with a dynamic URL part.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Limit user?](https://wordpress.org/support/topic/limit-user/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/limit-user/#post-4968520)
 * There was a limit of about 333 user-specific rules with the default PHP settings.
   However, with version 2.8.0 of the plugin, this limit should be lifted.
 * Do all of your redirects follow a similar pattern involving the username? If 
   so, you might want to consider building a single redirect rule using the special
   syntax **[variable]username[/variable]**.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] Add redirect login link to front end](https://wordpress.org/support/topic/add-redirect-login-link-to-front-end/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/add-redirect-login-link-to-front-end/#post-4321196)
 * Hi,
 * See the “Custom ‘My Portal’ Link” section at the bottom of this page:
 * [http://wordpress.org/plugins/peters-login-redirect/other_notes/](http://wordpress.org/plugins/peters-login-redirect/other_notes/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LoginWP (Formerly Peter's Login Redirect)] use user_id redirect instead of username](https://wordpress.org/support/topic/use-user_id-redirect-instead-of-username/)
 *  [Peter](https://wordpress.org/support/users/pkthree/)
 * (@pkthree)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/use-user_id-redirect-instead-of-username/#post-4253168)
 * Hi,
 * Yes, there is some documentation on how to create your own variable in the “Custom
   variable parameters” section here:
 * [http://wordpress.org/plugins/peters-login-redirect/other_notes/](http://wordpress.org/plugins/peters-login-redirect/other_notes/)

Viewing 15 replies - 1 through 15 (of 131 total)

1 [2](https://wordpress.org/support/users/pkthree/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/pkthree/replies/page/3/?output_format=md)…
[7](https://wordpress.org/support/users/pkthree/replies/page/7/?output_format=md)
[8](https://wordpress.org/support/users/pkthree/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/pkthree/replies/page/9/?output_format=md)
[→](https://wordpress.org/support/users/pkthree/replies/page/2/?output_format=md)