Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Anyone know how to fix a .htaccess

Status
Not open for further replies.
Joined
Mar 13, 2006
Posts
2,260
Reaction score
30
Hello

I've modified my old website, and now need to remove the phrase "cheap-products"

Some example url's

randomdomain.com/product-1000-cheap-products/
randomdomain.com/product-1001-cheap-products/
randomdomain.com/product-1002-cheap-products/

How do I make it so it will forward (seo wise) to the following

randomdomain.com/product-1000/
randomdomain.com/product-1001/
randomdomain.com/product-1002/

I'm guessing .htaccess is the quick way ahead,

Thanks in anticipation!Q
 
In your .htaccess file:

RedirectMatch 301 ^/product-(.*)\-cheap-products/ /product-$1/
 
How does Google take to these types of internal URL redirects from an seo point of view?
 
Roy, a properly formatted 301 redirect is advocated by Google, so they are fine.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom