• Home
  • Get help
  • Ask a question
Last post 10 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67898
All time tickets 10495
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#2469 – Almost duplicated SEF urls

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 06 July 2016 06:17 UTC
fcdigital
 Hello,

I have problems because SH404 is generating almost duplicated SEF urls, plese see the first image. I got this:

estilos-de-cerveza-artesanal/stout
estilos-de-cerveza-artesanal/stout/

With and without /

Why?

How can I avoid this?


In the other hand, how can I remove unwanted duplicates? In the same example

estilos-de-cerveza-artesanal/stout/

Has 4 duplicates

How can I remove URL id=365 for example (see second image)

Thanks a lot, best regards
Wednesday, 06 July 2016 07:17 UTC
wb_weeblr
Hi

1 -
estilos-de-cerveza-artesanal/stout

estilos-de-cerveza-artesanal/stout/
Those are not duplicates (have you tried them??)

The first is a link to a product details page, the second is a link to a category page.


2 -
In the other hand, how can I remove unwanted duplicates? In the same example



estilos-de-cerveza-artesanal/stout/



Has 4 duplicates



How can I remove URL id=365 for example (see second image)

The problem here is not one of duplicates. The problem is that what seems to be different products (product id 238, 239, 295, 365, 371) have the same URL!
How is this possible? have you entered the same alias or product name for multiple products?
If you look at Virtuermart producst with id 238 and 239 for instance:
- what are they? what's their name, title, alias?
- are they all published?

Rgds
 
Wednesday, 06 July 2016 09:00 UTC
fcdigital
Hello,



1.


sure I had tried and this is crazy, first

estilos-de-cerveza-artesanal/stout

points to a a Category page
http://www.xxxx.mx/estilos-de-cerveza-artesanal/stout

That is OK

But estilos-de-cerveza-artesanal/stout/

goes to a Category paga, but UR shows some type of error:

http://www.xxxx.mx/estilos-de-cerveza-artesanal/stout?error=404


I dont understand why this very similar URL are created one with / the other without /


2

I know and that is the problem I have, ID 238 and 239 are old products, unpublished and I guess were generating a 404 error. But ID 365 and ID 371 are new products and definitely different name, alias, title, etc ... why it is happening? how can I avoid that? and how can I remove URLs for ID 365 and 371 from this duplicated list???

Best regards
Wednesday, 06 July 2016 09:29 UTC
wb_weeblr
Hi

I dont understand why this very similar URL are created one with / the other without /
As explained above, the URL with the / is a category, the one without is a product.

WIth and without / are 2 entirely different URLs, and are not duplicates at all, so that's not a problem in itself.

http://www.xxxx.mx/estilos-de-cerveza-artesanal/stout?error=404
This is not "some type of error". This is a 404 page by Virtuemart. Except it's not a real 404. It doesn't give a 404 error code, but instead does a redirect to another page, adding error=404 at the end of the URL. If you can find this feature in Virtuemart control panel, please disable it, it's a terrible thing to do from an SEO standpoint.

Now, this page does give a 404 because /estilos-de-cerveza-artesanal/stout/ is attached to the product page for product id=238, which, as you said has been removed/unpublished.

But ID 365 and ID 371 are new products and definitely different name, alias, title, etc
This is the real issue. I need to check on your parameters, both in sh404SEF and Virtuemart, to see why this is happening. Could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterwards, but it must have superuser level.

Thanks and regards
 
Wednesday, 06 July 2016 15:01 UTC
fcdigital
Sure, please access with this info:

user: xxxx
password: xxxx

And please tell me what I did wrong.

Regards
Thursday, 07 July 2016 07:30 UTC
wb_weeblr
Hi

Sorry, can't login with those credentials (Username and password do not match or you do not have an account yet)

Rgds
 
Thursday, 07 July 2016 23:57 UTC
fcdigital
Hi, sorry, here is the correct info:

url: http://www.xxxx.mx/administrator/
user: xxxx
password: xxxx


And please tell me what I did wrong.

Regards
Friday, 08 July 2016 17:13 UTC
wb_weeblr
Hi

So I am a bit confused now. I started to search for
[xxxx]
and then for "id=371":
[xxxx]

So in short, I cannot find the "estilos-de-cerveza-artesanal/stout/" URL, and so I can't see its non-sef counterpart. Currently, all URLs for product id= 371 looks normal and are not confused with that category page. I did the same with product id=365, with same result.

I think we have to wait to have the problem again.

Rgds
 
Friday, 08 July 2016 17:40 UTC
fcdigital
Thanks for your response.

As you suggested I disabled "Enable VirtueMart 404 error handling" option. That was before you logged in. Maybe that is why estilos-de-cerveza-artesanal/stout/ is not htere anymore.

I will check my site to find if there are any other errors.

Thanks!
Monday, 11 July 2016 11:21 UTC
wb_weeblr
Hi

I will leave this ticket open in case you need to add something. It will automatically close in 2 weeks, if not further comment is made.

Best regards
 
Friday, 15 July 2016 16:07 UTC
fcdigital
Hello,

the component is still generating wrong duplicates, please see image.

What is wrong here?

It is happenning, sometimes, when I add new products.

Regards
Friday, 15 July 2016 16:44 UTC
wb_weeblr
Hi

1- Have you deleted them? I can't find them anymore in the URL manager?

2 -
It is happenning, sometimes, when I add new products.
Have any of those products been unpublished before? or move around to/from other categories?
I have found that product id 233 () has duplicates, and is linked primarily from the Dunkel category, instead of its main "Amber Ale" category. Which should not cause this issue, but is weird nevertheless.

3 - Looking at the category 19, Amber Ale, I also noticed the following:

I have found these URLs:
estilos-de-cerveza-artesanal/amber-ale/results1-12
or
estilos-de-cerveza-artesanal/amber-ale/results1-24

However, the main category page is:
estilos-de-cerveza-artesanal/amber-ale/cerveceria-artesanal/

If I click on it, I go to the Amber Ale category. But if I try to visit:

estilos-de-cerveza-artesanal/amber-ale/cerveceria-artesanal/

I am redirected to estilos-de-cerveza-artesanal/amber-ale (without a trailing slash), and I also sees the same category.

So that's pretty strange. Does that ring any bell. Did you do anything at some point in time to that Amber Ale category (I can see you have 83 aliases to it)


To be honest, that screenshot is very puzzling, I have never seen anything like that. It's like VM router.php is building categories URLs for products. Right now, I don't see how this can be happening.

Please next time, don't delete them immediately. I would suggest that you take an Akeeba backup of the site before deleting them. I can then download that backup, install locally and investigate what's happening.

Rgds
 
Friday, 15 July 2016 17:07 UTC
fcdigital
Hello,

yes I had deleted it with duplicated URLs and now each product links to product page.

Ok I wiill check and send you a backup before deleting.

2. No, products were new products, not published before.

3. I dont know what to tell you about this point, I know I had a problem with URLs, but I dont know why. I have 3 similar sites, 1 of them seems to work fine, but xxxx and xxxx.mx have this kind of issues, and I found the problem when I installed this component. Maybe I have something missconfigured on the component, but I have been unable to find the issue.

4. I found another problem

http://www.xxxx.mx/cerveceria-artesanal/cervexxa-botellas/results1-24

Please click on Ceiba Imperial Stout, and this redirect to home page.

There was an error it was aliasing to another product, I deleted the product and created the new SEF URL

estilos-de-cerveza-artesanal/stout/ceiba-imperial-stout-cerveza-artesanal

But it points to home page.


Best regards




Friday, 15 July 2016 17:19 UTC
wb_weeblr
Hi


There was an error it was aliasing to another product, I deleted the product and created the new SEF URL
Wait, wait. What is this. What do you mean you "created the URL"?
You don't create URLs in sh404SEF, they are created automatically.

As for the redirect to home page, it's normal. You have an alias set to do that:
[xxxx]

There was a redirect from this URL to the product with id = 384 setup, but you deleted the product (I could not find it), so now the target URL is empty and goes to the homepage. Just delete the redirect.

Rgds
 
Saturday, 30 July 2016 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.