Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/figuren-theater/ft-routes

Modern tales of browser headers, domains, mappings and its pathes. Including some (still needed) historic patches for a nice WordPress Multisite setup like figuren.theater.
https://github.com/figuren-theater/ft-routes

aliasing rewriting routing wordpress wordpress-muplugin

Last synced: about 1 month ago
JSON representation

Modern tales of browser headers, domains, mappings and its pathes. Including some (still needed) historic patches for a nice WordPress Multisite setup like figuren.theater.

Awesome Lists containing this project

README

        





figuren.theater Logo

figuren.theater | Routes


Modern tales of browser headers, domains, mappings and its pathes. Including some (still needed) historic patches for a nice WordPress Multisite setup like figuren.theater.




Read our blog




See the network in action

Join the network

Create your own network


## About

This is the long desc

* [x] *list closed tracking-issues or `docs` files here*
* [ ] Do you have any [ideas](https://github.com/figuren-theater/ft-routes/issues/new) ?

## Background & Motivation

...

## Install

1. Install via command line
```sh
composer require figuren-theater/ft-routes
```

## Usage

### API

```php
Figuren_Theater::API\get_...()
```

## Plugins included

This package contains the following plugins.
Thoose are completely managed by code and lack of their typical UI.

* [Mercator](https://github.com/humanmade/Mercator/)
WordPress multisite domain mapping for the modern era.
* ~~[Mercator GUI](https://github.com/humanmade/Mercator-GUI)~~ [Mercator-GUI](https://github.com/carstingaxion/Mercator-GUI)
A GUI component for Mercator domain mapping

## What does this package do in addition?

Accompaniying the core functionality of the mentioned plugins, theese **best practices** are included with this package.

- [X] Set base rewrites to german slugs for search, authors and pagination.
- [X] Include `/wp` as base directory in `network_url()` calls.
- [X] Use a virtual `/__media` folder per Domain, which rewrites internally to `content/uploads/sites/SITES_ID`.
- [X] Use aliased domains in `` tags, generated by WordPress (by default) or even when outputted by *Yoasts WordPress SEO* Plugin
- [X] Disable most of the public JSON REST API.

## Built with & uses

- [dependabot](/.github/dependabot.yml)
- [code-quality](https://github.com/figuren-theater/code-quality/)
A set of status checks to ensure high and consitent code-quality for the figuren.theater platform.
- ....

## Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## Versioning

We use [Semantic Versioning](http://semver.org/). For the versions
available, see the [tags on this repository](https://github.com/figuren-theater/ft-routes/tags).

## Authors

- **Carsten Bach** - *Provided idea & code* - [figuren.theater/crew](https://figuren.theater/crew/)

See also the list of [contributors](https://github.com/figuren-theater/ft-routes/contributors)
who participated in this project.

## License

This project is licensed under the **GPL-3.0-or-later**, see the [LICENSE](/LICENSE) file for
details

## Acknowledgments

- [altis](https://github.com/search?q=org%3Ahumanmade+altis) by humanmade, as our digital role model and inspiration
- [@roborourke](https://github.com/roborourke) for his clear & understandable [coding guidelines](https://docs.altis-dxp.com/guides/code-review/standards/)
- [python-project-template](https://github.com/rochacbruno/python-project-template) for their nice template->repo renaming workflow