This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Not WPML issue
This topic contains 24 replies, has 2 voices.
Last updated by Andreas 1 year, 9 months ago.
Assisted by: Andreas.
Author | Posts |
---|---|
February 15, 2023 at 11:46 am #13039531 | |
Andreas |
Thank you very much for your efforts we will continue in order to find it. It seems that it is not your case, but may I ask you to test this solution? https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/ Please share the results Regards, |
February 15, 2023 at 8:44 pm #13043827 | |
staffanS-2 |
I applied the code to the functions.php and no change in the behaviour. The code is now removed. This is information from my webprovider if it helps: With hidden link curl -IL hidden link HTTP/1.1 301 Moved Permanently x-redirect-by: WordPress date: Wed, 15 Feb 2023 10:52:47 GMT With butong.fr curl -IL butong.fr HTTP/1.1 301 Moved Permanently x-redirect-by: WordPress date: Wed, 15 Feb 2023 10:56:27 GMT |
February 16, 2023 at 9:45 am #13047043 | |
Andreas |
Thank you very much for the reply. I would need a site snapshot if possible. If you already know how Duplicator works ★ Duplicator Instructions Send me both files (you probably want to use DropBox, Google Drive, or similar services, as the snapshot file will be quite big) ❌ IMPORTANT ❌ I will enable your next answer as private so you can provide me the information securely. Regards, |
February 20, 2023 at 4:18 pm #13072271 | |
Andreas |
Thank you very much for your access. I took the duplicator and installed it in our own server. The only thing I changed was the domain name, because I added some fake one. As you can see from the image I am attcching visiting domain in DE ( biz ) is not make any kind of redirection . The status code is 200. So I would suggest to check again in your server and see if there is something that is causing this to you. If you need further help or check the site in our own server , I can share with you access in backennd of WordPress I can share it in a private reply. Regards, |
February 20, 2023 at 4:40 pm #13072511 | |
staffanS-2 |
I'm not so sure that you can replicate the issue this way since you probably can't use the adress with www and without. Without www I'm not redirected either. If you can't do anything else I thank you for your effort, my webhosting company still say's there's no redirection bellow wordpress level. Take care // Jonas |
February 21, 2023 at 11:07 am #13078149 | |
Andreas |
Thank you very much for your kind words. I am trying to share here all my knowledge to help you understand where the problem is coming from. It is out of my scope to give you support out of wpml but I would like to help you. Since you are telling me about redirection, let me share you something else. Visiting hidden link also redirects to hidden link. It means that you set what is the default domain ( without www ) and what the server should do if someone is adding www in the url. Since the main domain HOST_NAME is one (butong.se) the redirection is always to the HOST_NAME even if you add the alias of the main domain. Now in the Web Servers, there is an option for handing the requests for www and without www. Some of those settings are producing 301 redirections. I hope this makes more clear things to you. Regards, |
February 21, 2023 at 12:00 pm #13078675 | |
staffanS-2 |
Thank you, and when you say web-server it's where my site is hosted? |
February 21, 2023 at 1:25 pm #13079409 | |
Andreas |
Thank you for your message. Again I would like to tell you that I am not sharing with you the source of your issue. It is out of my scope. I shared with you just some ideas to check. Now about your question, Web Server is the Server that can serve websites or we can say also, the server where a website is hosted. Hope this clears things for you. Regards, |
February 21, 2023 at 4:30 pm #13081345 | |
staffanS-2 |
Thank you, I understand that, and have some idea now that I searched your knowledge base. Ticket #8555795 "Hello, I have fixed this just know, but it was too frustrating That in order to redirect from none www. to www, and if your main domain is hidden link , you have to add other domains as an alias or additional domains both with and without the www, and then create 301 redirect. Regards. Can you give me a hint to where Fourkan is adding the new domains? |
February 22, 2023 at 10:25 am #13087339 | |
Andreas |
Thank you very much for your reply. As I have already told you it is out of our scope to give support to things outside wpml. Fourkan share the documentation which clearly is saying in thie part you shared : "This is something that the company that sold you the domain should do for you." Fourkan shared the same hints I have already shared with you. He didn't configure anything to the DNS. Each hosting company has different tools, workflows and hardware in order to run the Web-Servers. It is impossible to suggest you something specific because what I would suggest might be correct for one web server and wrong for the other. I hope you can understand. I will be happy to reply to any other questions you might have. Regards, |