We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Redirect all requests to modified URL

SandyCooke
SandyCooke asked
on
Medium Priority
182 Views
Last Modified: 2010-03-04
I need all requests for

http://domain.com/content/apple/
http://domain.com/content/banana/
http://domain.com/content/orange/

to automatically redirect to

http://domain.com/apple/
http://domain.com/banana/
http://domain.com/orange/

Is this possible without involving my host?

Sandy
Comment
Watch Question

Top Expert 2008
Commented:
e.g. with mod_alias, yes. If you can use a .htaccess file, place the following line in it:

RedirectMatch 301 ^/content/(.*) http://domain.com/$1

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
You are a genius and I love you for it
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.