[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

htaccess redirects for seo friendly urls (infinite loop problem)

Asked by marklye in Apache Web Server

Hi there

Im trying to redirect my current URL structure to friendly URLs.  I want to redirect the following scenarios:

example.com/test.php >> example.com/testing
example.com/test.php?id=1 >> example.com/testing/1
example.com/test.php?id=sometext >> example.com/testing/sometext
example.com/test.php?id=sometext&id2=moretext >> example.com/testing/sometext/moretext

I can get it to work to use example.com/test.php if a user enters example.com/testing, however I get inifite loop problems to redirect the old url to the new friendly url.

Thanks a million.  If you can supply htaccess code for above examples I'll be up and running

Cheers
Mark
[+][-]07/31/09 08:39 AM, ID: 24989814Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 05:49 AM, ID: 24998666Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 05:53 AM, ID: 24998674Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 05:57 AM, ID: 24998687Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 06:13 AM, ID: 24998740Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/02/09 08:06 AM, ID: 24999039Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/02/09 08:37 AM, ID: 24999151Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/21/09 06:15 PM, ID: 25630057Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20090701_SELECT_ZONES