![]() |
How can I redirect this link using htaccess ?
The link was like this:
Code:
http://www.donaim.com/forum/t1000-5/ I want to redirect it to Code:
http://www.domain.com/forum/showthread.php?t=1000&page=5 I tried this: Code:
RewriteRule ^t([0-9]+-[0-9]+)/$ http://www.domain.com/forum/showthread.php?t=$1 [L,R=301] But it is redirected to: http://www.domain.com/forum/showthread.php?t=1000-5 I want it like (showthread.php?t=1000&page=5) Any idea? |
I solved it
If anybody need this in future, this is the code Code:
RewriteRule ^t([0-9]+)-([0-9]+)/$ http://www.domain.com/forum/showthread.php?t=$1&page=$2 [L,R=301] |
Why you want it to go to a thread never seen anyone make there htaccess file this way
|
Quote:
I uninstalled VBSEO so I need to redirect the links to the original |
thank you for sharing solution sadiq..........
|
All times are GMT. The time now is 04:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|