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.
I have no clue how this works. Is there a link in khxc to turn this on?
Last edited by Thom (01-24-2007 08:35:48)
Offline
Yes. Here is a great excerpt from the manual on how it works:
The directions below are for installations on Apache webserver with mod_rewrite enabled. In order to use search engine friendly URLs with this software you need to first activate SEO under the settings menu: Kryptronic Hybrid X Core | Settings: Application Settings Menu | Search Engine Optimization Settings.
Choose to set the SEO Status to true. Once you’ve done that, create a text file named ‘.htaccess’ with the following contents:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]
The rules above assume you have installed the KHXC in a directory named ‘khxc’ in your root web directory (ie. http://www.yourdomain.com/khxc) and you have not changed the default frontend script name (index.php).
Assuming you changed the frontend script name to ‘zzz.php’ and the installation directory to ‘xxx’, your rewrite rules would be as follows:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^xxx/(.*)-(.*)/(.*)\.html xxx/zzz.php?app=$1&ns=$2&ref=$3 [L,PT]
If you activate SEO you should see your search engine rankings increase as a result.
Offline
Thank Nick, I was only looking in CCP6 pages and manual.
Did it and now I get the 404 error. I know that mod_rewrite is loaded. What next?
Offline
Thom wrote:
Thank Nick, I was only looking in CCP6 pages and manual.
Did it and now I get the 404 error. I know that mod_rewrite is loaded. What next?
Just went to your site at http://www.northstar3c.com/khxc/
Where did you put .htaccess file?? In webroot?? I see the 404 errors..
Maybe try this.. Place .htaccess file in /khnc/ directory.. Here is code.
Options +FollowSymLinks RewriteEngine on RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Last edited by Perkster (01-09-2007 23:05:09)
Offline
The .htaccess file should be built as I specified and should be in the web root. I'm not sure if it will work in a subdirectory. Concerning the 404, mod_rewrite may not be loaded in the Apache httpd.conf. Check with your host on that.
Offline
Thanks for your assistance. I had put the .htaccess file in /khxc not the root /. I added the specified lines to the .htaccess file and now it works.
Thanks again.
Offline
Hi-
How can I make it look like all of the pages come from the root level of the domain instead of in the /khxc folder ?
Instead of:
http://www.domainname.com/khxc/page.html
I'd like to get:
http://www.domainname.com/page.html
Thanks!
Offline
You have two options:
(1) RECOMMENDED: Eliminate your KHXC public directory and put the contents of that directory into your root directory. Rerun the installer if you do this to adjust the server paths, URLs and cookie paths, etc.
(2) Edit the file {PRIVATE}/core/KHXC/KHXC_Display/KHXC_Display.php. On line 885 you'll see:
$href_url = $url['base_href'] . '/';
Right after that, add:
$href_url = preg_replace('/\/khxc\/$/','/',$href_url);
I recommend the first option because if you use the second option and reload the codebase using the installer this change will be lost. If you go with either option, be aware your rewrite rules will need to be changed.
Offline
For those with 1and1.com Shared Hosting your code must be
Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^khxc/(.*)-(.*)/(.*)\.html khxc/index.php?app=$1&ns=$2&ref=$3 [L,PT]
Notice the parameter.
Dave
Last edited by davediamond (01-10-2007 14:06:56)
Offline
webmaster wrote:
You have two options:
(1) RECOMMENDED: Eliminate your KHXC public directory and put the contents of that directory into your root directory. Rerun the installer if you do this to adjust the server paths, URLs and cookie paths, etc.
That worked great !
I used the first method with this .htaccess file.
Options +FollowSymLinks RewriteEngine on RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Thanks for the tip!
Offline
Thom wrote:
Thanks for your assistance. I had put the .htaccess file in /khxc not the root /. I added the specified lines to the .htaccess file and now it works.
I thought that would work!
Offline
I am having a bit of trouble with this too. I created the .htaccess file and changed the directory to ccp51 since that's the directory where the cart is installed. I uploaded the .htaccess file to the root in the www folder - but am getting the 404 errors:
The requested URL /khxc/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
http://www.verybaby.com/ccp51/ccp0-display/splash.html
??
Edit: I've turned off the SEO in the admin so I can continue working on my pages. But I'm still having the problem when I turn it on.
Last edited by kiwimum (01-11-2007 20:58:48)
Offline
kiwimum wrote:
The requested URL /khxc/index.php was not found on this server.
Turn SEO back on in ccp60 admin
Place this code is ccp51 directory as .htaccess:
Options +FollowSymLinks RewriteEngine on RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
Make sure you paste this exactly and again put in your ccp51 directory
Take the lines of code out of your .htaccess file that is in webroot directory
That should work
Last edited by Perkster (01-11-2007 22:07:33)
Offline
If that doesn't work, put this in your .htaccess file in your root folder:
Options +FollowSymLinks RewriteEngine on RewriteRule ^ccp51/(.*)-(.*)/(.*)\.html ccp51/index.php?app=$1&ns=$2&ref=$3 [L,PT]
Offline
I installed KHXC today and have just turned on SEO and added the lines to htaccess. KHXC is installed in a default locations per instruction manual. I know Mod works as ATS SEO rewrites work for 5.1. I did do the update that was posted today as well.
I'm getting the following error - "The URL that you requested, /khxc/ccp0-display/storepolicies.html, could not be found. "
Nevermind, I figured it out. Just had to walk away for a bit.
Thank you,
RoxAnne
Last edited by roxie (01-13-2007 23:36:56)
Offline
Hi All,
I've been away for a awhile, so I probably missed it but is the SEO features that are built into v6 the same as the ATS SEO mod? Is it similar to the regular ats seo mod or the pro one?
Regards,
James...
Offline
I have read in a few places that having keywords in your url will give you much better google rankings. The ATS mod did this by including the product title in the url. I just turned on the SEO in CCP6 and noticed that it only puts the product # in the url. Is having the keyword in the url a myth, or is the CCP6 SEO missing something by not having the produce title in the url?
Thanks,
'm
Offline
meshugy, I hope you set it wrong because that would be pathetic
Offline
I'm pretty sure it's set right....here's a CCP6 SEO link:
http://www.fretobsession.com/ccp/ccp0-p … -400N.html
Just the product # at the end.
Here's an ATS link:
https://shoppingcart.djangobooks.com/it … uitar.html
Has the product name and product identifier.
Offline
With ATS the url's are too long by default, you need to make them shorter manually. I did a search on Bireli Lagrene in google and didn't find your website. For some reason google hates the double dash part --
I think something like this would be better:
https://shoppingcart.djangobooks.com/it … grene.html
or
https://shoppingcart.djangobooks.com/it … grene.html
I guess the only way it to use ATS's "SEO Page URL String" you can make your own url....
This would be nice in CCP6 so you can optimize your best products with great keywords in the url.
Just my $ .02
Last edited by v8power (01-19-2007 02:13:11)
Offline
It puts the product id you enter in the URL. If you would like your URLs with the product name in the URL, use the product name in your product id. Ie: Instead of GUIT0001, use Guitar-0001 as your product id.
Offline
Discussion on SEO continued here:
https://forum.kryptronic.com/viewtopic.php?id=15260
Offline