Title: .htaccess Question
Last modified: August 30, 2016

---

# .htaccess Question

 *  Resolved [wadecourtney](https://wordpress.org/support/users/wadecourtney/)
 * (@wadecourtney)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/htaccess-question-13/)
 * Greetings,
 * I currently have wordpress installed on two servers that are load balances. The
   two wordpress instances run great.
 * The problem I’m having is that
 * when I use [http://www.pens.com/blog](http://www.pens.com/blog) I get a 404 error
   
   When I use [http://www.pens.com/blog/](http://www.pens.com/blog/) it works fine
 * Here is my .htaccess. If I want the url without the trailing slash to work is
   this the right configuration? What if I want them both to work?
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /blog/
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /blog/index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * Thanks and regards,
 * Wade

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

 *  [WisdmLabs](https://wordpress.org/support/users/wisdmlabs/)
 * (@wisdmlabs)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/htaccess-question-13/#post-6411013)
 * I think you need to make changes in your apache configuration file.
    changes 
   in .htaccess wont work.
 *  Thread Starter [wadecourtney](https://wordpress.org/support/users/wadecourtney/)
 * (@wadecourtney)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/htaccess-question-13/#post-6411017)
 * Thanks that’s what I was thinking.

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

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

## Tags

 * [404-error](https://wordpress.org/support/topic-tag/404-error/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [wadecourtney](https://wordpress.org/support/users/wadecourtney/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/htaccess-question-13/#post-6411017)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
