Http to https redirect, multiple duplicates www&without, /&index.html/ the with the blog! + http&https
Author: Olga G.X5 makes home page /index.html by definition, creating two duplicate home pages. Blog with index and without index makes things even more complicated. So I have 301 redirects for both home page and the blog. It was creating problems with ranking all this year. Finally I had redirect which worked.
Then I applied SSL to my site visasuk.ru. And guess what? My website is Russian so two search engines are involved Google.ru and Yandex.ru. Both of them indexed 300 pages of my website.
I haven’t got that many which means that search engines indexed everything again: http://www.visasuk.ru, http://www.visasuk.ru/index.html, http://visasuk.ru, https://www.visasuk.ru, https://www.visasuk.ru/index.html, https://visasuk.ru - this is just the main page. And the same with the blog! https://visasuk.ru/blog/index.php, https://visasuk.ru/blog, http://visasuk.ru/blog/index.php, http://visasuk.ru/blog + the same with www.
What am I supposed to do? This index problem is entirely X5's. This is no such a problem with WP. I was battling index issues for a year instead of concentrating on other site related things.
Every time search engines detect duplicate content I have my ranks fall down.
I’m asking a moderator and an official from X5. What correct redirect should be to stop duplicate pages appear?
301 redirect that worked before:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php)\ HTTP/
RewriteRule ^(.*)index\.(php|html)$ http://visasuk.ru/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /blog/index\.(php)\ HTTPS/
RewriteRule ^(.*)index\.(php|html)$ http://visasuk.ru/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.visasuk.ru [NC]
RewriteRule ^(.*)$ http://visasuk.ru/$1 [R=301,L]
I added after applying SSL:
RewriteCond %{ENV:HTTPS} !on
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Should I add:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php)\ HTTP/
RewriteRule ^(.*)index\.(php|html)$ https://visasuk.ru/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /blog/index\.(php)\ HTTPS/
RewriteRule ^(.*)index\.(php|html)$ https://visasuk.ru/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^www.visasuk.ru [NC]
RewriteRule ^(.*)$ https://visasuk.ru/$1 [R=301,L]
Or should it be soothing completely different?
Hello Olga,
You need to ask this to the hosting provider support since it depends on the settings used on the hosting server to make a correct redirect in .htaccess according to the hosting setttings. This doesn't depends on WebSite X5 but on the hosting server since the program is not creating duplicates but based on the hosting settings the domain can be reached from different URLs.
Many thanks!
Author
Hello
They advised me to aks the developers of the program, i. e - you. Does this mean that you don't know how to battle the inedx issue ither? Thanks.
Author
Also somehow there multiple unexistent pages are created. If you look at them , you will know that it is impossible to do via X5. X5 creats pages on 2d level. There are no3d, 4th and so on levels are possible to creat with your programl.
Hello Olga,
We provide support only for functions inside the program and the .htaccess file depends on the hosting server and is not related to the program. Only the hosting support is able to tell you exactly on how to create the .htaccess file according to their hosting server settings.
Many thanks!