![]() |
Urgently need a .htaccess rule
Hi to everyone,
I have been using tfSEO for my forum for 4 months and all URLs (showthread and forumdisplay) has been rewritten with a 301 redirect so now Google has my index with the following URL structure: http://www.mydomain.com/f149/example...d-title-23313/ However with tfSEO uninstalled (since yesterday), my URLs structure are the classic ones: http://www.mydomain.com/showthread.php?t=23313 So I urgently need to know if there is possible to set-up a .htaccess rule to 'revert" this redirection. There are more than 12,000 threads on my forum and I really do not want to get millions of 404 erros. Please help me if you know how I can solve it. I will be very thanked. Thank you very much for your help! Joanthan. |
You need to post in the thread you got the modification from, that hack does show as supported.
|
Disable the plugin don't delete the .htaccess, you will no get 404 errors, but easly duplicate content.
But really d'like to know why disinstalled.. |
Hi Jeff,
I have just tell you the reason by PM. Could you please tell me a .htaccess rule which could "revert" the redirections made by tfSEO? Any ideas guys? For example: http://www.mydomain.com/f149/example...d-title-23313/ to http://www.mydomain.com/showthread.php?t=23313 Thank you very much for help! Jonathan. |
I have been looking for this too.
|
I should start out by saying that I don't know a lot about writing htaccess files. But if you look at the last page of the mod thread, the author (posting with a different account) has provided an htaccess file for converting from his mod to vb4 style urls. You didn't say you wanted vb4 urls, but i think the first part of what was posted might work to do what you want:
Code:
RewriteEngine on one thing I found out by testing it out is that if you have your forum root in a subdirectory (forum/showthread.php, etc), then you need to add the directory to each of these rules, like for instance Code:
RewriteRule ^(.*)t([0-9]+)(.*)newpost(.*)$ forum/showthread.php?t=$2&goto=newpost [QSA,L] |
All times are GMT. The time now is 12:49 AM. |
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:
|