Skip to content

Commit

Permalink
SEO change tutorials to permanent redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
RayOffiah committed May 20, 2024
1 parent 7baa6b8 commit 4a528ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/nginx/snippets/rewrites.conf
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ location ^~ /tutorials/tutorial-template/ { proxy_pass $s3_bucket_u
location ^~ /tutorials/cbl-p2p-sync-websockets/ { proxy_pass $s3_bucket_uri$uri; break; }

location ^~ /tutorials/ {
rewrite ^/tutorials/(.*)$ $scheme:https://developer.couchbase.com/tutorials/ redirect;
rewrite ^/tutorials/(.*)$ $scheme:https://developer.couchbase.com/tutorials/ permanent;
}

# Evergreen links for SDK API
Expand Down

0 comments on commit 4a528ec

Please sign in to comment.