I have an web address rush.rocksolidpromotion.com (which is an empty page now) but the content is on the address rush.rocksolidpromotion.com/rush/home.html So how can I put a link on the first address rush.rocksolidpromotion.com that can automatically send the user to the page that has the content?
-
Return an HTTP redirect response (look at the HTTP 300 status code family depending on which redirect you actually need). You can do this with HTML but you really should do this at the http level.Benjamin Gruenbaum– Benjamin Gruenbaum2014-02-22 22:25:31 +00:00Commented Feb 22, 2014 at 22:25
-
That other question (How to redirect from an HTML page?) looks useful also. Thanks! :)Lexus de Vinco– Lexus de Vinco2014-02-22 23:13:22 +00:00Commented Feb 22, 2014 at 23:13
Add a comment
|
2 Answers
Place this in the head tag:
<meta http-equiv="refresh" content="0;URL=rush.rocksolidpromotion.com/rush/home.html">
You should also use JavaScript in case the browser ignores content 0. Also a header redirect if you're on a php page.
1 Comment
Lexus de Vinco
@toothbrush Thanks for the answers guys. I'll check them out tomorrow to see if they work :)