• Resolved YourOnlineCenter

    (@youronlinecenter)


    Hi Guys,

    I have messed around with this for a bit with no luck and is probs something very simply but i don’t know.

    Anyway when I go to https://example.com/page it shows but when i try to use https://www.example.com/page it redirects me to the homepage at https://example.com/

    So as soon as i use the www. in the domain it goes to the homepage no matter what.

    it does this for all my static pages, its not that annoying only when trying to get to the page directly.

    I have tried looking for relative posts but couldn’t find anything so any help would be much appreciated.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Sorry, I was out and about this weekend (Passover is tomorrow night!!!)

    It ap;ears you have a redirect set up that causes the www version of your domain to automatically redirect to youronlinecenter.com without www applied.

    God I hate GoDaddy. That’s exactly right but WHERE?

    Check in your wp-config.php file and see what the domain is saved as in the Multisite section there?

    Thread Starter YourOnlineCenter

    (@youronlinecenter)

    ok do u mean this part?

    define('WP_DEBUG', false);
    define('WP_ALLOW_MULTISITE', true);
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'youronlinecenter.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    define( 'SUNRISE', 'on' );
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I did!

    define( 'DOMAIN_CURRENT_SITE', 'youronlinecenter.com' );

    SOME times you need to define that as https://www.yourdmoain.com :/

    You can try it, but it may not work.

    Thread Starter YourOnlineCenter

    (@youronlinecenter)

    no luck ??

    It made it worse, lol. the site pages wouldnt show and the pages just kept redirecting to the homepage with no www. and just trying to get to the pages became impossible with that on.

    I know this is old – but just wanted to follow up and let you know that i had this same issue and it appears to be an issue with the plugin “Remove /blog slug plugin for wpmu” – if you have that installed, try disabling and then resaving your permalinks and see if that fixes it.

    stimsonm

    (@stimsonm)

    did you get this issue fixed, I’m having the exact issue and my host (mediatemple) said it was an htaccess issue

    esmi

    (@esmi)

    Please post a new topic.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘When using www. to get to a page redirects to homepage’ is closed to new replies.