new site registration link %s is not correct inside WP multisite network

Dear friends,
I use https for my network site. If I enable automatic registration for my visitors, all links (email and site) are wrong:slight_frown:

F.e. email should be:

To activate your blog, please click the following link:\n
\n
%s\n
\n
After you activate, you will receive *another email* with your login.\n
\n
After you activate, you can visit your site here:\n
\n
%s

And wrong link %s is http://matulko.https://w3host.sk/ ....

How can I repair it?

Thanks a lot,
Martin

  • Martin

    Hi Joe,
    is there any possibility to reset permalinks for multisite netwotk? I cannot find it:slight_frown: I tried it for my main site. It did not help.

    What do you mean by standard troubleshooting protocol?

    It seems there is a problem in the multisite code. Even if I repair manually the link sent by email, WordPress multisite generates wrong site as http://matulko.http://w3host.sk/ , which do not work. I must repair it in Super Admin sites settings. So the system does not work automatically:slight_frown:

    How can I solve it? Which code file generating %s is needed to be repaired?

    Thanks a lot,
    Martin

  • aecnu

    Greetings Martin,

    I will happily explain standard troubleshooting protocol.

    Standard plugin trouble shooting protocol - first to switch to the Twenty Eleven theme just long enough to check for the problem - if the problem still exists next involves deactivating all plugins except the plugin in question and then see if the issue still exists.

    If it does not, then you want to activate plugins one at a time testing in between to see if the issue returns. Even when you find one plugin, it may be in your interest to deactivate the problem plugin and continue testing the rest of the plugins to insure no others are also conflicting. You will know the conflict when the issue returns and which plugin(s) you activated that cause the issue.

    Please advise if there are any plugin conflicts and if so what the plugins are that are conflicting.

    In addition, can you please post what your htaccess file contains so we can see if this is this issue?

    And last but not least, what are the specifications of what we are working with?

    WordPress 3.3.2?
    MultiSite or Solo?
    Buddy Press 1.5.5?
    Theme name?
    Domain Mapping plugin?

    Please advise.

    Cheers, Joe

  • Martin

    Hi Joe,
    after all plugins deactivation and Twenty Eleven theme activation the problem continues:slight_frown:

    .htaccess is following:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    
    <IfModule mod_suphp.c>
    suPHP_ConfigPath /home/schoolby
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>
    </IfModule>
    RewriteCond %{HTTP_HOST} ^eshop\.martinkamensky\.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.eshop\.martinkamensky\.com$
    RewriteRule ^/?$ "http\:\/\/martin\.kamensky\.com" [R=301,L]

    I use WordPress Multisite 3.3.2, Headway Themes 3.1.2, HostGator hosting, WordPress MU Domain Mapping 0.5.4.2, WordPress HTTPS 3.0.4 .

    Thanks a lot,
    Martin

  • aecnu

    Greetings Martin,

    Sorry for the big delay here, it appears that this ticket got eaten by the ticket system and I found it while do house keeping today in the back.

    Thank you for posting your htaccess file which looks nothing even close to my working productions site nor my test production site and it appears there is a lot of custom entries in yours too.

    <files wp-config.php>
    order allow,deny
    deny from all
    </files>

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    # END WordPress

    The BEGIN WordPress and END WordPress markers are necessary for WordPress NOT to strip or change other items in the htaccess file when it does indeed change them.

    The first group of code just protects the wp-config.php file from being read by any would be hackers.

    Have you gotten this issue resolved by any chance? And if so please advise what you did to resolve it for other members to possibly benefit.

    Please advise.

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.