whats the best way to redirect a page??

  • Basher
  • Novice
  • Novice
  • User avatar
  • Posts: 33
  • Loc: uk

Post 3+ Months Ago

I understand thet metta refresh can get you banned from most engines so what would be the best way to redirect a visitor from a html page to another page within the same domain??

thanks in advance
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Jess
  • Guru
  • Guru
  • User avatar
  • Posts: 1153
  • Loc: USA

Post 3+ Months Ago

301 redirect.
  • zcorpan
  • Student
  • Student
  • zcorpan
  • Posts: 77

Post 3+ Months Ago

If you don't have access to the .htaccess then you can make a server side redirect with php inside the old file...
Code: [ Select ]
<?php
header("Location: http://www.new.com/");
?>
  1. <?php
  2. header("Location: http://www.new.com/");
  3. ?>
This would be the second best way to redirect.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.