Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
htaccess code for same domain redirect
# BEGIN 301 Redirects
Redirect 301 /old-post/ http://www.yourwebsite.com/new-post/
# END 301 Redirects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment