Title: bbspirit's Replies | WordPress.org

---

# bbspirit

  [  ](https://wordpress.org/support/users/bbspirit/)

 *   [Profile](https://wordpress.org/support/users/bbspirit/)
 *   [Topics Started](https://wordpress.org/support/users/bbspirit/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bbspirit/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bbspirit/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bbspirit/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bbspirit/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bbspirit/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Re-direct site URL](https://wordpress.org/support/topic/re-direct-site-url/)
 *  [bbspirit](https://wordpress.org/support/users/bbspirit/)
 * (@bbspirit)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/re-direct-site-url/#post-386785)
 * If someone cares, here how i solved the problem. I had to delete the htaccess
   in the wordpress folder and put this htaccess in my root. So both the root and
   the folder where wordpress is are redirected correctly to my www´s
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST}!
   ^www\.domain\.de$ RewriteRule ^(.*) [http://www.domain.de/$1](http://www.domain.de/$1)[
   R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-
   d RewriteRule ^blog/ /blog/index.php [L] </IfModule>
 * # END WordPress
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Re-direct site URL](https://wordpress.org/support/topic/re-direct-site-url/)
 *  [bbspirit](https://wordpress.org/support/users/bbspirit/)
 * (@bbspirit)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/re-direct-site-url/#post-386782)
 * Hello,
    i have a similar problem. I have the wordpress blog in an extra folder.
   Like this domain.com/blog/. I tried the redirect tips above and i gives me an
   Error 500. I have a normal website at *www.domain.com* and there a 301 redirect
   when someone uses domain.com to redirect to *www.domain.com*, and that works.
   But when i use domain.com/blog/ it does not work for that. Now i tried some different
   redirect tips i got in the blog htaccess, but nothing works. Can please somebody
   tell me exactly what to write in my htaccess to get it work? And please dont 
   just say put this there, i tried so much to put this there and nothing worked.
   Please when possible give me a complete example. Here is my htaccess file without
   changes i tried before, and thank you for your help.
 * `# BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/
   RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule./
   blog/index.php [L] </IfModule>
 * # END WordPress

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