Title: [an error occurred while processing this directive] Version 3.4.2
Last modified: August 20, 2016

---

# [an error occurred while processing this directive] Version 3.4.2

 *  Resolved [resurfacer](https://wordpress.org/support/users/resurfacer/)
 * (@resurfacer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/)
 * Hi all,
    I just transferred my WordPress site from one cPanel host to another
   cPanel host under the same domain name. I imported my database properly via phpMyAdmin
   and transferred all files and folders.
 * The home page of the website is shown properly.
    [http://www.kosmasglass.gr/](http://www.kosmasglass.gr/)
   However, when I go to any other page, i get the following error: [an error occurred
   while processing this directive]
 * I disabled all plugins, I created a new test page, I updated WordPress but I 
   still get the same error.
 * Can anyone help, please?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [resurfacer](https://wordpress.org/support/users/resurfacer/)
 * (@resurfacer)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/#post-3136689)
 * For some reason, after some minutes, the website works fine…
 *  [Jacob Gotwals](https://wordpress.org/support/users/jacob-gotwals/)
 * (@jacob-gotwals)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/#post-3137016)
 * I had the same problem after my web hosting company moved my account to a new
   server. On a hunch, I went into Settings/Permalinks, changed my permalink style
   to “Numeric”, clicked “Save Changes”, then changed my permalink style back to
   what it was before (“Post name”, in my case), and clicked “Save Changes” again.
   That solved the problem. I didn’t have to disable any plugins.
 * I think it has something to do with the .htaccess file (maybe permissions were
   set incorrectly and this resets the permissions?)
 *  [Jacob Gotwals](https://wordpress.org/support/users/jacob-gotwals/)
 * (@jacob-gotwals)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/#post-3137017)
 * I had some additional problems that resolved themselves after a short period 
   of time… perhaps the cause is DNS propagation delay?
 *  [YacineBaroudi](https://wordpress.org/support/users/yacinebaroudi/)
 * (@yacinebaroudi)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/#post-3137018)
 * Thanks a bunch Jacob for the permalinks tip. Had the same issue as resurfacer,
   worked like a charm.
 *  [Jason](https://wordpress.org/support/users/jasonjasoncollinsorg/)
 * (@jasonjasoncollinsorg)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/#post-3137030)
 * Changing the permalink style to something else, then back again, did the trick.
   Thanks Jacob.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[an error occurred while processing this directive] Version 3.4.2’ is
closed to new replies.

## Tags

 * [[an error occurred while processing this directive]](https://wordpress.org/support/topic-tag/an-error-occurred-while-processing-this-directive/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [Jason](https://wordpress.org/support/users/jasonjasoncollinsorg/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/an-error-occurred-while-processing-this-directive-version-342/#post-3137030)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
