elegant themes

Hebrew Installation, UTF-8 and Sufficient Permission in WordPress

| May 2, 2010 | 4 Comments

I just published a Hebrew website with a Hebrew installation of WordPress. I first built the site locally, and then moved the database over to the client’s site.  When I tried to log in, I got this beauty of an error “You do not have sufficient permissions to access this page” in Hebrew, of course.

The advice I found in the WP Support Forums were mostly related to WP Database Prefixes.  I had changed the prefixes, so I thought this was the problem.

But, after numerous exports, imports, and hair pulling, I started reviewing everything I had done during the database transfer. And, I remembered a very tiny detail.  The  UTF-8 tag in the wp-config.php file.

Before moving the database over, I modified the wp-config file and removed the UTF-8 tag. BIG MISTAKE. You only need to remove the UTF-8 code to get Hebrew to work on an English installation of WordPress.  Since this time it was  a Hebrew installation, I didn’t need to remove the UTF-8 tag.  And, like magic, once I put the tag back in, I had sufficient permission to enter the site and be on my jolly way. Thank Goodness!

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Tags: , ,

Category: Tips

About Rebecca Markowitz: Rebecca Markowitz has built over 50 WordPress sites for clients as Web Project Manager and WordPress specialist at illuminea. illuminea is a Jerusalem-based boutique web agency. WPGarage shows my dedicated relationship with WordPress over the years - full of love, laughs, tears, growth and strong drinks. L'chaim! View author profile.

Elegant WP Themes

Comments (4)

Trackback URL | Comments RSS Feed

  1. yosh says:

    Why do you need to remove the UTF-8 tag for Hebrew on English-Wordpress? I write Hebrew in English installations and fix directions with CSS. It works fine.
     

    • Rebecca says:

      Yosh, maybe you’ve had better luck than me. Every time I try to add Hebrew to an English installation, I always get question marks.

  2. yosh says:

    Rebecca, what fonts do you use for Hebrew? You should use unicode fonts that have Hebrew characters (e.g.: Arial, Tahoma, etc. )

  3. I noticed that the default in the configs.php is UTF8 — it should be UTF-8. That little dash is non-trivial.

Leave a Reply




If you want a picture to show with your comment, go get a Gravatar.

More in Tips (17 of 85 articles)