The Virtual Verduria Feedback Thread
-
- Posts: 431
- Joined: Fri Jul 13, 2018 8:40 am
The Virtual Verduria Feedback Thread
I'm just gonna start this thread as a place to post minor feedback on the Virtual Verduria website and the Almeopedia. This is mainly intended to be focused on technical issues and other related matter rather than the content of the websites themselves (i.e. this isn't intended to be n Almea discussion thread).
First thing I'd noticed is that the image for the dialect map in the Xurnese grammar is broken.
First thing I'd noticed is that the image for the dialect map in the Xurnese grammar is broken.
Re: The Virtual Verduria Feedback Thread
Good idea!
The images on this page: http://www.zompist.com/almea.htm are broken too, and so are the links on this page: http://www.zompist.com/beliefs.htm
Also http://www.almeopedia.com still redirects to http://www.almeopedia.com/Main_Page instead of http://www.almeopedia.com/almeo.html.
The images on this page: http://www.zompist.com/almea.htm are broken too, and so are the links on this page: http://www.zompist.com/beliefs.htm
Also http://www.almeopedia.com still redirects to http://www.almeopedia.com/Main_Page instead of http://www.almeopedia.com/almeo.html.
-
- Site Admin
- Posts: 2948
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: The Virtual Verduria Feedback Thread
OK, these should be done except for the rewrite rule.
Does anyone speak .htaccess? This is what I have now:
Options +FollowSymLinks
RewriteEngine on
# Special handling for search strings
# RewriteRule ^Special:Search(.*)$ almeopedia/mediawiki/index.php$1 [L]
# Everything else
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteRule ^(.*)$ almeopedia/mediawiki/index.php?title=$1 [L,QSA]
Obviously anything with "mediawiki" is wrong, but I'm not sure what the correct lines should be.
Does anyone speak .htaccess? This is what I have now:
Options +FollowSymLinks
RewriteEngine on
# Special handling for search strings
# RewriteRule ^Special:Search(.*)$ almeopedia/mediawiki/index.php$1 [L]
# Everything else
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteRule ^(.*)$ almeopedia/mediawiki/index.php?title=$1 [L,QSA]
Obviously anything with "mediawiki" is wrong, but I'm not sure what the correct lines should be.
Re: The Virtual Verduria Feedback Thread
Sure; try this:zompist wrote: ↑Thu Aug 02, 2018 9:45 am OK, these should be done except for the rewrite rule.
Does anyone speak .htaccess? This is what I have now:
Options +FollowSymLinks
RewriteEngine on
# Special handling for search strings
# RewriteRule ^Special:Search(.*)$ almeopedia/mediawiki/index.php$1 [L]
# Everything else
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteRule ^(.*)$ almeopedia/mediawiki/index.php?title=$1 [L,QSA]
Obviously anything with "mediawiki" is wrong, but I'm not sure what the correct lines should be.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ almeo.html?title=$1 [L,QSA]
This will rewrite any call to almeopedia.com/PageName to almeopedia.com/almeo.html?PageName.
For instance, with these rules www.almeopedia.com/Xurno will actually call www.almeopedia.com/almeo.html?Xurno
Maybe you want to do a redirect instead of a rewrite. In this case, replace the last line with:
RewriteRule ^(.*)$ almeo.html?title=$1 [R=301,L,QSA]
I don't think you need these rules anymore:
RewriteCond %{REQUEST_URI} !^/(almeopedia/skins|stylesheets|images|config)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
I believe those handle Mediawiki stylesheets and special config pages.
(EDIT: I've got no idea what those new syntax tools actually do but they sure look fun!)
-
- Posts: 128
- Joined: Mon Jul 09, 2018 6:08 am
Re: The Virtual Verduria Feedback Thread
For some reason, the succession box for Verdurian kings doesn't link to the correct articles in some cases - Caloton from the
Boďomor Kušďey article for example, or Estdorot from the Ževuran article.
Boďomor Kušďey article for example, or Estdorot from the Ževuran article.
-
- Site Admin
- Posts: 2948
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: The Virtual Verduria Feedback Thread
Thanks, Are Lande! Sadly, though, it doesn't work. Any request just goes to the main page. Any idea what might be going wrong?
Re: The Virtual Verduria Feedback Thread
Ah, yes. I think you need a redirect instead, and besides the query string was wrong.
So the correct rule should be: (crossing fingers that I don't mess up this time)
RewriteRule ^(.*)$ almeo.html?$1 [R=301,L,QSA]
If I understood correctly how the Almeopedia works, everything is done client-side, so the browser needs to see the actual query string.
R=301 tells the browser to redirect to almeo.html?PageName. Without that flag, Apache acts as a reverse proxy: you call almeopedia.com/PageName and Apache returns the HTML response for almeopedia.com/almeo.html?PageName. Unfortunately, the client-side code will see almeopedia.com/PageName, and it won't know what to do with that.
Re: The Virtual Verduria Feedback Thread
Looks like it loops now. Crap. I think we need an extra condition:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^.*.html
RewriteRule ^(.*)$ almeo.html?$1 [R=301,L,QSA]
(Sorry about the back-and-forth. Apache is powerful, and also awfully counter-intuitive).
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^.*.html
RewriteRule ^(.*)$ almeo.html?$1 [R=301,L,QSA]
(Sorry about the back-and-forth. Apache is powerful, and also awfully counter-intuitive).
-
- Site Admin
- Posts: 2948
- Joined: Sun Jul 08, 2018 5:46 am
- Location: Right here, probably
- Contact:
Re: The Virtual Verduria Feedback Thread
That fixed the loop, but tried to go to the wrong page.
But I fixed the original problem anyway, by making an index.html that redirects to almeo.html.
I do appreciate the help— I never learned how to do .htaccess.
But I fixed the original problem anyway, by making an index.html that redirects to almeo.html.
I do appreciate the help— I never learned how to do .htaccess.
Re: The Virtual Verduria Feedback Thread
No problem, I'm happy to help — and I'm glad you could find a solution.
Re: The Virtual Verduria Feedback Thread
Is there something wrong in the code for Munkhâshi and Bé clothing? The images don’t seem to be working...
My name means either "person who trumpets minor points of learning" or "maker of words." That fact that it means the latter in Sindarin is a demonstration of the former. Beware.
Spell Merchant | Patreon
Spell Merchant | Patreon
- bbbosborne
- Posts: 191
- Joined: Mon Jul 23, 2018 6:02 pm
Re: The Virtual Verduria Feedback Thread
in the let's get going! section of the LCK homepage, the shortcut links for style and language families are broken.
when the hell did that happen