Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7545611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:58:29+00:00 2026-05-30T08:58:29+00:00

I have the following code: Redirect /email http://email.secureserver.net Which doesn’t seem to be working.

  • 0

I have the following code:

Redirect /email http://email.secureserver.net

Which doesn’t seem to be working. Basically, I need to be able to redirect someone when they go to http://www.thedomain.com/email/ to http://email.secureserver.net

Now I want this to be able to work on my testing server and also when it goes live so I don’t have to change the code.

So for testing the URL will be something like:

www.testingserver.com/clients/drews-garage/live/email/

And for when it goes live it will be:

www.thedomain.com/email/

So based on the code I provided above, that should work either way but it doesn’t seem to work on my testing server. I tried a 301 redirect to.

Anyone have any ideas?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:58:31+00:00Added an answer on May 30, 2026 at 8:58 am

    I suggest you to use mod_rewrite‘s RewriteRule. Rather than mod_alias‘s redirect.

    RewriteCond %{Request_URI} /email/?$
    RewriteRule ^ http://email.secureserver.net [L,R=301]
    

    The above will match email/ in your URI path. So, clients/drews-garage/live/email/ as well as email/ will be matched.


    Redirect /email http://email.secureserver.net
    

    Is not working because of your URL:
    www.testingserver.com/clients/drews-garage/live/email/

    The above is trying to redirect www.testingserver.com/email/

    or mod_alias might not be loaded. But, mod_alias is usually loaded by default so this case is very unlikely.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code but it doesn't seem to redirect to my action
I have the following code which redirect pages depends on $path. ... $path =
I have the following code and the only redirect that seems to be working
Well I am using the following code to redirect users who don't have my
I have following Code Block Which I tried to optimize in the Optimized section
So I have the following code: <redirect:write select=concat('..\\folder\\,string(filename),'.xml')> Where filename is a tag in
I have the following code, I seem to be having problems with booleans in
I have the following code which will check to see if the following fields
I'm using MVC3 and in my view I have the following code block; Response.Redirect(@Url.Action(index,home,
I have drawn up the following PHP code which processes the data from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.