-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a simple tutorial for common redirecting examples? #1530
Comments
Yes, this would be good. It's been on my todo list since forever. Lots of things have been copied around that are probably not optimal. I think the examples should be live working ones and in the an "example" directory. |
Thanks @davidlehn Some other related thoughts:
|
@abubelinha We now have https://github.com/perma-id/w3id.org/tree/master/examples with 3 examples of .htaccess together with quick intro to .htaccess. Maybe we can work from there and add more examples. |
|
I would appreciate a simple guide, or a list of .htaccess files, showing examples of how to do some quite common redirections.
w3id.org/myname ---> my-current.domain/my-site-path/my-file.php
w3id.org/myname?a=1&b=4 ---> my-current.domain/my-site-path/my-file.php?a=1&b=4
w3id.org/myname/a_1/b_4 ---> my-current.domain/my-site-path/my-file.php?a=1&b=4
w3id.org/myname/site1 ---> my-current.domain/my-site-path/site1
w3id.org/myname/anothersite ---> my-current.domain/my-site-path/anothersite
... and so on
Perhaps this is such a basic question, but there are no links in w3id.org to any good tutorial for beginners.
The text was updated successfully, but these errors were encountered: