| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
opitanga
Joined: 25 Jul 2008 Posts: 8
|
Posted: Sun Sep 07, 2008 3:49 pm Post subject: Mod-Rewrite help |
|
|
I need help redirecting in .htaccess
from:
/boys-shoes-c-23_24.html?page=2&sort=2a
/boys-shoes-c-23_24.html?page=2&sort=4a
to:
/boys-shoes-c-23_24.html
and
from:
/swaddle-designs-c-27_77_14.html?page=2&sort=4a
to:
/swaddle-designs-c-27_77_14.html
- the "-c-" is in all urls
- the text before and the numbers after the "-c-" are the same in the from: and to:, but there are many of these different instances
- "?page=...." anything after .html is what I want to eliminate and redirect to the url without this extra characters
There must be a way to do this in 1 line.
Any help is appreciated
Thanks |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |