Gotcha. Try adding the rewriteengine on line directly above those two rules. That has to be present to trigger the mod_rewrite module. Hopefully that will solve the issue.
- SEO and Digital Marketing Q&A Forum
- JasonCook
JasonCook
@JasonCook
Job Title: SEO & PPC Professional
Company: The Search Guy
Website Description
Just some musings on SEO and Inbound marketing.
Favorite Thing about SEO
I enjoy the near-constant evolution of SEO. What worked today may work more, less or not at all tomorrow. That can be frustrating. And it can be completely awesome.
Latest posts made by JasonCook
-
RE: Need some help with a tricky 301
-
RE: Need some help with a tricky 301
Well, that's no fun. If there is already a line to initiate the rewrite engine, that 2nd 'rewriteengine on' reference could be a problem. I assume you took that out?
-
RE: Need some help with a tricky 301
Hi Daniel - Are you using htaccess to handle your redirects. I think you'll need to employ some Regular Expressions to handle what you're trying to accomplish. As a guide, here is a very nice writeup on RegEx from - where else - SEOmoz: http://www.seomoz.org/blog/an-seos-guide-to-regex
so, in this case, i think what you'll want is:
RewriteEngine On
**RewriteRule ^widgets/?$ reviews/widgets [NC]**so, the caret (^) ensures that the url starts with widgets, while the dollar sign ensures that the redirect rule stops there (eliminating that pesky problem you encountered with the review pages also getting redirected). The ? just means that the trailing slash is optional.Hope that helps. If this solution isn't feasible, you could always hedge with rel="canonical" on the mydomain.com/widgets page and have that point to the proper page. That will at least help with Google.-Jason
-
RE: What is the best SEO friendly CMS platform?
Agree with Ryan - it sounds like Wordpress.org would be the right fit. I've used that on some personal sites and I've worked with Drupal on larger corporate sites. You would definitely need someone with intermediate, or higher, development skills to use a platform such as Drupal.
There are any number of plugins that you could use for Wordpress that will help manage key SEO fundamentals. I've found All In One SEO to be a pretty decent Wordpress plugin, FWIW. Good luck!
Best posts made by JasonCook
-
RE: Need some help with a tricky 301
Hi Daniel - Are you using htaccess to handle your redirects. I think you'll need to employ some Regular Expressions to handle what you're trying to accomplish. As a guide, here is a very nice writeup on RegEx from - where else - SEOmoz: http://www.seomoz.org/blog/an-seos-guide-to-regex
so, in this case, i think what you'll want is:
RewriteEngine On
**RewriteRule ^widgets/?$ reviews/widgets [NC]**so, the caret (^) ensures that the url starts with widgets, while the dollar sign ensures that the redirect rule stops there (eliminating that pesky problem you encountered with the review pages also getting redirected). The ? just means that the trailing slash is optional.Hope that helps. If this solution isn't feasible, you could always hedge with rel="canonical" on the mydomain.com/widgets page and have that point to the proper page. That will at least help with Google.-Jason
-
RE: What is the best SEO friendly CMS platform?
Agree with Ryan - it sounds like Wordpress.org would be the right fit. I've used that on some personal sites and I've worked with Drupal on larger corporate sites. You would definitely need someone with intermediate, or higher, development skills to use a platform such as Drupal.
There are any number of plugins that you could use for Wordpress that will help manage key SEO fundamentals. I've found All In One SEO to be a pretty decent Wordpress plugin, FWIW. Good luck!
I've been involved in online marketing for over 8 years now. In fact, I remember thinking how cool I was by building web content using html tables. Yeah, anyway. I've manged paid search accounts for most of those years and I've been knee-deep in SEO for nearly as long. There's also that social media stuff that I've been dabbling in for the last few years.