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.
Nick I am working thru my installs now. I just turned on the seo option. It works well, only thing is now the urls look like http://www.udesignkitchens.com.au/store … plash.html
Whats with the /ccp0-display/ and also cant I tell that mod rewrite to make everything http://www.udesignkitchens.com.au/splash.html
Im going to need that for my other site as I have hundreds of pages spidered with everything at the root levels.
Thanx
Jason
Offline
Read here for SEO URL modification:
https://forum.kryptronic.com/viewtopic.php?id=15138
Offline
Hi Nick,
Tried to do the SEO option tonight and did the .htaccess you recommended but got a 500 Internal Server Error. I have left everything as per default when installing. Then couldn't access control panel (500 error), had kittens, deleted .htaccess, then got control panel back - started breathing again!
Help ?!?
Thank you.
Offline
Had kittens?
Your Apache server may not be configured to allow you to use a .htaccess file in your web directory. You may want to speak with your host about this. Mod_Rewrite may not be an enabled module, either. Or, you may have had a syntax error in your .htaccess file.
Your error_log may have answers as to why this was not working.
Offline
Hi Nick,
Thanks for that, Mod_rewrite was not enabled. Is now and all working fine. I have to say, the more I use the software the more I like it - damn fine piece of work, steep learning curve but worth the effort.
Having kittens? I guess you could say it is an english equivalent of blind panic!
Offline
I moved my installed cart from /ccp to / with no problems. Then I updated the ModwriteRule now the SEO is not working. The cart still works but the URLs are not the way they should be. SEO Status* is set to True.
Old Rule
RewriteRule ^ccp/(.*)-(.*)/(.*)\.html ccp/index.php?app=$1&ns=$2&ref=$3 [L,PT]
New Rule
RewriteRule ^(.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]
What sould the code be?
Here is the site:
Offline
See in the Wiki for the complete .htaccess for SEO.
Offline
That is were I took the new rule from and it does not work for me. Any ideas as how to get it to work?
Offline
I went back to my file and tried it with and without the / before index.php and it didn't make a difference, so now I guess the question would be is what changes did you make to get what you have now?
John
Offline
webmaster wrote:
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]
I did as the instructions are written above and my host assures me the apache mod_rewrite is enabled - I put the .htaccess.html file in the root directory of where my index home page is and i get this error message when I go to any of the items:
Not Found
The requested URL /khxc/ccp0-catshow/NW-Coast-Indian.html was not found on this server.
Apache/2.0.52 (Red Hat) Server at wwwnative-american-indian-silver-jewelry.com Port 80
--
The cart is at http://www.native-american-indian-silve … y.com/khxc
or site http://www.native-american-indian-silver-jewelry.com
Any ideas? Maybe it has something to do with my altering and using the skin.php?
Offline
Hi,
I have a question, if I am understanding it correctly, the .htaccess has to be under the domain the public CCP6 folder is in. If that is the case, what is one to do if the domain is already using a .htaccess file for a different purpose? Can we add the SEO info to the existing .htaccess file or...?
Thanks,
K
Offline
It has to be in the root of the site regardless of where CCP is actually installed. You may simply add the rules to an existing .htaccess file if one already exists. If the existing file has rewrite rules already there may be additional considerations.
Offline
Dave wrote:
It has to be in the root of the site regardless of where CCP is actually installed. You may simply add the rules to an existing .htaccess file if one already exists. If the existing file has rewrite rules already there may be additional considerations.
Hi Dave,
So, if my site is wwwmysite.com, I would be putting the .htaccess in the root directory of mysite.com correct.
One more question - after completing all the needed steps, how would I know that SEO is working on the site?
Thanks much,
K
Offline
dh783 wrote:
When you turn on the SEO if it is not working you will get an error when you try to access a page.
John
Hi John,
Great - so I guess it is working ;-)
Thank you much,
K
Offline
kgillespie wrote:
I put the .htaccess.html file in the root directory
kgillespie,
Did you literally name it with the .html extension? If so, then that's the problem. It needs to be named ".htaccess" - no .html on the end.
Kelly
Offline
Forgive my ignorance - I should have known that was what was wrong I actually had a .txt on the end not a .html but same difference needed to remove it and it works now. Thank You - It was late and my brain was clogged glad to have the extra help to see the easy fixes.
Karl
Offline