Arrow

Hi, can we use WP's home tags instead of hard typing the domain? | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Hi, can we use WP's home tags instead of hard typing the domain?
October 13, 2011
1:02 pm
dains
Guest

Looking to use site_home or network_home instead of hard-coding the redirect URLs. Is that possible?
Thanks for any help!
Dains

October 15, 2011
1:13 am
Peter
Admin
Forum Posts: 841
Offline

Hi Dains,

At the moment that is not available out of the box. However, it would be a good addition for an upcoming version, so thanks for the suggestion!

In the meantime, if you are comfortable with PHP, please take a look at the function rul_get_variable in the plugin, as you should be able to add such a variable pretty easily in that function.

October 15, 2011
9:05 pm
dains
Guest

Thanks Peter, I will check it out! And also thanks for making this functionality available. WP wouldn't be half as useful without plugin authors like yourself. If I end up using the plugin in the final site, I'll pop a donation in as thanks for your effort :)

November 6, 2011
1:06 pm
Peter
Admin
Forum Posts: 841
Offline

Just an update on this functionality: I've added siteurl and homeurl variables (in the syntax [variable]siteurl[/variable]) as well as support to write your own custom variable handling in version 2.3.0 of the plugin.