Skip to:
Content
Pages
Categories
Search
Top
Bottom

single pages redirect to wp-admin

  • Profile photo of riki81
    riki81
    Participant

    @riki81

    Versions:
    WP 3.9.1
    BP 2.0.1

    I’ve migrated my website to a new hosting. Before migration everything was fine.
    Now all pages are ok, both for WordPress and Buddypress, except that SINGLE MEMBER PAGE, SINGLE GROUP PAGE and SINGLE ACTIVITY PAGE cannot be opened.
    When I check URLs all of them are correct, but when I try clicking on a link (for example of one member of the community), after a couple of seconds, it redirects by itself to /wp-admin page!

    What’s happened? I’ve kept same plugins installed from old hosting to the new one.
    Nothing changed… so I don’t receive typical 404 error, but links seem to be correct, but it’s impossible to open them.

    Please help me! Thanks a lot!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of @mercime
    @mercime
    Moderator

    @mercime

    @riki81 First time I’ve seen this reported. Try basic troubleshooting procedures https://codex.buddypress.org/getting-started/troubleshooting/

    Profile photo of riki81
    riki81
    Participant

    @riki81

    Well, it seems that every page goes in a strange way.
    All BP pages redirect to wp-admin, while other components of website redirect to the homepage. For ex. the basket page of WooCommerce.

    Could it be .htaccess file or wp.config.php?

    .htaccess is this:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    On this server, without
    define(‘WP_HOME’,’http://workwidewomen.com/’);
    define(‘WP_SITEURL’,’http://workwidewomen.com/’);
    in wp-config.php
    the server goes in loop between http://www.domainname.com and domainname.com and, after few seconds, says page doesn’t exists.

    On the past server, everything worked fine. There were no loops and I didn’t need
    define(‘WP_HOME’,’http://workwidewomen.com/’);
    define(‘WP_SITEURL’,’http://workwidewomen.com/’);

    I think that BP and WooCommerce are “affected” by the same problem I mean… maybe sht’s going wrong on server?
    What can I try to do?

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘single pages redirect to wp-admin’ is closed to new replies.
Skip to toolbar