Pages Redirecting (3 posts)

  1. Scranston
    Posted 2 years ago #

    I have a multisite install with one sub site set up as a sub domain.

    I don't think this is necessarily a multisite problem because things were working fine until I purchased an SSL Certificate and started mucking things up. Basically, I was trying to make all the pages on the whole site run securely. To achieve this, I ran a plugin called WordPress https. When this didn't do the trick entirely, I added some code to the functions.php file and this was the beginning of my headaches.

    Fast forward (after trying for 3 days to get the site back up - messing with the .htaccess file, trying a canonical redirect plugin, etc) to now: The main page is up and the main page for the sub site is up. I can access the admin panel, but when I try to edit certain areas, I am redirected to the home page. For example, if I go to pages and click on one, it redirects me to the home page.

    Help! Any thoughts or feedback on this??


  2. Curtiss Grymala
    Posted 2 years ago #

    Do you have a backup of your site's wp-content folder from before you made the changes to functions.php?

  3. Scranston
    Posted 2 years ago #

    Hey Curtiss-
    Thanks for your question.. I didn't have a very good backup system in place and it cost me a lot of time.

    I actually have rebuilt the entire site, and now I'm at the point where I need to secure it again.

    It is a multisite install with one main site and one sub domain, hosted on Godaddy with a Wildcard SSL / UCC certificate.

    I am trying to figure out the best way to secure the site. I need some redirect magic here:

    domain.com to		https://domain.com
    www.domain.com		https://www.domain.com
    sub.domain.com		https://sub.domain.com
    www.sub.domain.com	https://www.sub.domain.com
    all forward to the same urls only adding in https://

    Does anyone have any advice on the best way to do this?

    I have tried the plugin HTTPS, but last time, it seemed to cause some problems and I find it confusing.

    Thanks for any comments or suggestions!


Topic Closed

This topic has been closed to new replies.

About this Topic