Title: htaccess codes
Last modified: August 18, 2016

---

# htaccess codes

 *  [Marc](https://wordpress.org/support/users/marc/)
 * (@marc)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/htaccess-codes/)
 * Does anyone know what htaccess codes will direct visitors to a list of different
   names for your blog?
 * ie:
 * “yoursite.com”
    “yoursite.com/index.php”
 * And a related question. I have a second blog that runs on a sub-domain. I have
   not been able to get it to follow the correct URL format for a sub-domain.
 * At present the URL is “firstsite.com/secondsite.com/index.php”
 * What should the htaccess be to use the correct format?
 * ie “secondsite/firstsite.com/index.php/”
 * Thanks

The topic ‘htaccess codes’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Marc](https://wordpress.org/support/users/marc/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/htaccess-codes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
