Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 Aug 2013, 08:58
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

while friendly URLs (mod rewrite) generates

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is there a way via .htaccess or otherwise to make the friendly URLs pull my forum name as vbseo does rather than the generic threads? I'm looking to avoid link rot as, right now, all traffic from previously high indexing threads are being redirected to forumhome.

Any assistance would be GREATLY appreciated.
Reply With Quote
  #2  
Old 16 Aug 2013, 13:08
motorhaven motorhaven is offline
 
Join Date: Jul 2002
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.
Reply With Quote
  #3  
Old 16 Aug 2013, 13:19
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
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.
Reply With Quote
  #4  
Old 16 Aug 2013, 14:39
motorhaven motorhaven is offline
 
Join Date: Jul 2002
http://www.vbseo.com/blogs/mert-goek...all-vbseo-238/ - 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.

Last edited by motorhaven; 16 Aug 2013 at 14:46.
Reply With Quote
  #5  
Old 16 Aug 2013, 15:10
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
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.
Reply With Quote
  #6  
Old 16 Aug 2013, 15:43
motorhaven motorhaven is offline
 
Join Date: Jul 2002
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.
Reply With Quote
  #7  
Old 16 Aug 2013, 16:26
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
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?


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Also, now I'm back to vb default URLs, if I decide to go to friendly URLs will my "link juice" be protected? (i.e. vbseo links -> standard links in httpd.conf -> friendly urls)
Reply With Quote
  #8  
Old 16 Aug 2013, 16:47
motorhaven motorhaven is offline
 
Join Date: Jul 2002
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.
Attached Images
File Type: jpg Image1.jpg (151.2 KB, 100 views)

Last edited by motorhaven; 16 Aug 2013 at 16:52.
Reply With Quote
  #9  
Old 16 Aug 2013, 16:54
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
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.
Reply With Quote
  #10  
Old 16 Aug 2013, 18:59
motorhaven motorhaven is offline
 
Join Date: Jul 2002
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.
Reply With Quote
  #11  
Old 16 Aug 2013, 19:21
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Sure,

Before:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Before:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Before:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Basically I'm going for Standard URLs however those would look for forum display.
Standard URLs:
showthread.php?t=12345
Basic Friendly URLs:
showthread.php?1234-Thread-Title
Advanced Friendly URLs:
showthread.php/1234-Thread-Title
Mod Rewrite Friendly URLs:
threads/1234-Thread-Title
Reply With Quote
  #12  
Old 19 Aug 2013, 09:00
motorhaven motorhaven is offline
 
Join Date: Jul 2002
Sorry I didn't reply sooner, I was off for the weekend

So, you did not have VBSEO settings where the forum id was anywhere in the URL? For example:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If not, then it requires a few more rules but it's very doable. For each forum add the following to .htaccess


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

On the right side of the rule, replace "45" with the forum id. On the left side of the rule, anywhere there is a period, dash, ( or ) in the forum name, you'll need to precede it with \

For example:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Rules for members and albums are going to depend own how you had VBSEO setup. Best way to determine it is to look at your server log files and copy all "404" error files to a text file. If you have SSH shell access (command prompt) on the server here's how, assuming it uses standard log file format:

cat logfilename | grep -E '" 404 ' > errorexamples.txt

It will copy the error file entries to a text file named errorexamples.txt. Save that to your local computer and paste some examples here (or PM them to me). Replace your site name with something else before pasting it here.
Reply With Quote
  #13  
Old 19 Aug 2013, 09:05
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
I appreciate the reply. I'll be in and out on errands today, but I did just want to confirm that I'm seeing this and I'll try to work on it. My threads are up with 301s but it looks like I'm taking quite a hit on visits and visitors from google since the initial ditch according to Google Analytics. Getting my rules up to speed ASAP should help. I appreciate it once again and I'll be back on soon!
Reply With Quote
  #14  
Old 28 Oct 2013, 20:26
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
I have posted this elsewhere and I am sorry for the duplicates but this seems to be the thread for this..

Trying to redirect old Vbseo urls to Vbulleton mod rewrite urls..


Old ones were like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

New ones are this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Does anyone have a real answer that is helpful to fixing this type of url to redirect?
trying to redirect urls.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.


Last edited by RichieBoy67; 13 Dec 2013 at 23:40.
Reply With Quote
  #15  
Old 28 Oct 2013, 22:49
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
Originally Posted by RichieBoy67 View Post
I have posted this elsewhere and I am sorry for the duplicates but this seems to be the thread for this..

Trying to rtedirect old Vbseo urls to Vbulleton mod rewrite urls..


Old ones were like this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

New ones are this


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Does anyone have a real answer that is helpful to fixing this type of url to redirect?
trying to redirect urls.
http://www.vbulletin.org/forum/showt...30#post2456930
__________________
Daddy Does Dios and Figs!
https://www.linkedin.com/in/thelastsuperman

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Miscellaneous Hacks vBSEO-style friendly urls using vB_Friendly_Url mechanism alex.sk vBulletin 4.x Add-ons 57 19 Sep 2018 08:35



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:03.

Layout Options | Width: Wide Color: