• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

2 Ways to Redirect Old Domains URL’s to New Domains URL’s

These .htaccess file directives enable you to redirect your old domain to your new domain.

The directives should be pasted at the top of your old domains .htaccess file.

You can find your .htaccess file in the root directory of your domain WordPress installation.

Here’s 2 different sets of directives to choose from.

Choose one only.

Or

The second option redirects domains with or without the www to the new domain.

Both these directives ensure all URL’s from your old domain will be redirected to your new domain.

Related Tutorials

  • How To Move WordPress To a New Domain

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems