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.
Thread Starter
fayded
(@fayded)
How do you include a screenshot in this thread?
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.
Thread Starter
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.
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.
Thread Starter
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
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.
Thread Starter
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
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.ww.wp.xz.cn/Create_A_Network), but I’m not sure.
Thread Starter
fayded
(@fayded)
Thank you for your help and restoring my original setup.
– Kevin