Verified Commit 33b95315 authored by Renato Alves's avatar Renato Alves 🌱

Add blog URL and README info

parent 4efec5f0
Pipeline #16681 passed with stages
in 13 seconds
# Template GitLab Pages redirect
# Bio-IT community blogs renamed
A template repository used to redirect GitLab pages after a project rename.
## How to use
After renaming a project that uses GitLab pages, the old URL will return a 404.
Any links to the old URL will consequently break.
The solution is to create a *dummy* repository that creates a GitLab page with a redirect to the new address.
The steps:
1. Clone this repository
2. Edit `index.html` and replace all occurrences of `REDIRECT_URL` with the GitLab pages URL of the new repository
3. Edit this README to provide additional information (see Caveats below)
4. Create a new project with the old name
5. Push this repository to the old project location
If the CI succeeds you should be done.
Visiting the old URL should now redirect to the new automatically.
## Caveats
Pushing this template repository under the old name will make GitLab to no longer redirect the project URL.
This can be addressed somehow by editing this README and the description of the project to point to the new project location.
The project is now at
......@@ -2,11 +2,11 @@
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=REDIRECT_URL">
<meta http-equiv="refresh" content="0; url=">
<script type="text/javascript">
window.location.href = "REDIRECT_URL";
window.location.href = "";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment