- it seems that you are using .htaccess (according to hostgator docs). You may get relative url (doc/... instead of /docs)
- .* may match /html_en_EN as well, so if this worked, you may get infinite loop
- you may want to add R=301 flag (HTTP moved permanently)
- style.css needs redirect too
RewriteEngine On
RewriteRule ^/?docs/([^/.]+)\.(html|css)$ docs/html_en_EN/$1.$2 [R=301,QSA,L]
If that doesn't help, you may try to add RewriteBase /
I've not tested this.
Edit: check apache logs for problems (https://support.hostgator.com/articles/ ... -log-files)
Translated Doc to Japanese
-
- Posts: 1274
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
-
- Posts: 3
- Joined: Tue Jan 24, 2017 3:51 pm
- Location: Japan
- Real Name: Dai Suetake
- Contact:
Thank you !!mcallegari wrote: ↑Sat Feb 24, 2018 4:04 pm As anticipated, I have restructured the docs folder and imported your translation. Thanks again.
I had to spend some time because you've taken the documentation from the QLC+ website (which is manipulated by some script), instead of the original copy from GitHub.
From now on, please let's work on GitHub only. If you have further changes, please submit a Pull Request.
Have you had any chance to look into the UI translation ? Do you need any help/assistance ?
[EDIT] Japanese documentation online ! See www.qlcplus.org and PDF in download page.
If you want proper credits in the website about page, please tell me your name. Otherwise I can use the user nickname you chose for this forum.
Thanks
(^∇^) I am happy about that make download page.
And I'm sorry. Therefore work on github when next it.
I want to be written real name in credit.
Real Name is ' Dai Suetake '.
And sent pull reqest. Is there a problem?
Thank you.
- mcallegari
- Posts: 4481
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
Works fine now, thanks !janosvitok wrote: ↑Sat Feb 24, 2018 11:48 pm RewriteEngine On
RewriteRule ^/?docs/([^/.]+)\.(html|css)$ docs/html_en_EN/$1.$2 [R=301,QSA,L]
I really need to learn regular expressions one day...
The only thing still there is directory listing when accessing http://www.qlcplus.org/docs/ with no html file.
Not a major issue though.
- mcallegari
- Posts: 4481
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
You're welcome Dai. Your name is now in the website About page.MagmaChocolate wrote: ↑Sun Feb 25, 2018 6:24 am Thank you !!
(^∇^) I am happy about that make download page.
And I'm sorry. Therefore work on github when next it.
I want to be written real name in credit.
Real Name is ' Dai Suetake '.
And sent pull reqest. Is there a problem?
I've seen you sent a PR for the webaccess translation. Thanks, I'll review it shortly.
-
- Posts: 1274
- Joined: Mon Apr 13, 2015 7:05 am
- Location: Bratislava, Slovakia
- Real Name: Jano Svitok
- Contact:
Maybe add second rule:mcallegari wrote: ↑Sun Feb 25, 2018 10:52 am The only thing still there is directory listing when accessing http://www.qlcplus.org/docs/ with no html file.
RewriteRule ^/?docs/$ docs/html_en_EN/ [R=301,QSA,L]
-
- Posts: 703
- Joined: Mon Nov 02, 2015 11:03 am
- Location: Germany
- Real Name: Lukas
Found it, links working, but I've got another thing to find faulty I really like the idea of showing the flags to the corresponding language (although Americans may feel left out), but the display is not right (see attached screenshot). I use Xubuntu 14.04 64 Bit (Firefox 58.0.2 (64-Bit)).mcallegari wrote: ↑Sat Feb 24, 2018 5:37 pmCTRL+F5 ?siegmund wrote: ↑Sat Feb 24, 2018 5:25 pmOut of curiosity, I was looking for the Japanese documentation but was unable to find it. Also, the manual download link on the download page seems to be broken.mcallegari wrote: ↑Sat Feb 24, 2018 4:04 pm [EDIT] Japanese documentation online ! See www.qlcplus.org and PDF in download page.
- mcallegari
- Posts: 4481
- Joined: Sun Apr 12, 2015 9:09 am
- Location: Italy
- Real Name: Massimo Callegari
- Contact:
I see it correctly both with Chrome 64 and Firefox 58. Maybe empty the cache again ?siegmund wrote: ↑Sun Feb 25, 2018 3:58 pm Found it, links working, but I've got another thing to find faulty I really like the idea of showing the flags to the corresponding language (although Americans may feel left out), but the display is not right (see attached screenshot). I use Xubuntu 14.04 64 Bit (Firefox 58.0.2 (64-Bit)).
As for the american flag, I thought about it, but normally (in european websites) they all use the british flag. I hope the american friends won't mind
-
- Posts: 703
- Joined: Mon Nov 02, 2015 11:03 am
- Location: Germany
- Real Name: Lukas
Seems to be an error with my laptop, its working on my other PC - sorry!mcallegari wrote: ↑Sun Feb 25, 2018 4:31 pmI see it correctly both with Chrome 64 and Firefox 58. Maybe empty the cache again ?siegmund wrote: ↑Sun Feb 25, 2018 3:58 pm Found it, links working, but I've got another thing to find faulty I really like the idea of showing the flags to the corresponding language (although Americans may feel left out), but the display is not right (see attached screenshot). I use Xubuntu 14.04 64 Bit (Firefox 58.0.2 (64-Bit)).
As for the american flag, I thought about it, but normally (in european websites) they all use the british flag. I hope the american friends won't mind