WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
doubling of site paths issue with ver 3.3.5 (15 posts)

  1. sjlevy
    Member
    Posted 1 year ago #

    On pagination, edit, admin bar links, etc multisite paths are being duplicated when FORCE_SSL_ADMIN is enabled and WordPress HTTPS (SSL) ver 3.3.5 is activated

    For example:

    Pagination from this page:
    https://mysite.com/site1/wp-admin/edit.php?post_type=page

    Clicking on page 2:
    https://mysite.com/site1/site1/wp-admin/edit.php?post_type=page&paged=2

    Notice it is doubling up /site1/site1/ in the URL

    And another example, clicking Edit on a page:
    https://mysite.com/site1/site1/wp-admin/post.php?post=380&action=edit

    Started happening after updating to 3.3.5 - and only on the multisite that has this plugin enabled- disabling the plugin fixes the issue

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    I'm assuming you're using a folder install rather than a subdomain install?

  3. sjlevy
    Member
    Posted 1 year ago #

    The multisite is installed on a subdomain- but it's using folders for individual sites

    Sorry I should have included that in the example URL's:

    Multisite installation (root site) -> hello.mysite.com
    A site on the multisite -> hello.mysite.com/site1

    This doubling issue was an overall WordPress issue at one point:
    http://core.trac.wordpress.org/ticket/18034

    It was fixed in a patch- I believe they were using an old function and began using a new function instead-- maybe your plugin is still using the older function when rewriting links for HTTPS?

  4. jhagen
    Member
    Posted 1 year ago #

    I've experienced exactly the same problem since upgrading to WordPress HTTPS (SSL) ver 3.3.5 on a 3.4.2 multisite using folder for individual sites.

    If it's any help, when we implemented our WordPress multisite a few months ago, I think we must have installed HTTPS (SSL) ver 3.2.3. At that time, we experienced the same problem, i.e. the duplication of paths in URLs. When we upgraded to HTTPS (SSL) ver 3.3.0, the problem went away.

    If a solution is not forthcoming in ver 3.3.5 soon, can I download a copy of ver 3.3.0 somewhere and downgrade?

    BTW, I can't put a link to our site because it's still in development and not yet accessible.

  5. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    Could you try uninstalling and re-installing the plugin? I pushed out a hotfix I'm hoping will fix the issue. I don't want to have to push out another version, but if this doesn't fix it, I will.

  6. jhagen
    Member
    Posted 1 year ago #

    Uninstalling the plugin will delete data related to my approx. 20 existing individual sites (including some template sites), correct? If so, when I reinstall the plugin, will the https settings for these existing sites be messed up?

  7. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    Yes. If you don't want to lose your settings, delete the files via SSH/FTP and install it again through the Dashboard. Also, you could directly download the new version and upload it manually. That would probably be best.

  8. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    @sjlevy It's unrelated. The bug is in the plugin's output buffer processing which scans links and forms to secure them. It's just something I didn't take into account in the code and hopefully I've hotfixed. Re-download the current version and see if the issue persists. If it does, I will push out a new version that will definitely fix it.

  9. jhagen
    Member
    Posted 1 year ago #

    OK, will give manual upload a go and report back later.

  10. jhagen
    Member
    Posted 1 year ago #

    Manual upload almost did the trick.

    URLs of all sites are good again...but...I can no longer access the Network Admin Dashboard.

    Also, I notice that when I access the dashboard of an individual site, the path to its URL is "sticky" if I next try to access the Network Admin dashboard.

    For example, when I access the dashboard of an individual site, the URL might be:

    https://www.mysite.com/template-site/wp-admin

    If I next navigate to the Network Admin dashboard, the URL becomes...

    https://www.mysite.com/template-site/network/

    ...which of course is wrong

    And if I type in the URL manually, say....

    https://www.mysite.com/network/

    ...I get an "Error 404 - Page Not Found" error.

  11. jhagen
    Member
    Posted 1 year ago #

    Correct that last comment.

    I can access the Network Admin dashboard by manually typing its URL, eg.

    https://www.mysite.com/wp-admin/network

    But using the admin toolbar interface to navigate to the network admin dashboard, it directs me to the wrong address, as noted earlier.

  12. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    Argh. One line will fix that, haha. Could you manually upload it again and let me know if it's resolved?

  13. plymouthunitedorg
    Member
    Posted 1 year ago #

    I was having the same issue as above. Manually uninstalled and reinstalled just now. The first issue regarding links appears to be fixed, but now I am experiencing an issue with the dashboards for my different sites. After installing the plugin, all dashboard links for my other sites point to the page I'm currently on:

    https://www.mysite.com/wp-admin/network/plugins.php

  14. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    I'll have to do some more testing and get a new version out with fixes. Sorry about the trouble. You can downgrade to 3.3.0 from here if you're experiencing issues with multisite links in 3.3.5. I'll update the topic when I have a fix out.

  15. jhagen
    Member
    Posted 1 year ago #

    I've tried reinstalling again too but still have the same problem reported earlier, i.e. "using the admin toolbar interface to navigate to the network admin dashboard, it directs me to the wrong address, as noted earlier".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic