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
Forum Search
Google Site Search
 All Forums
 General
 Suggestions - NOT QUESTIONS
 seoName for SEO friendly URLs
Author « Topic »  

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 06/05/2020 :  04:30:35  
I often work on sites that have dimensions in the product name: 1-1/4" diameter or 1-1/2" diameter and, as is known, a forward slash does not work with the SEO friendly URL feature. Options are limited to removing the dimension or making it 1.25" diameter or 1.5" diameter. However, people are use to seeing the fraction 1/4 or 1/2 and not a decimal fraction. And eliminating the dimension altogether makes a quick comparison of the product by product name for the site visitor near impossible.

It would be nice to have a field in addition to the pName field, like seoName, where you enter a SEO URL friendly name for the SEO friendly URL feature, one where you can eliminate any illegal or questionable characters. Then the cart would have a simple if statement where if seoName=!"", SEO URL=seoName, else SEO URL=pName (you get the point).

In the end, the pName can remain customer (and order invoice) friendly and the seoName would be URL friendly.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

ITZAP
Ecommerce Template Guru

Australia
1018 Posts

Posted - 06/05/2020 :  05:41:08  
Hi Marshall,
You can use the “Has Static URL” field to overcome that problem; any Prod Name containing dash, full stop, decimal point, forward slash. For example, just type in ...

Has Static URL: steel tube one and one quarter inch diameter 150cm length

$detlinkspacechar="-"; adds the dashes in that URL.

Uppercase, Lowercase, Numbers all permitted in Has Static URL

The <title>Page Title</title> and <h1>Product Name</h1> can then remain as entered with any special characters you like:

Prod Name: Steel Tube 1-1/4” diameter, 1.5 metre length

Gary

Edited by - ITZAP on 06/05/2020 19:41:06

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 06/05/2020 :  05:53:06  
I presume you still have to do this?

$seodetailurls=TRUE;
$detlinkspacechar="-";
$seourlsthrow301=TRUE;

And

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) proddetail.php?prod=$1 [QSA,nc,L,B]
</IfModule>

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Edited by - Marshall on 06/05/2020 06:04:01

ITZAP
Ecommerce Template Guru

Australia
1018 Posts

Posted - 06/05/2020 :  19:31:28  
Yes, together with the other search engine friendly URL advice given on the ECT Help page here >>

Gary

Marshall
Ecommerce Template Guru

USA
1909 Posts

Posted - 06/05/2020 :  21:53:39  
Thanks Gary. Much appreciated.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com
  « 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