Hi all i have a site and what to make the index page point to file to open in another file so the first index page says open www.nameosite.com/folder1/index hope this makes sense
put this in the index <META HTTP-EQUIV="Refresh" CONTENT="0; URL=www.nameosite.com/folder1/index"> Code (markup): index with a .php or .html
Htaccess is the best, but a simple php redirect is the easiest (well, the meta refresh is easier but not as good...) if you can use php (if you can't check this page out ...http://www.somacon.com/p145.php) Put this at the top of index.php... <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.somacon.com/"); exit(); ?>
Yes, htAccess is the best but if you can't edit this file, read this: How to redirect visitors to your new site?