Skip to content

Instantly share code, notes, and snippets.

@pradeepdotco
Created December 2, 2015 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pradeepdotco/6cf4d1020897ca3942eb to your computer and use it in GitHub Desktop.
Save pradeepdotco/6cf4d1020897ca3942eb to your computer and use it in GitHub Desktop.
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