Okay I′m still fighting with this topic.
Let me describe what I did do and maybe I can help other soulmates with an solution.
First I tried the solution David gave me in this post.
If I use this code
function ds_my_signup_page() {
$page = 'https://mydomain/signup/';
return $page;
}
add_filter( 'wp_signup_location', 'ds_my_signup_page' );
if( strpos($_SERVER['REQUEST_URI'], 'wp-signup.php'))
wp_redirect('signup/');
I get an Error
The Errormessage is
function ds_my_signup_page() { $page = 'https://mydomain/signup/'; return $page; } add_filter( 'wp_signup_location', 'ds_my_signup_page' ); if( strpos($_SERVER['REQUEST_URI'], 'wp-signup.php')) wp_redirect('signup/');
If I don′t use it and link direkt to https://mydomain/signup/ it works fine.
But I′m not shure whether it is is a mistake to do it so.
@dave Please give me your suggestion.
Then I tried this Tutorial
And got this notice: “Parse error: syntax error, unexpected ‘/’ in /var/www/web2/html/wp-content/themes/TheTheme_3.0/wp-signup.php on line 15”
Line 15 is the line where I had to change the path:
require( dirname(__FILE__) . ‘/wp-load.php’ );
to
require( ‘../../../wp-load.php’ );
I tried require( ‘../../wp-load.php’ );
and require( ‘./wp-load.php’ );
and every possibitity in between. With no success.
Many thanks for your help
cyprus