Title: .htaccess Inheritance?
Last modified: August 18, 2016

---

# .htaccess Inheritance?

 *  [elasticdog](https://wordpress.org/support/users/elasticdog/)
 * (@elasticdog)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/htaccess-inheritance/)
 * I’m having a weird .htaccess problem on my site that may or may not be WordPress
   related. Basically, I’m trying to use cruft-free URIs for my permalinks, and 
   completely separate from the blog itself, I’m using .htaccess to drop the www
   subdomain thus making my site “Class B” as defined by [http://no-www.org/](http://no-www.org/)
   so all of my traffic to [http://www.elasticdog.com](http://www.elasticdog.com)
   is silently redirected to [http://elasticdog.com](http://elasticdog.com)
    My .
   htaccess file to drop the www subdomain is located in the root folder of my site,
   but WordPress is installed under `elasticdog.com/wp/` and needs its own .htaccess
   file in order to get the permalinks working correctly. I can’t seem to get the
   two to work together…my redirects work everywhere on my current site, but if 
   I go to `http://www.elasticdog.com/wp/` the redirect to drop the subdomain no
   longer works. Admittedly, I don’t understand the whole .htaccess file thing too
   well, and know that I can re-write the rules by having another file in a child
   directory (as I have done) but do I have to go back and redefine the rules I 
   want to carry over from the parent directory in that file too? I guess I just
   need help on getting my own .htaccess rules working together with the ones that
   WP creates. Any help is much appreciated…

Viewing 1 replies (of 1 total)

 *  Thread Starter [elasticdog](https://wordpress.org/support/users/elasticdog/)
 * (@elasticdog)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/htaccess-inheritance/#post-82781)
 * Almost forgot…if you want to view my current .htaccess files, they are here: 
   [http://elasticdog.com/htaccess.txt](http://elasticdog.com/htaccess.txt) and 
   here: [http://elasticdog.com/wp/htaccess.txt](http://elasticdog.com/wp/htaccess.txt)

Viewing 1 replies (of 1 total)

The topic ‘.htaccess Inheritance?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [elasticdog](https://wordpress.org/support/users/elasticdog/)
 * Last activity: [21 years, 10 months ago](https://wordpress.org/support/topic/htaccess-inheritance/#post-82781)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
