Announcement

Collapse
No announcement yet.

.htaccess forward ????

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • irocracer
    replied
    i got it to work , i did this
    .htaccess

    DirectoryIndex mainpage.php

    Leave a comment:


  • daemon
    replied
    Just make a HTML file with this in it:

    Code:
    <html>
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    	<meta http-equiv="REFRESH" content="2; URL=YOUR LOCATION HERE">
    	<title>Redirect</title>
    </head>
    <body>
    
    <h1>We have moved!</h1>
    
    <p>
    We are now located here:
    <center>
    <font size=+1><a href="YOUR LOCATION HERE">YOUR LOCATION HERE</a></font>
    </center>
    </p>
    
    </body>
    </html>
    There's a way to do this with PHP using the header('Location: ') function. I'm not sure if it considered a "hack" by the vB staff so I won't post it. But you can figure it out quite easily from that page.

    Leave a comment:


  • irocracer
    replied
    well , what i really wanna do is make my home page when they type batalk.com or www.batalk.com will go to /mainpage.php

    Leave a comment:


  • irocracer
    started a topic .htaccess forward ????

    .htaccess forward ????

    i want to do this

    from main root index.php
    forward to
    forums.batalk.com/mainpage.php
Loading...
Working...
X