Warning: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' (this will throw an Error in a future version of PHP) in /var/www/html/linuxbyimraan.co.za/wp-content/themes/voice-blog/header.php on line 1
Nginx Rewrite examples – LinuxByImraan

Nginx Rewrite examples

These are examples of adding redirects to your Nginx virtual host configuration file or .htaccess file.

 

location = /sitemap/sitemap.xml {
alias /sitemap.xml;
}

 

location = /sitemap/sitemap.xml {
rewrite ^/sitemap/sitemap.xml$ /sitemap.xml;
}

 

location ~ ^/(sitemap.xml) {
root /var/www/html/wesbite/sitemap/;
}

No token or token has expired.

Leave a Reply

Your email address will not be published. Required fields are marked *