Sun Sims  


Please help us pay the bills.        

Go Back   Sun Sims Forums > Sun Sims Community > Open Forum
FAQ Donate Members List Calendar Mark Forums Read

Reply
 
Thread Tools
Old 05-13-2007, 08:01 AM   #1
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default Webcraft: How to do a global domain redirect

I know how to do a single-file redirect using the .htaccess file in the Apache web server, but is there a way to do a global redirect for the whole domain including any subdomains?

Strategic thinking: It might be best to redirect *.simshost.com/*.* to *.sunsims.com/*.*, including any links to things in subdirectories. That would avoid broken links, especially to images under thesims2.simshost.com, while also avoiding having to keep the simshost.com domain operating as a unique site.

If I can just substitute "sunsims.com" for "simshost.com" in any URL that points to *.simshost.com, and have the web server deliver the right file, that will solve a lot of problems.

It must be possible with some kind of rewrite rules but I'm no expert with rewrite rules.
Greg is offline   Reply With Quote
Old 05-13-2007, 01:49 PM   #2
Miros1
Goddess for Life
 
Miros1's Avatar
 
Join Date: Mar 2007
Location: NY State
Posts: 3,303
Default

Dana and Randall won't talk to you? They're my primary resource for that sort of thing!

I'm not sure if you want to make that *.sunsims.com; links to my old site would go to woodensimolean.sunsims.com, and that doesn't exist.
Miros1 is offline   Reply With Quote
Old 05-13-2007, 02:35 PM   #3
Greg
Da Guy Wut Owns Dis Joint
 
Greg's Avatar
 
Join Date: Mar 2007
Location: Texas
Posts: 3,566
Default

Quote:
Originally Posted by Miros1 View Post
I'm not sure if you want to make that *.sunsims.com; links to my old site would go to woodensimolean.sunsims.com, and that doesn't exist.
After June 1, woodensimoean.simshost.com will cease to exist in any case (along with almost all other *.simshost.com domain names), so it doesn't matter whether people get a "not found" error from simshost.com or sunsims.com.
Greg is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
This site is not endorsed by or affiliated with Electronic Arts.
Trademarks are the property of their respective owners.
Game content and materials copyright by their respective creators. All Rights Reserved.
Copyright ©2007-2008 by Sun Sims.