top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How we can clone one website to other URL and can redirect old URL on newly created URL?

+1 vote
425 views
How we can clone one website to other URL and can redirect old URL on newly created URL?
posted Aug 20, 2016 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

use .htaccess for 301 redirect so that you pass the SEO juice also.

Say youwant to redirect mysite to yoursite then the following sample code of .htaccess should work

RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]

I hope I understand your query correctly.

answer Aug 20, 2016 by Salil Agrawal
Similar Questions
+2 votes

I want to build a A URL Shortener service in my PHP based Website without use of any thirdparty tool. Any clue or opensource would be a great help?

+3 votes

How to provide a facebook icon on my website, which will link to my facebook page when someone clicks on it. same question for google+ profile.

+1 vote

How a http web client is made as https ?

+1 vote

Please suggest me some tips about how to make website responsive- Mobile and smart phones friendly ? Because these days, Google is giving more priority to responsive sites in its Google organic search ranking.

...