WebSite X5Help Center

 
Aleksej H.
Aleksej H.
Moderator

Url doubles  en

Autor: Aleksej H.
Visitado 2265, Seguidores 1, Compartilhado 0  

Hello. Program version - 16.2.1. Hosting - one.com. PHP version - 7.0. The site has a blog.

But blog entries are available at two addresses.For example:

http://alenakogotkova.com/blog/index.php?parmesan-ice-cream

http://alenakogotkova.com/blog/?parmesan-ice-cream

This resulted in a lot of duplicates.How to solve this problem?

Publicado em
13 RESPOSTAS - 1 CORRIGIR
Aleksej H.
Aleksej H.
Moderator
Autor

How to add a special meta description and meta title to blog pages?

Ler mais
Publicado em de Aleksej H.
Incomedia
Stefano G.
Incomedia

Hi Aleksej,

Since the pages are reachable through specific GET parameters, this should not prove troublesome for crawlers when analyzing your URLs. Are you getting a different result from some analysis tool? 

If so, it would be helpful if you could attach a screenshot of that here so that we might proceed to analyse the situation in the most complete way possible.

Please let me know here if you can provide this information to me

Thank you

Stefano

Ler mais
Publicado em de Stefano G.
Aleksej H.
Aleksej H.
Moderator
Autor
Aleksej H.
Aleksej H.
Moderator
Autor

Here is a more detailed list.

Ler mais
Publicado em de Aleksej H.
Aleksej H.
Aleksej H.
Moderator
Autor

I solved the problem with duplication index.php URL. I added this code in htaccess:


RewriteBase /
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L]

But during the analysis of the site, I identified another problem with duplication.URL address with lowercase and uppercase letters. For example:

http://alenakogotkova.com/blog/?tag=ai
http://alenakogotkova.com/blog/?tag=AI
http://alenakogotkova.com/blog/?tag=artisan
http://alenakogotkova.com/blog/?tag=Artisan
http://alenakogotkova.com/blog/?tag=david
http://alenakogotkova.com/blog/?tag=David

I could not find the right code for htaccess. Probably the reason in the parameters. More examples in the file. What should I do about it?

Ler mais
Publicado em de Aleksej H.
Aleksej H.
Aleksej H.
Moderator
Autor

In Google Search Console I found some more duplicates:

http://alenakogotkova.com/blog/?id=inio4pky

http://alenakogotkova.com/blog/?tag=Rodos%20Palladium

http://alenakogotkova.com/blog/?category=%D0%9D%D0%B5%D1%81%D0%BB%D0%B0%D0%B4%D0%BA%D0%B0%D1%8F_%D0%B2%D1%8B%D0%BF%D0%B5%D1%87%D0%BA%D0%B0

http://alenakogotkova.com/blog/?category=%D0%9D%D0%B5%D1%81%D0%BB%D0%B0%D0%B4%D0%BA%D0%B0%D1%8F+%D0%B2%D1%8B%D0%BF%D0%B5%D1%87%D0%BA%D0%B0

http://alenakogotkova.com/blog/?category=%D0%A0%D0%B8%D0%B7%D0%BE%D1%82%D1%82%D0%BE_%D0%B8_%D0%B1%D0%BB%D1%8E%D0%B4%D0%B0_%D0%B8%D0%B7_%D0%BA%D1%80%D1%83%D0%BF

http://alenakogotkova.com/blog/?category=%D0%A0%D0%B8%D0%B7%D0%BE%D1%82%D1%82%D0%BE+%D0%B8+%D0%B1%D0%BB%D1%8E%D0%B4%D0%B0+%D0%B8%D0%B7+%D0%BA%D1%80%D1%83%D0%BF

http://alenakogotkova.com/blog/?id=1tle5ih6

http://alenakogotkova.com/blog/index.php?tag=%D0%A0%D0%BE%D0%B6%D0%B4%D0%B5%D1%81%D1%82%D0%B2%D0%B5%D0%BD%D1%81%D0%BA%D0%B8%D0%B9%20%D0%BF%D1%83%D0%B4%D0%B8%D0%BD%D0%B3

For example. This is page of the "Несладкая выпечка" tag.

http://alenakogotkova.com/blog/?category=%D0%9D%D0%B5%D1%81%D0%BB%D0%B0%D0%B4%D0%BA%D0%B0%D1%8F_%D0%B2%D1%8B%D0%BF%D0%B5%D1%87%D0%BA%D0%B0in the browser it looks like this:http://alenakogotkova.com/blog/?category=Несладкая_выпечка

http://alenakogotkova.com/blog/?category=%D0%9D%D0%B5%D1%81%D0%BB%D0%B0%D0%B4%D0%BA%D0%B0%D1%8F+%D0%B2%D1%8B%D0%BF%D0%B5%D1%87%D0%BA%D0%B0in the browser it looks like this: http://alenakogotkova.com/blog/?category=Несладкая+выпечка

I could not set up a redirect in the file "htaccess". What should I do about it?

Ler mais
Publicado em de Aleksej H.
Incomedia
Stefano G.
Incomedia

Hi Aleksej.

As mentioned in my topic above, this does not represent an actual error to Google's search engine, nor for Yandex.

These particular warnings are simply displayed in order to show you that more URLs which might lead to the same content, present the same Title, and rightfully so. They are not negative for SEO nor for your website indexing. 

Since the ? parameters are used to present different content in a same page, there will always be duplicates, since the user can write whatever in those, in upper case and lower case.

Again, unless some analysis tool presents this as an actual error, which probably means that there is some kind of other issue involved, these are to be considered correct, since they work in the expected way without harm to your indexing.

Please keep me posted on this should there be any news on this

Thank you

Stefano

Ler mais
Publicado em de Stefano G.
Aleksej H.
Aleksej H.
Moderator
Autor

I was very surprised by your answer: "These particular warnings are simply displayed in order to show you that more URLs which might lead to the same content, present the same Title, and rightfully so. They are not negative for SEO nor for your website indexing.". Moz and Google write about what is not good.

Can you offer a specific solution to get rid of such duplicates?

http://alenakogotkova.com/blog/?tag=ai
http://alenakogotkova.com/blog/?tag=AI
http://alenakogotkova.com/blog/?tag=artisan
http://alenakogotkova.com/blog/?tag=Artisan
http://alenakogotkova.com/blog/?tag=david
http://alenakogotkova.com/blog/?tag=David

and

http://alenakogotkova.com/blog/?category=%D0%9D%D0%B5%D1%81%D0%BB%D0%B0%D0%B4%D0%BA%D0%B0%D1%8F_%D0%B2%D1%8B%D0%BF%D0%B5%D1%87%D0%BA%D0%B0in the browser it looks like this:http://alenakogotkova.com/blog/?category=Несладкая_выпечка

http://alenakogotkova.com/blog/?category=%D0%9D%D0%B5%D1%81%D0%BB%D0%B0%D0%B4%D0%BA%D0%B0%D1%8F+%D0%B2%D1%8B%D0%BF%D0%B5%D1%87%D0%BA%D0%B0in the browser it looks like this: http://alenakogotkova.com/blog/?category=Несладкая+выпечка

Ler mais
Publicado em de Aleksej H.
Incomedia
Stefano G.
Incomedia

Hi Aleksej,

I believe you should be able to get rid of Uppercase and Lowercase duplicated by making use of specific rules in .htaccess again like you did for the index.php. This should redirect your users to the lowercase version of the page, always.

Since this is still considered Third party code, the Staff cannot offer support for that, but I suggest you either contact a professional directly for this, or eventually look it up only, so that you might solve this as quickly as possible.

https://www.askapache.com/htaccess/rewrite-uppercase-lowercase/

Let me know if I can provide further insight on this

Thank you

Stefano

Ler mais
Publicado em de Stefano G.
Aleksej H.
Aleksej H.
Moderator
Autor

Thanks for the answer.The question is closed.

Ler mais
Publicado em de Aleksej H.