Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

changing cpath from underscore to hyphen


steve_s

Recommended Posts

Hi,

 

Does anyone know how to go about changing the cpath in the url from say this 144_155 to this 144-155 underscores should not be used in urls now according to SEO

 

Thanks

Steve

Link to comment
Share on other sites

@@Steve_s,

 

It is not significant for Google for to analyze the page content, to interprete the cpath like 235 or like 2-35 (2[space]35). You should rather consider to use SEO URLs.

 

Source:

http://blog.woorank.com/2013/04/underscores-in-urls-why-are-they-not-recommended/#.Vcc7nvn508I

Google has clearly stated that when it comes to URL structure, using hyphens rather than underscores makes it much easier for them to identify what the page is about. Take a look at an excerpt below from the Google support blog on URL structure.
Google Claiming that Hyphens are Preferable to Underscores in URLs

Senior Google Engineer Matt Cutts clearly explains in this Google Webmaster Help Video about underscores in URLs that hyphens are used as word separators while underscores do not specify any function. 
Link to comment
Share on other sites

so in fact, in this particular case, underscore is preferred as the category ids are not words

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...