.htaccess file blocking me from my hosts control panel
-
I have the following scenario.
I have 2 htaccess files. One in the wordpress folder and one in the HTML folder of my server.
The html folder is where my wordpress folder is and my index.php file (theres also one index.php file in the wordpress folder)
I cant access my hosting providers control panel because it resides at https://www.mydomain/controlpanel.
They are telling me it’s because of the htaccess file redirecting to the site rather than their cpanel.
So my questions are, should my htaccess file be in the HTML folder or in the wordpress folder?
I am using the one in my html folder for redirects for old site links and there is the standard code per wp in it.
Do I need the one in the HTML folder or can I get rid of that one and copy the redirects to the one in the wordpress folder along with the standard wp code that exists? If so will my site still work properly and still retain the redirects?
If it matters,my site is setup under general as:
Wordpress url:https://www.mydomain.com/wordpress
Site Address (URL): https://www.mydomain.comI know when i mess with the htaccess file I need to go into my wp cpanel and reset things for the site to come back up.
I just want to make sure I don’t mess anything up.
Currently, I need to gain access to my host companies control panel so I need a fix for this, other than temporarily removing the htaccess file from the html folder everytime I need to access the cpanel.
Thanks,
iso
- The topic ‘.htaccess file blocking me from my hosts control panel’ is closed to new replies.