Redirecting Traffic From an Active Site?

8 replies
Here's what I want to do...I've got a site that I want to shut down and use for something else, but as the traffic winds down I want to redirect it to a new, more focused site on essentially the same topic.

Here's what I have planned...transfer all relative posts and pages etc. to the new blog, then uninstall the wordpress and erase the mysql database.

Install an index.php file in the root directory with the following:

<?php
$url= "http://www.mynewurll.com";
header( "Location: $url" );
?>

After the traffic dies out, I'll remove the index.php and do a new wordpress install.

Does that sound like it will work?

Steve
#active #redirecting #site #traffic
  • Profile picture of the author phpbbxpert
    If you have ModReWrite enabled on the server, something like this in an .htaccess would do a better job as it addresses each landing to the corresponding new address per page URL

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^yoursite.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.yoursite.com$
    RewriteRule ^/?$ "http\:\/\/your_new_site\.com" [R=302,L]

    Changing the domains in that above code
    {{ DiscussionBoard.errors[2814350].message }}
  • Profile picture of the author deepakg
    I agree with you phbbxpert but if a website owner moved our website permanently to a new domain then you should also change the [R=302,L] to [R=301,L]
    {{ DiscussionBoard.errors[2814395].message }}
    • Profile picture of the author Ouroboros
      The new website is not a copy of the old one, just similar, so I really only need to pass traffic from home page to home page.

      I'll also be removing the redirect after a week or so and re-using the site.

      I pretty much understand the .htaccess approach, but is it necessary?

      (Thanks for your help, btw)
      Signature

      Need a Simple Product/Service to Market to Offline Clients? Sell Them DFY Custom Videos. https://www.fiverr.com/users/gigsiteguy

      {{ DiscussionBoard.errors[2814506].message }}
  • Profile picture of the author phpbbxpert
    If thats the case where it is not a copy then the PHP redirect approach is fine.
    {{ DiscussionBoard.errors[2814551].message }}
  • Profile picture of the author espradley
    If your running Cpanel, you can create the redirect in there. That way there is no programming anything.

    Just create a redirect for the page in question, and then remove it when your done.

    Redirecting web pages in cPanel
    Signature

    Eddie Spradley

    {{ DiscussionBoard.errors[2816454].message }}
    • Profile picture of the author Maynard_Webmaste
      Originally Posted by espradley View Post

      If your running Cpanel, you can create the redirect in there. That way there is no programming anything.

      Just create a redirect for the page in question, and then remove it when your done.

      Redirecting web pages in cPanel
      I agree. This would be the best solution for your problem.
      {{ DiscussionBoard.errors[2857492].message }}
  • Profile picture of the author kalens99
    If you are using Joomla the easiest way is to use the J!Redirect301 plugin. Not sure if it only works on your own page or another site. Otherwise the options mentioned above will do just fine as well.
    Signature

    Original Reports Compact With Empirical Data on Creating a Solid IM Strategy - Stop Reading Bogus Theories
    Internet Marketing Strategies
    Free Report 11 Biggest Mistakes marketers make

    {{ DiscussionBoard.errors[2827892].message }}
  • Profile picture of the author littlekid
    i think redirect is fine. if you redirect to another website from the old one, you should give a delay time and inform your visitor that the current website is moved to another one.
    if you do not give the delay time, some one will come and surprised because the website they asked does not appear.then you will lost your traffic.
    {{ DiscussionBoard.errors[2853662].message }}

Trending Topics