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 08-16-2009 08:21:39

jlercari
Member
Registered: 02-25-2009
Posts: 26

.htaccess and seo

I went searching for this answer and couldn't find it in the guide.

I already have a   .htaccess file in the root that covers some 301 redirects among other things.

Do I have to create another file for the seo in ccp7  or just add another line to the current one?

My assumption is that I'd just add another few lines but I thought I'd ask first.

Offline

 

#2 08-16-2009 08:23:28

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: .htaccess and seo

Simply add to what you already have.

Offline

 

#3 08-16-2009 08:44:15

jlercari
Member
Registered: 02-25-2009
Posts: 26

Re: .htaccess and seo

Dave,  thanks for the quick answer.

It now leads to the next question...........

After following the getting started guide and entering the info into the .htaccess file since ccp is in a directory named store

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^khxc/(.*)-(.*)/(.*)\.html store/index.php?app=$1&ns=$2&ref=$3 [L,PT]


I turned on the seo and now my urls are coming back as a 404

http://www.thememoriesplace.com/store/e … w/HDD.html


I'm not sure where the "ecom-catshow"  is coming from.............what did I miss?

Thanks

John

Offline

 

#4 08-16-2009 09:40:45

jlercari
Member
Registered: 02-25-2009
Posts: 26

Re: .htaccess and seo

Let me add that just about everything goes to a 404 page now.

http://www.thememoriesplace.com/store/c … ivacy.html

http://www.thememoriesplace.com/store/e … REseo.html


and on and on................any help would sure be appreciated.

Offline

 

#5 08-16-2009 10:31:05

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: .htaccess and seo

Since you have things in a directory named store any reference to khxc should be store instead.

RewriteRule ^store/(.*)-(.*)/(.*)\.html store/index.php?app=$1&ns=$2&ref=$3 [L,PT]

The ecom-catshow in the URLs is normal and expected with the basic SEO support that comes with CCP.  It's one of the keys to having the rewrite rule work correctly.

Offline

 

#6 08-16-2009 10:38:00

jlercari
Member
Registered: 02-25-2009
Posts: 26

Re: .htaccess and seo

Thanks again Dave..........worked like a charm.

Now I can go try and screw up the HDSEO mod

Offline

 

#7 08-16-2009 13:18:42

jlercari
Member
Registered: 02-25-2009
Posts: 26

Re: .htaccess and seo

Dave,

One thing I'm not clear on with the HDSEO............do we...

1.  remove the basic seo rewrite rule?

2.  add additional lines to it since we've already turned on the rewrite engine

3.  add the entire thing I see in the user manual ...........
Options +Follow
rewrite engine on
rewr etc

Offline

 

#8 08-16-2009 13:22:03

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: .htaccess and seo

You just add the HDSEO rules to your existing htacess file, leaving the basic seo rule in place (last rule). If you look at the instruction for HDSEO it goes like

HDSEO_rul > SEO_rul > Base_url

John

Offline

 

Board footer