Jump to content

How do I do this?


skepticality

Recommended Posts

Hello,

 

I have been looking everywhere and have asked a few people who 'should' have known the answer to my question. Everyone always says that there *IS* a way... but I can't find the answer. <sigh>

 

Maybe you all can help me out...

 

I have a rather large website and it is also taking up a large swath of domain extensions, for obvious reasons I got them all just since many people that were looking for my site hit the wrong domain extension and couldn't find me. But, there is now a problem. I have a couple web-based applications that require people to always use the SAME extension, but since they are on the same server... things sometimes go sideways.

 

What I was wanting to do is figure out what I need to do in my Apache to make my server change someone to the CORRECT domain when they hit the wrong one.

 

Example:

 

Someone types in www.skepticality.net it works, but if they hit any of the links that go to one of the applications where the .net version mucks up the system, things go nuts.

 

I need it to AUTOMATICALLY change/switch to the same exact link but just switch the extension and nothing else...

 

So, if I type:

 

http://www.skepticality.net/somecoolpage.php

 

it AUTOMATICALLY makes it:

 

http://www.skepticality.com/somecoolpage.php

 

What is the 'correct' way to accomplish this?

 

Thank you in advance!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.