Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Lower Case fro SEO Friendly URL Links
Author « Topic »  

papawj
New Member

USA
60 Posts

Posted - 04/10/2018 :  10:19:19  
Is it possible to convert the proddetail seo friendly links to all lower case? I have products where the pname is like "Yellow Pencil " which I'd like to keep for the Page Title and H1 Tag. I'd would like the URL on the products.asp page to point to "yellow_pencil". I have already setup a URL Rewrite to enforce all lower case URLs but would like the links on the pages to reflect the Lower case links.

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 04/10/2018 :  11:27:29  
Hi Papawj, it depends on the host, if possible it would be done using a web.conf file

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

papawj
New Member

USA
60 Posts

Posted - 04/10/2018 :  11:30:45  
Hello Sinbad,
I have IIS 7. I have setup the web.config to force lowercase urls but the product links on the products pages are all showing Sentence case links. Could you point me in the right direction to add the necessary changes to web.config?

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 04/10/2018 :  11:58:53  
Hi if it is working on the detail links it should be working on all links as it would be a global directive .

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

papawj
New Member

USA
60 Posts

Posted - 04/10/2018 :  12:03:39  
Here's a sample; https://shop.spatables.com/products/clodagh-designed-spa-tables.asp

The Product links are all using both upper and lower case letters but when you click the link, the lower case link is enforced: https://shop.spatables.com/clodagh_virgo_flat_top

What I'm trying to do is make the Product Detail link appear as https://shop.spatables.com/clodagh_virgo_flat_top and not as https://shop.spatables.com/Clodagh_Virgo_Flat_Top .

Have to keep those web crawlers happy .

Edited by - papawj on 04/10/2018 12:04:19

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 04/10/2018 :  12:56:05  
Hi just doing a google search I came up with a few post

https://gist.github.com/gravitateseo/1980610

https://forums.iis.net/t/1237478.aspx?Redirect+Uppercase+URLs+to+Lowercase+in+web+config

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

papawj
New Member

USA
60 Posts

Posted - 04/10/2018 :  14:29:46  
I already have the rule in place. The issue is the URL that is being generated from the products.asp page is not impacted by that rule.

After much searching I figured it out.

I modified the following line of code in the incproductbody2.asp file and added a LCase() around the thedetailslink tag: startlink="<a class=""ectlink"" href="""&LCase(thedetailslink)&""">"

Guess I'll add that to a feature request so that the on-page links are can be generated in all lower case for SEO link optimization.

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 04/10/2018 :  14:38:21  
Hi I just clicked around and did see the urls on the category / product / proddetail page in upper case they were lower case. Have you try using a different browser or clearing the history/cache on your browser then browse the site.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

papawj
New Member

USA
60 Posts

Posted - 04/10/2018 :  15:06:09  
I hadn't pushed the changes up to the server. It's there now.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000