Quantcast
Channel: BulletProof Security Forum » All Posts
Viewing all articles
Browse latest Browse all 12479

Reply To: Random General Questions

$
0
0

hi, and happy xmas!
I want to move a site from one domain to another, so current is for example www.xxxinxxx.co.uk to a new site that a) removes the IN from the url and also changes to a .com so www.xxxxx.com so that all pages go to corresponding on new site.
What htacces would do this and where would i put in bps so all diverts? would it be CUSTOM CODE WP REWRITE LOOP START
something like after

# WP REWRITE LOOP START
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteEngine On
  RewriteCond %{HTTP_HOST} ^olddomain.co.uk$ [OR]
  RewriteCond %{HTTP_HOST} ^www.olddomain.co.uk$
  RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]

i guess i can delete the old site just leave the htaccess there

Thanks

  • This reply was modified 18 hours, 21 minutes ago by Profile photo of Paul Paul.
  • This reply was modified 18 hours, 20 minutes ago by Profile photo of Paul Paul.
  • This reply was modified 17 hours, 48 minutes ago by Profile photo of Paul Paul.

Viewing all articles
Browse latest Browse all 12479

Trending Articles