Post by jamesrocks33 » Tue Feb 07, 2012 12:26 pm

You can check duplicate content through copyscape.

Web Design


Newbie

Posts

Joined
Wed Feb 01, 2012 7:11 pm

Post by xl5 » Sun Apr 01, 2012 4:32 am

Hi Simon
I have looked in the file : catalog/controller/product/product.php and i do not see your code, i am using 1.4.9.1.
I have opened a new topic http://forum.opencart.com/viewtopic.php?f=20&t=57626and wondered if you had any ideas
:)

xl5
New member

Posts

Joined
Mon Jul 18, 2011 3:45 pm


Post by djdobro » Fri Jun 06, 2014 12:46 pm

I dont know if its too late or anything, but I was using the modified version of seo_url.php and every time I tried to add something to my basked from the homepage or category page, I got a mysql error.

Code: Select all

<b>Fatal error</b>:  Uncaught exception 'ErrorException' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
So i looked and saw this :

Code: Select all

....   oc_product_to_category AS pc
                  WHERE
                    pc.product_id=50; AND
                    pc.category_id=c.category_id ...
It adds a semicolon to the $value var (the product_id = 50, it should not have a ';' after 50). This is what I did to fix it

Code: Select all

$value = rtrim($value, ";");
Hope I have helped someone :)

Newbie

Posts

Joined
Fri Jun 06, 2014 12:42 pm

Post by ianbrindley » Tue Jul 08, 2014 10:31 pm

If this issue with sub categories not working as you think they should is still bothering you. Check out the link below.

http://stackoverflow.com/questions/1091 ... s#24634134

Newbie

Posts

Joined
Tue Jul 08, 2014 10:30 pm

Post by kumarsaurabh030 » Fri Sep 30, 2016 4:13 pm

i replace our code with your seo_url.php file. i used version 2.1.0.2. it works for me adding product category name in featured products url. before that my featured product url is"https://www.neevov.com/kids-black-round ... alf-sleeve" after using your file my url is"https://www.neevov.com/kids/kids-black- ... alf-sleeve" that fine but i got an error
Fatal error: Call to undefined method ControllerCommonSeoUrl::forward() in /..../...../public_html/vqmod/vqcache/vq2-catalog_controller_common_seo_url.php on line 139


so please tell me how to remove this error. as soon as possible.


Posts

Joined
Fri Sep 30, 2016 4:02 pm

Post by kumarsaurabh030 » Sat Oct 01, 2016 12:51 pm

i replace our code with your seo_url.php file. i used version 2.1.0.2. it works for me adding product category name in featured products url. before that my featured product url is"https://www.neevov.com/kids-black-round ... alf-sleeve" after using your file my url is"https://www.neevov.com/kids/kids-black- ... alf-sleeve" that fine but i got an error
Fatal error: Call to undefined method ControllerCommonSeoUrl::forward() in /..../...../public_html/vqmod/vqcache/vq2-catalog_controller_common_seo_url.php on line 139


so please tell me how to remove this error. as soon as possible.


Posts

Joined
Fri Sep 30, 2016 4:02 pm

Post by RideTheWave » Tue Jun 27, 2017 6:10 pm

combusus wrote:
Mon Aug 15, 2011 3:06 am
The quick fix is commenting out lines 12-18 and 39-45 in google_sitemap.php (catalog\controller\feed\google_base.php), this fixes the duplicate urls output by the sitemap - Combusus
Thanks for this, it still works six years later in OpenCart 2.3.0.2. Although I chose to comment out different lines, the sitemap is now only producing 1 url per product which is what I wanted (and I'm assuming this is better for the search engines?)

Although this fixes what's produced in the Google sitemap, does anyone think it will affect search engine ranking just the fact that a product can be reached via 3-4 different url's? Or do search engines like Google know better and know that shopping sites are going to have multiple url's and take that into account when deciding whether or not to penalize duplicate content?

New member

Posts

Joined
Fri May 19, 2017 8:29 am

Post by xtzfla » Fri Sep 01, 2017 11:14 pm

Hey there,
I have some weird bugs with seo url for categories.
I use ssl site.
When i add seo url for categories and open categories it works nice. But when i open products from that category i get html page without pics etc.
If i open products from home page everything working nice, only when i open from the seo category links are not working properly for products.
If i do not put category seo url everything is fine.
I wanted to have a nice sitemap with category named for google indexing.
Is there any solution to this issue?
Here is a link from a category named seo ”accesorii” and ”panou-reclama” is seo for product https://www.xtz.ro/accesorii/panou-reclama

Newbie

Posts

Joined
Sat Sep 10, 2016 4:24 pm
Who is online

Users browsing this forum: Ahrefs [Bot] and 24 guests