Thatguy101 Posted January 19, 2009 Share Posted January 19, 2009 How would I create something like this? www.summitfb.com How would I create the redirecting thing at the beggining? Link to comment Share on other sites More sharing options...
zeldaz Posted January 19, 2009 Share Posted January 19, 2009 <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 More sharing options...
Thatguy101 Posted January 19, 2009 Author Share Posted January 19, 2009 <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 More sharing options...
zeldaz Posted January 19, 2009 Share Posted January 19, 2009 Save it as index.php in your root folder. IE: /public_html/index.php Link to comment Share on other sites More sharing options...
Thatguy101 Posted January 19, 2009 Author Share Posted January 19, 2009 Save it as index.php in your root folder. IE: /public_html/index.php Thanks a bunch man Link to comment Share on other sites More sharing options...
pynchon Posted January 19, 2009 Share Posted January 19, 2009 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 More sharing options...
sLaV- Posted January 20, 2009 Share Posted January 20, 2009 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 More sharing options...
Thatguy101 Posted January 22, 2009 Author Share Posted January 22, 2009 Where would I put that code? Link to comment Share on other sites More sharing options...
sLaV- Posted January 22, 2009 Share Posted January 22, 2009 Where would I put that code? i pm'd u Link to comment Share on other sites More sharing options...
ydhcxh Posted January 22, 2009 Share Posted January 22, 2009 IN php <?php header("Location: http://www.google.com"); ?> Link to comment Share on other sites More sharing options...
Thatguy101 Posted January 22, 2009 Author Share Posted January 22, 2009 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 More sharing options...
Thatguy101 Posted January 22, 2009 Author Share Posted January 22, 2009 I fixed thoose up but now the website refreshes, again, again, again..etc Link to comment Share on other sites More sharing options...
Thatguy101 Posted January 23, 2009 Author Share Posted January 23, 2009 sorry for the double post but is it because I need me link to be pagetoredirect.com/catalog because mine is pagetodirect.com/index.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.