Last active
February 10, 2023 09:14
-
-
Save luckydevilru/cc82e450e2a05abd210f34899ee9ad8f to your computer and use it in GitHub Desktop.
правила в htaccess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 302 редирект | |
RewriteCond %{REQUEST_URI} /documents/obnovleniya-v-rabote-platformy/$ | |
RewriteRule ^(.*)$ http://%{SERVER_NAME}/documents/poryadok-raboty-platformy/ [R=302,NC,L] | |
# 301 редирект | |
Redirect 301 /dir1/ http://%{SERVER_NAME}/dir2/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment