InMotion Hosting Support Center

There have been quite a few instances where people cannot access certain areas of their WordPress after upgrading to 3.7.x, usually the Themes or Plugins sections. This behavior usually manifests as redirecting back to the main page of the site, though 404 pages have also been reported. Follow the instructions below as we demonstrate how to fix this for your WordPress site.

How to fix redirect from theme or plug-in sections

  1. First, log into your cPanel dashboard.
  2. Once logged into the cPanel, find the Files category and then look for the File Manager icon. Enter the File Manager choosing the Home Directory option. Also, be sure that the radio button option for Show hidden files (dotfiles) is selected as well, since the file we are going to edit is one of these types. Click on the Go button.
  3. This lists the files in the topmost directory of your account, also known as the Home Directory. From here, look for a file entitled .htaccess. If one is found, you will want to open the file for editing.
  4. Now that the file is open for editing, look for a line of code that looks like the following:
    AddHandler application/x-httpd-php52 .php
    After locating that specific line of code place a hash # at the very front of the line to comment it out so it does not run.
    #AddHandler application/x-httpd-php52 .php

    If you do not find the .htaccess file at the home directory level or see this line of code in the .htaccess file, look through the other folders such as public_html or other subdirectory folders for WordPress instances to see if there is one there. It is normally in the home directory or public_html folder, however.
  5. Once you have disabled the line of code, then click on the Save Changes button in the upper right corner of the screen to save the change. Now you can attempt to visit the areas of your WordPress site that were previously affected and they should now work properly.
Was this article helpful?
Continued Education in Course WordPress
You are viewing Section 25: 346: Fixing 3.7 redirect error in Wordpress
Section 24: 10 recommended steps to lock down and secure WordPress
Section 26: Changing a WordPress Theme in the Database

Related Questions

Here are a few questions related to this article that our customers have asked:
Wordpress 404 error within dashboard
Can Not Access Update or Plugin Menu in Wordpress
I am getting redirect loops on our site....
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved. Please click the button below to be redirected to the login page.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!