Dumb SEO Questions

(Entry was posted by Don Sturgill on this post in the Dumb SEO Questions community on Facebook, Sunday, February 8, 2015).

301 in htaccess

Moving a site from page names that look like this: http://some____site.com/Home.html to WordPress and dropping the page.html ... (maybe a dozen pages), I understand the best way is .htaccess (from searching and watching this community), but when I search on how to do that I see different examples of how to write the 301s ... I tried one and it didn`t work. Any direction on how to get it done??

This question begins at 01:03:07 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 01:03:07
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions G+ community.

  • Don Sturgill: Moving a site from page names that look like this: ; to WordPress and dropping the page.html ... (maybe a dozen pages), I understand the best way is .htaccess (from searching and watching this community), but when I search on how to do that I see different examples of how to write the 301s ... I tried one and it didn't work. Any direction on how to get it done?
  • Randy Milanovic: Need 301 redirects and to set Permalinks to %postname%
  • Randy Milanovic: Install plugin: simple301
  • Don Sturgill: The buzz I hear, +, is that .htaccess is preferable. A plugin would certainly be simpler, but once the code is correct .htaccess is 24/7 no updates needed.
  • Randy Milanovic: It's wordpress. Why go all developer when it's a simple setting?
  • Don Sturgill: Amen, brother. Suits me. Purists swear by .htaccess. I just want to do the best job for my client.
  • Randy Milanovic: ^ screw the coders. Move on to marketing. ;-)
  • PromozSEO: Redirect 301 /old-page.html

    This should be the 301 redirection on .htaccess file.
  • E.Dieter Martin: .htaccess is always a bit tricky, but I certainly prefer it over a plugin. Here's a .htaccess testing site: add your file, enter a URL, see the resulting URL. ;
    
  • Don Sturgill: Thanks, guys. My consternation is that every article/tutorial on how to redirect via .htaccess shows a different rendition. I tried one ... and it broke the site. I've also tried the sites that write the rule for you. I'll check that testing solution, +. Maybe that will at least prevent further mishaps. ;
  • Don Sturgill: Thanks, + ;... I'll give that a whirl. Do I put each page on a separate line? Are there symbols to separate?
  • PromozSEO: Yes, +, you need to put each redirection on a separate line and that is the symbol to separate redirections. ;
  • Daniel Lloyd Barrett: Did you finally get your redirections working + ;? You didn't mention if both sites are on the same domain and in the same root folder. ;
  • Don Sturgill: Thanks for asking, +. I will be making the move later this week. I'm still not sure how to pull it off. Will try .htaccess first. The move will be on the same domain, same host. Right now, I have WordPress in a subdomain folder and the coded site in the root.
  • Daniel Lloyd Barrett: + ; htaccess should do the job ok.
    I used to have a domain with the same issues and I setup the htaccess and it worked a treat.
    I'll have a search to see if I still have the old file as an example for you.
  • Don Sturgill: Thank you, +. ;

View original question in the Dumb SEO Questions community on G+, Sunday, February 8, 2015).

Reference Links