Print Page | Close Window

Eliminate Capitals in urls

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Suggestions
Forum Description: ProductCart Suggestions
URL: https://forum.productcart.com/forum_posts.asp?TID=157
Printed Date: 02-July-2024 at 11:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Eliminate Capitals in urls
Posted By: ledfish
Subject: Eliminate Capitals in urls
Date Posted: 28-March-2006 at 8:32pm

I'm not sure if this has been subsequently taken care of, but in some previous versions of productcart, some url reference contained capital letters in them. for example http://www.mysite.com/Productcart/pc/viewCat.asp - www.mysite.com/Productcart/pc/viewCat.asp .

The reason for this suggestion is that in unix, a url with Capitals in it and on without capitals are treated as the same url. With windows platforms.../Productcart/pc/.... and /productcart/pc/.... and ../ProductCart/pc/... are seen as total unique urls. Also Google is case sensitive and so they would see that the above three urls all have the same content and thus would penalize two of the three pages. However if this kind of thing is happening on a massive scale, they may just penalize not just these three, but all you pages.

It is best practice to make all urls lowercase.

 

 

 

 

 

 




Replies:
Posted By: ksbrzoz
Date Posted: 28-January-2007 at 11:17pm
I am having problems with the inconsistent use of capitals in the links and
files. I am getting 404 errors. My hosting company has a unix which is case
sensitive, and their suggestion was to put an .htaccess file with a directive,
but they would not give me details on how to do that. Has anyone used
a .htaccess file to help with the case sensitivity?


Posted By: ProductCart
Date Posted: 28-January-2007 at 11:56pm

ProductCart is not supported under UNIX or Linux.  Here are the server requirements:

Windows 2000/2003 Server
XML 3.0 parser installed (only required if you are using real-time UPS rate calculations)
Support for MS Access or MS SQL
Ability to set READ/WRITE/DELETE Folder Permissions FOR THE *EVERYONE* user

Please ask your hosting provider to switch you to a Windows server.



-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: ksbrzoz
Date Posted: 29-January-2007 at 8:07am
Well, supposedly the server runs a windows/Unix combination. After going
back and forth with them on verifying that they are compatible with
ProductCart or any Windows program, they said they were. I'll take it up
again with them.
Thanks


Posted By: NWilliams
Date Posted: 09-February-2007 at 4:45am
It wouldn't be all that difficult to use something like http://www.gnu.org/software/grep - Grep to just do a find&replace on the entire productcart directory and change filenames' references (and the filenames themselves) to lowercase.  If you wanted to be real lazy about it you should just convert EVERY character to lowercase.  If you're not actively editing asp then changing the casing on such a wide scale shouldn't impact you at all.  Mind you you'd have to do this after every update.  I'd just recommend swapping to a windows server.  Sounds like they've got you on unix with something like chillisoft.


Posted By: metalmania
Date Posted: 10-February-2007 at 9:22am

Originally posted by ledfish ledfish wrote:

With windows platforms.../Productcart/pc/.... and /productcart/pc/.... and ../ProductCart/pc/... are seen as total unique urls. Also Google is case sensitive...

Just had to clarify a couple of points.

Windows is NOT case sensitive - http://computing-dictionary.thefreedictionary.com/case%20sensitive - click here for info .

And neither is Google - http://www.google.com/help/basics.html - click here for more info  and see the Capitilisation info.

UNIX is case sensitive, but as pointed out ProductCart requires a windows platform.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net