Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to create a redirecting page?


Thatguy101

Recommended Posts

<html>
<head>
<title>Your temporary title goes here</title>
<!-- Maybe some keywords and SEO stuff here since it IS your index page -->
</head>
<body>
<p>You are being redirected blah blah blah</p>
</body>
</html>
<?php
header("Location: http://www.google.com");
?>

Link to comment
Share on other sites

<html>
<head>
<title>Your temporary title goes here</title>
<!-- Maybe some keywords and SEO stuff here since it IS your index page -->
</head>
<body>
<p>You are being redirected blah blah blah</p>
</body>
</html>
<?php
header("Location: http://www.google.com");
?>

 

Thanks man but whats the file?

Link to comment
Share on other sites

How would I create something like this? www.summitfb.com

 

How would I create the redirecting thing at the beggining?

 

If you are relying on good engine rankings, this approach is a kiss of death ... or at least one foot in the grave.

Change directories so index.php is in the root ... or build a functioning page with links and content that will act as a gateway into your catalog.

Link to comment
Share on other sites

Thats just a meta redirect:

 

<html>
<head>
<meta http-equiv="REFRESH" content="10;url=http://www.pagetoredirectto.com">
</head>
<body>
<p>YOU ARE BEING REDIRECTED IN 10 SECONDS!</p>
</body>
</html>

 

That will redirect to new page after 10 seconds ... you can change that here: content="10;url=http://www.pagetoredirectto.com"> .. where it has that 10 you can set number of seconds before redirection occurs ... and ofcourse changing the url=http://www.pagetoredirectto.com to whatever page you want to redirect to

 

More info on Meta refresh

Link to comment
Share on other sites

I got two erros:

 

1. Warning: file(/home/FBtimes/public_html//index.html) [function.file]: failed to open stream: No such file or directory in /home/FBtimes/public_html/admin/file_manager.php on line 153

 

2. Error: I can not write to this file. Please set the right user permissions on: /home/FBtimes/public_html//index.html

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...