Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 09-06-2012 20:28:30

Casimiro
Member
Registered: 01-25-2010
Posts: 175
Website

How to manually write in a url redirect in htaccess (with SEO enabled)

Hello.

I'm not sure how to properly do it anymore.  In V7 without SEO I'd type in the standard  redirect 301  "...shop/ecom-prodshow/..." but this doesn't seem to work for me in V8.  Can someone tell me what is the proper way?  I have a dead link that I need to redirect to a new category.

Thanks.

Offline

 

#2 09-06-2012 21:33:24

Aircut
Member
Registered: 09-22-2003
Posts: 235
Website

Re: How to manually write in a url redirect in htaccess (with SEO enabled)

follow the instructions here
http://wiki.kryptronic.com/CCP8SearchEngineOptimization

you just have change the code as instructed and voila, all your v7 links will remains operational and will point to the v8 links, you don't need to use 301 redirect

Offline

 

#3 09-07-2012 07:46:36

Casimiro
Member
Registered: 01-25-2010
Posts: 175
Website

Re: How to manually write in a url redirect in htaccess (with SEO enabled)

Thanks Aircut but this isn't what I am talking about.  I've implemented the SEO as per your link.

I am referring to the need to manually redirect a dead url to an active url.

Last edited by Casimiro (09-07-2012 07:46:54)

Offline

 

#4 09-07-2012 16:44:17

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19861
Website

Re: How to manually write in a url redirect in htaccess (with SEO enabled)

Old CCP7 links are automatically 301'ed to the new CCP8 format, if your item/category is still there and active.  I think you've probably deleted a category and want to 301 it somewhere else.  To do that, use (for a product):

Code:

RewriteRule ^Item/OLDSEOURL http://www.yourdomain.com/Item/NEWSEOURL [L,R=permanent]

Or, for a product for which you never set up an old SEO URL:

Code:

RewriteRule ^ecom-prodshow/OLDID\.html http://www.yourdomain.com/Item/NEWSEOURL [L,R=permanent]

Nick Hendler

Offline

 

#5 09-08-2012 13:15:20

Casimiro
Member
Registered: 01-25-2010
Posts: 175
Website

Re: How to manually write in a url redirect in htaccess (with SEO enabled)

Thanks Nick.  I tried to adapt your second formula to redirect a category but I still can't get it to work.

This is what I'm trying.  (The + sign is and empty space. I deleted and recreated this category in order to get rid of it.)

Code:

RewriteRule ^ecom-catshow/Burnout-Chemical_Free_Sunscreen+_Lip_Balms\.html http://www.brenditasbodyworks.com/shop/Category/Burnout-Chemical_Free_Sunscreen [L,R=permanent]

Last edited by Casimiro (09-08-2012 13:16:00)

Offline

 

#6 09-08-2012 15:02:11

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19861
Website

Re: How to manually write in a url redirect in htaccess (with SEO enabled)

You might need to escape the plus sign in order for it to work.  Ie:

\+

Try that.  Everything else looks good with it.


Nick Hendler

Offline

 

Board footer