Title: 301 Redirect Code
Last modified: August 18, 2016

---

# 301 Redirect Code

 *  [jdalton](https://wordpress.org/support/users/jdalton/)
 * (@jdalton)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/301-redirect-code/)
 * Here’s my setup:
 * URL is [http://myblog.daltonsazhomes.com](http://myblog.daltonsazhomes.com)
    
   Working folder is [http://www.daltonsazhomes.com/blog](http://www.daltonsazhomes.com/blog)
 * I’m currently confusing the hell out of the search engines and I believe SERP
   would be smoother if everything pointed to the [http://www.daltonsazhomes.com/blog](http://www.daltonsazhomes.com/blog)–
   right now the engines are seeing two different url’s for my main site.
 * Does anyone have code for the .htaccess file (or to place elsewhere) that will
   redirect from the myblog.* URL to the actual folder?
 * Side note: the blog index can’t be called through the above folder … I need to
   add index.php at the end. Not sure if that’s a bug somewhere in the .htaccess
   or elsewhere.
 * Thanks!

The topic ‘301 Redirect Code’ is closed to new replies.

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [SERP](https://wordpress.org/support/topic-tag/serp/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jdalton](https://wordpress.org/support/users/jdalton/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/301-redirect-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
