Support » Plugin: Multiple Domain » Dashboard

  • Resolved fayded

    (@fayded)


    I used your plugin and entered in a value similar to example.com/secondsite, when I try to navigate to the example.com’s dashboard, it redirects me to example.com/secondsite and I can’t access the dashboard. I tried to delete the plugin and reinstall but the configuration remains and continues to redirect me to the new page. Are you supposed to enter in the original domain first and then the secondary domain afterwards in order for this to work correctly?

    Thanks,

    Kevin

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Gustavo Straube

    (@gustavostraube)

    Hi Kevin,

    The plugin shouldn’t mess with wp-admin URLs. You should be able to access yoursite.com/wp-admin without any redirects. Can you show me a screenshot of your current setup?

    BTW, to delete any remaining options from previous installations, you can run the following SQL query:

    SELECT * FROM wp_options WHERE option_name LIKE '%multiple-domain%';

    And then delete the records found.

    fayded

    (@fayded)

    How do you include a screenshot in this thread?

    Plugin Author Gustavo Straube

    (@gustavostraube)

    This forum doesn’t support image upload. You have to upload the image to an external service (Dropbox, Google Drive, Imgur etc.) and paste the link here.

    fayded

    (@fayded)

    https://biglittlecolorado.org/wp-content/uploads/2018/03/fix1.png
    https://biglittlecolorado.org/wp-content/uploads/2018/03/fix2.png

    In the first image is a screenshot of where I haven’t activated the plugin. Once I activate it, I am redirected to screenshot 2.

    Once I delete the plugin I am able to get back to my dashboard.

    Thanks.

    Plugin Author Gustavo Straube

    (@gustavostraube)

    Sorry, I wasn’t clear about what I need. By your current setup, I meant the Multiple Domain plugin settings. Mainly, the domains and their base path. I want to understand how you set it up to make sure it’s properly configured.

    fayded

    (@fayded)

    I can no longer access the plugin settings, after I activate the plugin I cannot get to anything in the dashboard. I do not currently have access to the database either to reset the previous installations. The only thing I remember is that I added https://biglittlecolorado.org/ and /pikespeak to the domain list at the bottom.

    – Kevin

    Plugin Author Gustavo Straube

    (@gustavostraube)

    Kevin,

    Do you have access to your theme files? If you do, please add the following lines to your functions.php file:

    delete_option('multiple-domain-domains');
    delete_option('multiple-domain-ignore-default-ports');

    This code must be added anywhere in between PHP tags, i.e. <?php and ?>.

    After adding this code and loading any page, remove it from your them and try re-installing the plugin. The old configuration should be gone by then.

    fayded

    (@fayded)

    That worked. Thank you.

    I am attempting to create a website that shows one set of data at the root url: https://biglittlecolorado.org/ and other other pages at https://biglittlecolorado.org/pikespeak. I have cloned the pages for each ‘site’ and there will be a toggle that shows the website for their chosen preference. Is that something this plugin is able to do?

    Do I need to create the base url first?
    https://biglittlecolorado.org/
    base path: ‘/’

    then create the one for pikespeak?
    https://biglittlecolorado.org/
    base path: ‘pikespeak’

    Thank you for your help.

    – Kevin

    Plugin Author Gustavo Straube

    (@gustavostraube)

    Unfortunately, this is not something this plugin is able to do. If you had two different domains, it’d work. But with a single domain, it won’t.

    Maybe you can do that with WP MultiSite (https://codex.wordpress.org/Create_A_Network), but I’m not sure.

    fayded

    (@fayded)

    Thank you for your help and restoring my original setup.

    – Kevin

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Dashboard’ is closed to new replies.