Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

Jason Siffring http://siffring.org/

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Easy 301 or 302 redirect using .htaccess

Here is an easy way to redirect one url to another if you don't need any fancy regex pattern matching.

Permanent 301 redirect
Redirect permanent /relative_source_url http://full_destination_url/


-or-

Temporary 302 redirect
Redirect temporary /relative_source_url http://full_destination_url/
« Newer Snippets
Older Snippets »
1 total  XML / RSS feed