vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484)

Immortal 02-27-2006 06:12 PM

Hmm, I don't like saying updates John, as then when I don't meet it, it reflects bad upon myself.

Maybe sometime this week/next week?

yayvb 02-27-2006 06:54 PM

Hey Immortal,

I was just noticing a problem with trying to delete a single post and seemed to have the same error performing other moderation things. I wonder if it is because I took out a line or two of the .xml file hahaha. I didn't see this reported in this thread, but I saw someone asking in vbulletin.com yesterday the same error message as me.

I'm getting an error message at the top of the forum during those things, apparently someone else on vbulletin.com is too: http://www.vbulletin.com/forum/showthread.php?t=176653

Has anyone mentioned this before? I tried looking at my inlinemod_start hook code and saw this:
Code:

if(preg_match("(t-)([A-Za-z0-9\-]+)-([0-9]+).html$", $vbulletin->GPC['mergethreadurl'], $tmatches))
{
$vbulletin->GPC['mergethreadurl'] =& 'showthread.php?t=' . $tmatches[3];
}

Is this valid?

Immortal 02-27-2006 07:02 PM

Yah, I know about that. There was a complete list a few pages back :)

Bhuwan 02-27-2006 07:37 PM

Quote:

Originally Posted by Immortal
Yah, I know about that. There was a complete list a few pages back :)

the only solution I could find for this was a FILE MOD :(

e-brooker 02-27-2006 07:44 PM

Hi

Just a few suggestions:

The f is not really needed in the the forum display url: techhelpforum.com/f-windows-xp-11.html (in fact it would be better if it were not there from a search engines perspective)

The t is also not really needed in the thread display url: techhelpforum.com/windows-xp/t-how-to-do-a-repair-install-of-xp-439.html (again, it would be better if it were not there)

However the forum number should be present in the thread display url - because many of us make slight changes to our forum names from time to time so making sure the forum number is the 'key' should ensure no deadlinks if we change forum titles in the future :)

Would also be beneficial if the latest post links show the same urls as the main urls (and not a new url eg techhelpforum.com/windows-xp/t-how-to-do-a-repair-install-of-xp-439newpost.html like some rewrites do). So techhelpforum.com/windows-xp/t-how-to-do-a-repair-install-of-xp-439.html#post522484 is preffered.

Would also be great if once a reply is made the person is directed back to the mod-rewritten url (as going to a showthread.php url might make google think its duplicate content as adsense will pick up the url..).

Sounds like a nice hack! Look forward to seeing it develop :)

Immortal 02-27-2006 09:34 PM

The t-, f- and p- helps vRewrite tells which is which. There's really no other way to accomplish this without changing a good majority of the script.

As far as newpost is concerned, that part doesn't have a problems as you will get redirected back to the t- (not the p- mind ya ;)). SEOs really doesn't see this as duplicate content.

As far as the reply URL is concerned, make sure you have vRewrite Redirects enabled.

e-brooker 02-27-2006 10:29 PM

Hi, thanks for getting back to me.

Quote:

Originally Posted by Immortal
The t-, f- and p- helps vRewrite tells which is which. There's really no other way to accomplish this without changing a good majority of the script..

Is it possible to move these to the end of the urls instead then?

What about renaming forums/sections do the old urls using old names find their way to the correct thread once a forum is renamed?

Thanks.

Bhuwan 02-27-2006 11:02 PM

Based on Andreas suggestion earlier in this thread, I think I've found a way to DRAMATICALLY reduce thenumber of queries (hoping to make it 0).

Will keep everyone updated :)

yayvb 02-28-2006 10:30 PM

This is exciting news!! :) Can't wait to get this new release. Wish I could help but I don't know what I'm looking at half the time. ;)

Immortal 02-28-2006 11:03 PM

Quote:

Originally Posted by yayvb
Wish I could help but I don't know what I'm looking at half the time. ;)

That hasn't stopped me :D


All times are GMT. The time now is 08:48 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
  • Page Generation 0.02056 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete