aurora
06-26-2006, 06:00 PM
This is complicated or maybe I am just making it complicated.
I have a main site - I'll call it main site.
I have another domain hosted and it is in a folder.
I'll call it subsite.
I had several files runnning on subsite before I moved I over to bluehost.
I didn't bother to try to get them to work I just put html redirects from subsite to main site as it will be my new home. I only kept subsite because of the users and search engines.
Subsite domain will expire in August and I am closing the site.
I placed PERMANENT redirects in .htaccess to all the files that showed up in google.
The .htaccess is in subsite's root.
This is what I want to do...a description of what is happening is below in case this isn't an option and I need to redirect individual folders and files.
I want to put something in subsite's .htaccess so that no matter what address the person types in on subsite with or without WWW it will redirect to the main site.
Is this possible?
All current redirects work if they are addressed subsite.com
They do not work if they are addressed www.subsite.com
I tried to enter lines hat I found in various posts here to make www redirect to no www and nothing is working.
Also one of the redirects is acting VERY STRANGELY
it is subsite/calendar/calendar.pl
when www.subsite.com/calendar/calendar.pl is called
it redirects to
http://mainsite/forum/index.php%3f/calendar/action=calendar
this is IMPOSSIBLE
there are NO files on subsite to be interfering. I removed all files and folders.
The redirect points to mainsite only NOT THE FORUM
I am stumped.
Any help would be greatly appreciated.
I am totally confused
aurora
I have a main site - I'll call it main site.
I have another domain hosted and it is in a folder.
I'll call it subsite.
I had several files runnning on subsite before I moved I over to bluehost.
I didn't bother to try to get them to work I just put html redirects from subsite to main site as it will be my new home. I only kept subsite because of the users and search engines.
Subsite domain will expire in August and I am closing the site.
I placed PERMANENT redirects in .htaccess to all the files that showed up in google.
The .htaccess is in subsite's root.
This is what I want to do...a description of what is happening is below in case this isn't an option and I need to redirect individual folders and files.
I want to put something in subsite's .htaccess so that no matter what address the person types in on subsite with or without WWW it will redirect to the main site.
Is this possible?
All current redirects work if they are addressed subsite.com
They do not work if they are addressed www.subsite.com
I tried to enter lines hat I found in various posts here to make www redirect to no www and nothing is working.
Also one of the redirects is acting VERY STRANGELY
it is subsite/calendar/calendar.pl
when www.subsite.com/calendar/calendar.pl is called
it redirects to
http://mainsite/forum/index.php%3f/calendar/action=calendar
this is IMPOSSIBLE
there are NO files on subsite to be interfering. I removed all files and folders.
The redirect points to mainsite only NOT THE FORUM
I am stumped.
Any help would be greatly appreciated.
I am totally confused
aurora