northpointaiki
Jan 5th 2006, 9:19 am
Hello all - I earlier posted something on this, but was probably not clear enough with what I am looking for. I have looked in many places, but have not found how to redirect all "http://domain.com" to "http://www.domain.com", if the site is php based.
This site is an add-on domain to my other site. Using C-Panel doesn't seem possible, as I can't see anything set up re: the add-on domain within the redirect tools.
I did do a redirect for my main domain (thanks, Minstrel), after mucking about with the .htaccess Options in the _vti_bin folders (I have FP on my main site, and needed to alter the options for FP to work with the redirect in .htaccess).
Now, the add-on domain has the following:
The .htaccess file in the public_html only contains the following:
DirectoryIndex index.php
The index.php file begins with:
<?php
require_once '_db_interface.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
Can someone please provide some advice, given that index is a .php file?
Thanks.
Paul
This site is an add-on domain to my other site. Using C-Panel doesn't seem possible, as I can't see anything set up re: the add-on domain within the redirect tools.
I did do a redirect for my main domain (thanks, Minstrel), after mucking about with the .htaccess Options in the _vti_bin folders (I have FP on my main site, and needed to alter the options for FP to work with the redirect in .htaccess).
Now, the add-on domain has the following:
The .htaccess file in the public_html only contains the following:
DirectoryIndex index.php
The index.php file begins with:
<?php
require_once '_db_interface.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
Can someone please provide some advice, given that index is a .php file?
Thanks.
Paul