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
 Technical
 PHP (Unix / Linux / Apache) versions
 Facebook and title description urls not working
Author « Topic »  

steven vaccaro
Ecommerce Template Guru

USA
1060 Posts

Posted - 12/22/2019 :  20:16:25  
I just switched from prod Id urls to title description urls.
Now when I try to link using the title url in Facebook the pictures are not being fetched and sometimes the links are not working.
Anyone have any hints to what I'm doing wrong?

Here is an example.
https://www.offshoreelectrics.com/proddetail.php?prod=Roll+of+Hatch+Tape+%281.5"%29

ITZAP
Ecommerce Template Guru

Australia
1018 Posts

Posted - 12/23/2019 :  04:07:00  
There are certain characters that are Forbidden in a URL, like ...

as in 1” is forbidden. 1 inch is fine.

Read more about unsafe characters you cannot use in URL’s
You have quickly discovered the limitations of SEO friendly URL’s.

When Facebook scrapes a page URL for the very first time, it only looks at/requests part of the content, returning a “HTTP response code 206”. Thus it generally does not gather the og:image filename the first time. Yes, that is very strange, but if you run some URL’s through the Facebook Debugger Tool take note that is exactly what happens.

If you then click the “Scrape Again” button ... Voila ... Now you see the proper result with og:image displayed.

Gary

Edited by - ITZAP on 12/23/2019 04:09:58

ITZAP
Ecommerce Template Guru

Australia
1018 Posts

Posted - 12/23/2019 :  04:39:01  
When switching to the SEO Friendly URL’s, there is one small change that needs to be made to dynamic code that prints the <canonical> and og:url entries.
Look at this topic here and read the second post.

Gary

steven vaccaro
Ecommerce Template Guru

USA
1060 Posts

Posted - 12/23/2019 :  06:09:38  
Thanks Gary. I swapped from TRUE to FALSE and Im still getting the same urls. Is there something else I can look into?

ITZAP
Ecommerce Template Guru

Australia
1018 Posts

Posted - 12/23/2019 :  06:44:17  
Switching TRUE to FALSE fixes the canonical and og:url lines in the source code. (check that)
You will get the same URL
Cannot use certain characters in the Product Name.

Roll of Hatch Tape (1”)
Roll of Hatch Tape (1.5”)

Cannot use “ character.

Gary

steven vaccaro
Ecommerce Template Guru

USA
1060 Posts

Posted - 12/23/2019 :  06:46:06  
Thanks Gary. I switched back to prod id for now. until I can check the titles.
  « 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