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 04-03-2007 16:29:58

jbounds
Member
From: UK
Registered: 11-25-2004
Posts: 50
Website

SEO & .htaccess problem need help please

hi guys, can you please help. I have no KHXC folder in my server, the ccp6 software was installed by Howard so the folders i have are these

ccp6-private/
logs/
web/

inside the web folder is the folder for ccp6 and inside this folder is the index.php

how do i need to write the .htaccess file, i presume i just write it as a notepad document and name it .htaccess, any help would be appreciated, i'm also using an apache server that doesn't seem to use .htaccess at it's fullest and they recommend zeus rewrite rules, however if any one can help me write the .htaccess file, i can then atleast show namesco and let them figure out the zeus alternative.

i guess this is the text i need to start with ???

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

any help always appreciated

Jas....


Click here to purchase all your favorite decals

Offline

 

#2 04-04-2007 05:42:36

qmstores
Member
From: United Kingdom
Registered: 07-19-2005
Posts: 354
Website

Re: SEO & .htaccess problem need help please

If your /web folder is mapped to http://yourdomain/ and your ccp6 folder is within this, then that last Rewrite line should be RewriteRule ^/(.*)-(.*)/(.*)\.html /ccp6/index.php?app=$1&ns=$2&ref=$3 [L,PT]

I think...though of course that depends on your host supporting at least that function smile

I have a similar set-up and my .htaccess looks like this

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^cat--(.*)--(.*)\.html /ccp6/index.php?app=gbu0&ns=catshow&ref=$2
RewriteRule ^item--(.*)--(.*)\.html /ccp6/index.php?app=gbu0&ns=prodshow&ref=$2
RewriteRule ^page--(.*)\.html /ccp6/index.php
RewriteRule ^store /ccp6/index.php?app=gbu0&ns=splash&ref=KHXCseo
RewriteRule ^splash /ccp6/index.php?app=gbu0&ns=display&ref=splash
RewriteRule ^sitemap.xml$ /cgi-bin/cp-app.cgi?pg=ste_sitemap_proc
RewriteRule ^$ /ccp6/index.php
RewriteRule ^ccp6/(.*)-(.*)/(.*)\.html /ccp6/index.php?app=$1&ns=$2&ref=$3
RewriteRule ^/(.*)-(.*)/(.*)\.html /ccp6/index.php?app=$1&ns=$2&ref=$3
RewriteRule ^search/(.*)\.html /ccp6/index.php?app=gbu0&ns=prodsearchp&gbu0--prodsearch--string=$1
RewriteRule ^cgi-bin/(.*) /ccp6/index.php


Ignore the ^cat-- ^item-- ^page-- and ^sitemap lines as these are 'fixes' which I use to ensure my ATS SEO links still work.

Last edited by qmstores (04-04-2007 05:46:09)

Offline

 

#3 04-04-2007 12:07:48

jbounds
Member
From: UK
Registered: 11-25-2004
Posts: 50
Website

Re: SEO & .htaccess problem need help please

Thanks for that qmstores i appreciate it.

Apache servers that don't support full .htaccess are a pain in the ass but atleast i can now contact them to allow then to do the zeus rewrite.
just one further question, if i was able to allow the .htaccess based on my above folders on my server... i presume the .htaccess file would have to be uploaded to the root ie: the main place where i can see the web folder ?

kind regards

Jas....

Last edited by jbounds (04-04-2007 12:09:01)


Click here to purchase all your favorite decals

Offline

 

#4 04-04-2007 12:47:06

qmstores
Member
From: United Kingdom
Registered: 07-19-2005
Posts: 354
Website

Re: SEO & .htaccess problem need help please

I think .htaccess must be placed in the root folder of your visible website. So, if http://yourdomain/ maps to a folder in your hosted space called /web then .htaccess should be in this folder.

Offline

 

#5 04-04-2007 12:58:09

jbounds
Member
From: UK
Registered: 11-25-2004
Posts: 50
Website

Re: SEO & .htaccess problem need help please

Hi qmstores

Thanks for that, i did try it and i'm still getting a 404 error

I have emailed namesco who provide my server to ask them if they can convert

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

in to a zeus rewrite

we'll see what they say, if however they are willing to help, i will gladly post the zeus code and instructions here for others who may need it in the future, apparently i am not able to use .htaccess i can only use a file called a rewrite.script so we'll see.

however thank you for your time in replying

Kind Regards
Jas...


Click here to purchase all your favorite decals

Offline

 

#6 04-05-2007 01:37:35

jbounds
Member
From: UK
Registered: 11-25-2004
Posts: 50
Website

Re: SEO & .htaccess problem need help please

Just an update

I contacted namesco about the rewrite rules and this is their reply

"Thankyou for contacting Namesco.

Unfortunately we do not support the mod_rewrite directive. This is an Apache directive, and will not run under our webservers, which run the Zeus webserver software.

If you require an Apache webserver with its related technologies, then you will need to upgrade your hosting package from shared to a VPS (Virtual Private Server) or a Dedicated Server."

so looks like the £19.99 a month i pay for my businesshost+ server is a waste of money.

can anyone recomend a server rental company that will work ??

Jas...


Click here to purchase all your favorite decals

Offline

 

#7 04-05-2007 05:43:56

Litemaster
Member
From: Plymouth, Devon, UK
Registered: 12-03-2005
Posts: 147
Website

Re: SEO & .htaccess problem need help please

We provide a low cost hosting service that is CCP6 Compliant.

Our basic service is £25.00 for 3 months or £75.00 per year and for people that have problems setting up the basic CCP6 cart we will do it for you free of charge.

You can PM me or send a private email if you would like more details of our service.

Mike Simpson
wwwdjshopper.net

Offline

 

#8 01-29-2008 08:33:12

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

Re: SEO & .htaccess problem need help please

See the bottom of  in the Wiki for the rule required for the Zeus web server.

Offline

 

Board footer