kinchi Posted October 7, 2015 Share Posted October 7, 2015 hello,I have been tweaking my cubecart and I noticed the URL looks different then it did, its no longer purging the URL, its now ends in .htmlThis has me scratching my head, Im thinking maybe the .htaccess file got changed or something happened when I was in my cpanel, I set some directly listing rules and that might explain why its changed but I don't see anything wrong with itit use to say something like http://kinchi.ca/index.php?=pendantsbut now its showing .html extentions in the URL like its in a folder but there is no folder called /pendants ?http://kinchi.ca/pendents/kinchi-lockets.html has anyone seen this happen before? Im not experienced with this but I know somethings changed and I cant seem to figure what I didanyone know what I did? maybe someone can post the default .htaccess file cor CC6 maybe mine was modified by my cpanel and changed it.Thanks, Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 7, 2015 Share Posted October 7, 2015 CubeCart 6 insists on using "search-engine-friendly" URLs.Where, in CC5, this was optional, but the standard URL for CC5:www.example.com/index.php?_a=product&product_id=1And the SEO-style URL:www.example.com/automotive/steering-wheel-covers/real-mink.htmlCC6 insists on the SEO style.If you are running CC5, you may have enabled the SEO mode on the Store Settings, Search Engines tab. Quote Link to comment Share on other sites More sharing options...
kinchi Posted October 7, 2015 Author Share Posted October 7, 2015 hi bsmither, thanks again for your help , but I not sure I understand your answer,I could be wrong but it I think this started happening after I was cleaning up some log files & made changed some directory privacy settings (for an unrelated folder) in my cPanel is when I noticed the change to the url'sHere's an example of what I mean:I see my browser history has the following entry from yesterday (since I installed CC6)http://kinchi.ca/index.php?_a=certificatesthat link above works fine, and is the right format but now links are generated in the format likehttp://kinchi.ca/gift-certificates.htmlI looked at the search engine settings and it was set toAdd Category to URL: NOAdd Product to URL: NO Meta Data Behavior: Disabled how do I get it back to using this format URL (or disable Search Engine Friendly) http://kinchi.ca/index.php?_a=certificates thanks again:)Robert Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 7, 2015 Share Posted October 7, 2015 I see that the skin being used is Foundation, so I assume you are now running CubeCart v6.In CC6, the _a=certificates will certainly work forever, but over time, as you visit pages, your browser will increasingly use the newer /gift-certificates.html style of URL.In CC6, you cannot get away from this newer style. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 8, 2015 Share Posted October 8, 2015 In CC6, you cannot get away from this newer style.And why would you want to ? The SEO friendly style of urls are done that way as they are "More SEO Friendly!" Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 8, 2015 Share Posted October 8, 2015 CubeCart, Ltd. would reply that running CubeCart on any web server other than Apache is "unsupported", and rightly so, as CubeCart, Ltd. wouldn't want to be needing to be familiar with several, if not dozens, of web servers and how they get configured for URL rewriting.But, for those who choose to not run Apache (really, why would anyone choose to not run Apache, or be hosted by any company that does not run Apache???), or that one other web server that can read .htaccess files, it becomes then that person's responsibility to figure out how to get URL rewriting implemented.Until that happens, mandatory URL rewriting is a full stop obstacle to experimenting/developing with CC6. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.