Title: text-domain wrong directory
Last modified: November 17, 2016

---

# text-domain wrong directory

 *  Resolved [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/text-domain-wrong-directory/)
 * I am receiving the following error.
 * WARNING: Your theme appears to be in the wrong directory for the theme name. 
   The directory name must match the slug of the theme. This theme’s correct slug
   and text-domain is ten-to-ten. (If this is a child theme, you can ignore this
   error.)
 * My Theme Name is “Ten to Ten” but I’d like to name the theme directory “tentoten”.
   Is there anything I need to add to make this possible?
 * I notice “Twenty Sixteen” can have a directory of “twentysixteen” without that
   same error.
 * Any ideas?

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

 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [9 years, 5 months ago](https://wordpress.org/support/topic/text-domain-wrong-directory/#post-8492913)
 * > My Theme Name is “Ten to Ten” but I’d like to name the theme directory “tentoten”.
   > Is there anything I need to add to make this possible?
 * Can’t be done. You don’t get to choose the directory name, the directory name
   is automatically made based on the theme name. So “Ten To Ten” will have a directory
   name and text-domain of “ten-to-ten” in our systems, when the theme is submitted
   to the theme directory.
 * Default themes like the Twenty’s are special cases. They are the only ones that
   break this rule.
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/text-domain-wrong-directory/#post-8492931)
 * Thanks for this. Tbh, as it’s just a framework I’ve created for client’s sites
   and won’t ever be available on WordPress for download I think I’ll just keep 
   as is.
 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [9 years, 5 months ago](https://wordpress.org/support/topic/text-domain-wrong-directory/#post-8495108)
 * That’s fair enough. Theme Check is designed to give feedback based on the idea
   of submitting a theme to the directory.
 * However, note that you may want to make your theme names personalized in such
   a case. If somebody ever did submit a theme with the same name, then the update
   checker could get confused.
 * For custom themes for clients, I recommend either using your firm’s name in the
   theme, or the client’s name. So instead of “Themename” you would name it “Themename
   by greencode” or “Themename for Client-X”. This would effectively prevent this
   because now it has a name in your namespace. We’re not going to have a matching
   name in our systems.
 *  [svnarasimharao](https://wordpress.org/support/users/svnarasimharao/)
 * (@svnarasimharao)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/text-domain-wrong-directory/#post-8831126)
 * ur theme appears to be in the wrong directory for the theme name. The directory
   name must match the slug of the theme. This theme’s correct slug and text-domain
   is refresh.

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

The topic ‘text-domain wrong directory’ is closed to new replies.

 * ![](https://ps.w.org/theme-check/assets/icon-128x128.png?rev=972579)
 * [Theme Check](https://wordpress.org/plugins/theme-check/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/theme-check/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/theme-check/)
 * [Active Topics](https://wordpress.org/support/plugin/theme-check/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/theme-check/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/theme-check/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [svnarasimharao](https://wordpress.org/support/users/svnarasimharao/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/text-domain-wrong-directory/#post-8831126)
 * Status: resolved