If I have example.com/example/
with subfolders (for example: example.com/example/test1/
), how do I redirect from example.com/redirect/
to example.com/example/
so that example.com/redirect/test1/
will redirect to example.com/example/test1
, without creating a subfolder under example.com/redirect/
for every subfolder under example.com/example/
using HTML?
Currently, I have under example.com/example/
the following index.html
file:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="0; URL=https://example.com/example/">
<title></title>
</head>
<body>
</body>
</html>
I'm hosting the website via GitHub pages.
Aucun commentaire:
Enregistrer un commentaire