Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question on /product_info.php?products_id=444{3}15


altoid

Recommended Posts

Posted

I have noticed in Google Analytics search terms such as 444{3}15 being used on my site. As well in GA in products viewed I see this URL: mysite.com/product_info.php?products_id=444{3}15, which actually shows a product I have listed.

 

However when I come into the product via Catagories and locate that same product the URL is normal.

 

I am using Ultimate SEO URls and this URL is not modfied as other are.

 

I viewed the source for mysite.com/product_info.php?products_id=444{3}15 any kind of intrusion and nothing jumped out at me.

 

444 is the product id. I am not sure where the {3}15 came from.

 

Anyone have an idea what's going on here?

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Posted

It looks like a url from a product with attributes that has been added to your cart.They display incorrectly with UltimateSEO

 

Just check this on your site - add the product to the cart then hover over the link in the cart which goes back to the product page,or the link from the side column showing the product in your shopping cart.

 

The "{3}15" are the attributes options and values.

 

With UltimateSEO and other rewrite contributions the links from products with attributes are shown like this from the shopping cart.It's a bug,that's probably what you are seeing in GA ,that's all.

Posted

NOFOLLOW the shopping cart links to make sure you don't get hit for duplicate content if you have a lot of products with attributes.

 

Chris, I was able to duplicate the URL via the shopping cart link, I understand now where this comes from and that puts my mind at ease.

 

Regarding your NOFOLLOW suggestion, a follow up questgion please.

 

I have this in my robots.txt: Disallow: /shopping_cart.php

 

Is that sufficient or should I add something like

 

<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">

 

to my shopping_cart.php file as well?

 

I just read in another topic something similar and the suggestion was to put that between <head> and </head>.

 

I am running v2.2 RC2a by the way and thanks.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Posted

The jurys out on the best way,but I would add that to your shopping cart to try to stop any new pages with attributes getting indexed with the wrong URL.

 

Ideally a fix for the function that is creating the wrong urls and a 301 going to the correct page from those pages with the wrong urls already indexed would be the best way,but I couldn't help you there.

 

Also search for the contributions to prevent duplicates/canonical pages as oscommerce has many pages that have duplicate urls,but there are some fixes now.

Posted

The jurys out on the best way,but I would add that to your shopping cart to try to stop any new pages with attributes getting indexed with the wrong URL.

 

Ideally a fix for the function that is creating the wrong urls and a 301 going to the correct page from those pages with the wrong urls already indexed would be the best way,but I couldn't help you there.

 

Also search for the contributions to prevent duplicates/canonical pages as oscommerce has many pages that have duplicate urls,but there are some fixes now.

 

I am relieved that what I saw wasn't hack related. I am in the novice stage of learning PHP so I wasn't sure and that's why I posted in in the security forum. Probably should move it to another forum now, but I will work on what you recommended and thank you much.

I am not a professional webmaster or PHP coder by background or training but I will try to help as best I can.

I remember what it was like when I first started with osC. It can be overwhelming.

However, I strongly recommend considering hiring a professional for extensive site modifications, site cleaning, etc.

There are several good pros here on osCommerce. Look around, you'll figure out who they are.

Archived

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

×
×
  • Create New...