How to use nginx to redirect one page request to a different page -


i want redirect http://example.com/balcony-covers/ to
http://example.com/balcony-screens/ permanently. how can in nginx.

use nginx.conf file.

put

location /balcony-covers/ {     return 301 $scheme://$host/balcony-screens/; } 

in server block


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

authentication - Mongodb revoke acccess to connect test database -

python - Scipy.Odr multiple variable regression -