The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ditching Vbseo for Friendly URLs
I'm looking to ditch vbseo in favor of the friendly URLs due to server overload vbseo causes.
However, vbseo generates Code:
forums/my-forum-name/64854-my-thread-name.html Code:
forums/threads/64854-My-Thread-Name.html Any assistance would be GREATLY appreciated. |
#2
|
|||
|
|||
You can make an .htaccess to 301 redirect the old VBSEO urls to the new URLs. "Link juice" will follow to the new URLs this way. On VBSEO's forums there is an example .htaccess to do this. I used it on a forum of mine when I ditched VBSEO.
|
#3
|
|||
|
|||
I've found dozens of threads but none that had the example .htaccess
Not to be a pest but any url or an example of your own .htaccess would be most appreciated. |
#4
|
|||
|
|||
<a href="http://www.vbseo.com/blogs/mert-goekceimam/how-uninstall-vbseo-238/" target="_blank">http://www.vbseo.com/blogs/mert-goek...all-vbseo-238/</a> - this includes an example .htaccess. The first post has 3 rewrites which handle about 95% of URLs.
My own .htaccess would be useless to you. I don't have my forums in the standard /forums sub-directory plus I had to do many modifications to their rules to handle two sets of URLs due to the previous site owner changing the forum software more than once and not forwarding URLs. I have close to 2 dozen rewrite rules due to this. |
#5
|
|||
|
|||
This is most helpful! I really appreciate it.
2 dozen rewrites? Sounds like you're quite the .htaccess/httpd.conf guru! I appreciate the time and the response. I hope to be away from this huge resource hog ASAP. |
#6
|
|||
|
|||
If you run into any URLs the rules I linked to do not rewrite let me know. I'll be happy to help, but those are a very good starting point. All total I probably have about 60 rules, the bulk of those designed to closely inspect headers to block out rogue crawlers which disguise themselves as fake browsers.
|
#7
|
|||
|
|||
I'm up and running vbseo-free and I feel like I just got out of jail!
My threads are redirecting correctly, but I need blogs, forums and member profiles/albums I'd love to see what you've implemented to block out rogue crawlers. I suspect a great deal of my issues with vbseo's load may have been caused by crawlers and spambots. Will these work? Code:
RewriteRule ^forum([0-9]+)\.html$ forumdisplay.php?f=$1 [L,R=301] RewriteRule ^thread([0-9]+)\.html$ showthread.php?t=$1 [L,R=301] RewriteRule ^blogs/$ blog.php [L,R=301] |
#8
|
|||
|
|||
Those .htaccess rules should work fine with friendly URLs. Matt Cutts from Google in his blog says Google will follow several levels of 301 redirects just fine, but recommended to keep it around 2-3. So you'll be okay.
Can't share the .htacces rules for the bots. Not yet at least. It's part of an overall package I'm developing which includes a dynamically generated robots.txt file (different versions of the file for different crawlers with rules you set for each). I can post a screen shot of what's under way though. It also has mechanisms for "trapping" and reporting to you any bad bot which slips past the .htaccess rules and falls into a directory which humans never see on their browser screen. It then modifies .htaccess on the fly to block out newly trapped bots. Optionally the trap can have a CAPTCHA to allow humans through with strange browsers who may have been blocked, though I have this turned off on my site because in a year's time only 1 human was mistakenly taken to the CAPTCHA. |
#9
|
|||
|
|||
This looks quite impressive. A potential mod of the month candidate if/when you release it.
The showthread worked for me as did the blogs, but I'm still at a loss for forumdisplay, members and albums. Any assistance there would be much appreciated. I appreciate your time and effort in helping me to get free of vbseo. |
#10
|
|||
|
|||
Give me a "before" example URL and the "after" new destination you want to redirect to, and I'll write up a rewrite rule for you.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|