Different ways to redirect URL
A quick guide on redirection with Apache, NGinx or just plain HTML.
Apache
A very robust way of redirecting. Just paste this in your .htaccess
file:
Redirect 301 / http://clubmate.fi/
NGinx
Paste this in your NGinx server block, or into a nginx.conf
file in your projects root.
server {
# Direct this address...
server_name example.com;
# ...to this address
return 301 $scheme://example.net$request_uri;
}
Using meta redirect
A bit more “lighter” method with timing. Paste this inside your head
tag.
<meta http-equiv="refresh" content="0; url=http://clubmate.fi/">
That 0
is a time (in seconds) how long the browser waits for the redirect.
Comments
If some one needs expert view on the topic of blogging afterward i recommend him/her to go to see this weblog, Keep up the good work.