• Resolved Shasta

    (@shastaw)


    I am most of the way through creating a duplicate of my live site locally. (This will be a development sandbox.) I am running WordPress with Network and BuddyPress.

    I started by installing XAMPP and setting my hosts file so that testsite.com points at the folder WordPress is installed in locally.

    Next I imported the existing live-site database and manually updated the wp_blogs, wp_site, wp_x_options, wp_sitemeta to testsite.com instead of site.com (the live site.) wp_config.php is also updated to reflect testsite.com

    At this point everything on the local site works EXCEPT the main page. I can navigate through the admin pages, and I can visit any sub-page. The automatic menu links are formed properly with testsite.com/whatever … it’s all good.

    EXCEPT when I try to go to https://testsite.com it always redirects to https://site.com This happens whether I type in the address, click on the link in admin, or click on the “home” menu item from a page in the site.

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Shasta

    (@shastaw)

    Ah..I think it may be a browser issue. It’s working in IE (which I hadn’t used before) and other sub-blogs are working in Firefox too. I tried deleting cookies to no avail, but I suspect it’s something along those lines.

    I dunno if admin ever cleans off empty threads, but I suspect my problem here was specific to me, so feel free if you do.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    We leave them alone for the next person ??

    EXCEPT when I try to go to https://testsite.com it always redirects to https://site.com

    What happens if you go to testsite.com/index.php?

    Thread Starter Shasta

    (@shastaw)

    Those were all fine, as well as all the https://user.testsite.com pages.

    It turned out the problem was with my browser. I threw out all the cookies, but I must have had that window open when I did it, because after I posted I closed everything in the browser, threw out cookies again, and it was fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘home redirects, other pages ok’ is closed to new replies.