[Resolved] Cache for WordPress with multi domain setting

Status
Not open for further replies.

Mr_Parham

Well-Known Member
#1
Hi

I have an account for let's say test.com on my cpanel server which is running litespeed, there are 2 ways that my normal users can access this website

1- https://test.net
2- http://test.me

These two domains are addon domain which are set on public_html, The main domain which is test.com would only load wordpress if google try to fetch my website, else it would forward the user to test.me and the https://test.net would only load the website if using https else it would forward the request to test.me, now my issue is that when I try to enable the plugin it comes up with this error message

Unknown error encountered - No Action Taken.
Any idea how I can fix this issue?

Regards
 
Last edited by a moderator:

KevinFwu

Administrator
Staff member
#2
Hi Mr_Parham,

First, I would like to make sure I understand your situation correctly:
1. Your cpanel account is set up for test.com.
2. It is also set up for https://test.net and http://test.me
3. If a request is made for test.com, if the user is 'google', it will be handled by WordPress, else redirect to test.me.
4. If a request is made for test.net, if it is an https request, it will be handled by WordPress, else redirect to test.me.

Now if I understand correctly, you attempted to enable the plugin via the WHM plugin.
If this is correct, could you please try to enable the plugin via the WordPress admin panel? We'd like to figure out if it is our WordPress plugin that is the problem or if it is the WHM plugin.

Some additional information that could be useful:
1. Is WordPress installed in the same directory it is accessed in? e.g. test.com implies /public_html/ access. Is WordPress installed in /public_html/ or something else like /public_html/wordpress/?
2. Are you using the most up to date LSWS version?
3. Are you trying to install the most up to date WordPress Plugin? (1.0.11)

Thanks,
Kevin
 
Last edited by a moderator:

Mr_Parham

Well-Known Member
#3
Hi

Yes it's correct, I played around with my settings, if I remove all of the redirects from my wp-config.php file then I would be able to enable the website using whm, here is the code which I used in wp-config.php (the use is within an IF statement that check the request)

Code:
    //redirect(wd_new_url('http://' . $domain), 301);
    //exit;
I'm using the latest version of WordPress and Litespeed and the WordPress plugin. I tried enabling the plugin from WordPress and WHM both fail. any idea on how I can fix this?
 
Last edited by a moderator:

KevinFwu

Administrator
Staff member
#4
When you try enabling through WordPress with no changes to your configurations, what error do you get?

We may need to have access to your server to get to the root of the issue. If you are willing to share that information with us, please pm me the info.
 

Mr_Parham

Well-Known Member
#6
Just an update on this, Litespeed managed to help me solve this issue and I'm seeing great results, I attached a picture of how much the cache is serving now and how much I'm actually using my resources to process the page and display it to the user
 

Attachments

Status
Not open for further replies.
Top