Shop Preloader

If you can see this, something has gone wrong.

Please contact

The following is intended for the site administrator:

Do not mess with the shop preloader. I mean it. You are looking at Pandora’s box right now. It is safely closed, as I write this, and I strongly recommend you do not open it.

I created this page to make the language selector on the shop page select the site language by default. Its only function is as a place to redirect from. Someone more proficient with PHP than I am would have been able to do this elegantly, but I am ignorant, and so I did it in the stupidest way I could. I hope whoever has to deal with the consequences of my choice will forgive me.

In order to avoid breaking any functionality, you must:

  1. Ensure that, whenever you want to link to the shop page, you link to this page instead.
  2. Ensure that the permalinks to this page do not change in even the slightest detail. Note that there are four permalinks right now: one for each language. They all have to remain exactly as they are.
  3. If you ever want to add a new language, you need to edit the .htaccess file. This should only be done by someone who knows what they’re doing, because an improperly constructed .htaccess file can easily render the entire site unusable.

As I write this, it isn’t possible to edit the .htaccess file from within the WordPress administrator interface. If it were, you would be able to do it on this page:

As it is, you would need to ssh in and access the file directly. If you’re qualified to edit the file to begin with, you already know how to do this.

Good luck!

— Spencer Campbell