User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Existing Scripts section within the Web Development category of DaniWeb, a massive community of 373,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,791 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Existing Scripts advertiser:

The quick 'n' dirty ultra simple vBulletin SEO hack

Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,873
Reputation: cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice cscgal is just really nice 
Rep Power: 32
Solved Threads: 109
Admin
Staff Writer
cscgal's Avatar
cscgal cscgal is offline Offline
The Queen of DaniWeb

Re: The quick 'n' dirty ultra simple vBulletin SEO hack

  #27  
Dec 4th, 2005
Originally Posted by yakusasci
Ok tks dani ; another "bug" on your forum :

on this page http://www.daniweb.com/techtalkforum...esc-views.html if I click on the arrow to order asc I get this url : http://www.daniweb.com/techtalkforum...&pp=40&page=1.

To fix this:

Below
  '#<a ([^>]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&amp;page=") . '([0-9]+)' . preg_quote("&amp;sort=") . '([a-z]*)' . preg_quote("&amp;order=") . '([a-z]*)' . preg_quote("&amp;pp=") .  '([0-9]*)' . preg_quote("&amp;daysprune=") . '([^"]*)"#',
add
  '#<a ([^>]*)href' . preg_quote("=\"forumdisplay.php?$session[sessionurl]f=") . '([0-9]+)' . preg_quote("&amp;daysprune=") . '([^"]*)' . preg_quote("&amp;order=") . '([a-z]*)' . preg_quote("&amp;sort=") . '([a-z]*)' . preg_quote("&amp;pp=") .  '([0-9]*)' . preg_quote("&amp;page=") . '([0-9]+)"#',
and below
  '<a \1href="forum\2-\3-\4-\5-\6-\7.html"',
add
  '<a \1href="forum\2-\7-\5-\4-\6-\3.html"',

I am going to update the original post to reflect this change.
Reply With Quote  
All times are GMT -4. The time now is 7:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC