Title: smarty111's Replies | WordPress.org

---

# smarty111

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

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

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cerber Security, Anti-spam & Malware Scan] Wrong redirect](https://wordpress.org/support/topic/wrong-redirect-6/)
 *  Thread Starter [smarty111](https://wordpress.org/support/users/smarty111/)
 * (@smarty111)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/wrong-redirect-6/#post-11550178)
 * No, i am not redirect when i am enter on page, i am redirect after enter fields
   and press login, and after that iam need enter fields again on main www site.
    -  This reply was modified 6 years, 12 months ago by [smarty111](https://wordpress.org/support/users/smarty111/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cerber Security, Anti-spam & Malware Scan] Wrong redirect](https://wordpress.org/support/topic/wrong-redirect-6/)
 *  Thread Starter [smarty111](https://wordpress.org/support/users/smarty111/)
 * (@smarty111)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/wrong-redirect-6/#post-11539416)
 *     ```
       function cerber_get_home_url() {
       	static $url;
   
       //      if ( ! isset( $url ) ) {
       		$url = trim( get_home_url(), '/' );
       //	}
   
       	return $url;
       }
       ```
   
 * That not work, our login link look like:
 * [http://lang.site.test/custom/](http://lang.site.test/custom/)
 * Before i am login on subdomain i am redirect on:
 * [http://www.site.test/custom/?redirect_to=http%3A%2F%2Fwww.site.test%2Fwp-admin%2F&reauth=1](http://www.site.test/custom/?redirect_to=http%3A%2F%2Fwww.site.test%2Fwp-admin%2F&reauth=1)
 * I am redirect from lang subdomain to main domain with this GET.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cerber Security, Anti-spam & Malware Scan] Wrong redirect](https://wordpress.org/support/topic/wrong-redirect-6/)
 *  Thread Starter [smarty111](https://wordpress.org/support/users/smarty111/)
 * (@smarty111)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/wrong-redirect-6/#post-11538300)
 * Can you fix this in the next update or add the ability to specify this to the
   settings?(checkbox for custom link for example)
 * Unfortunately, our company policy does not allow custom code insertion into plugins.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Cerber Security, Anti-spam & Malware Scan] Wrong redirect](https://wordpress.org/support/topic/wrong-redirect-6/)
 *  Thread Starter [smarty111](https://wordpress.org/support/users/smarty111/)
 * (@smarty111)
 * [7 years ago](https://wordpress.org/support/topic/wrong-redirect-6/#post-11465757)
 * Yes, we use custom link

Viewing 4 replies - 1 through 4 (of 4 total)