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)

trilljester 01-30-2006 06:22 PM

Another bug:

When posting, none of the WYSIWYG editor functions work correctly. All functions that refer to another file (i.e. misc.php for displaying the smiley list), return 404 errors.

I'm not sure where it's coming from either. I can't see the full URL it's trying to access.

yayvb 01-31-2006 12:49 AM

Hi everyone.

I didn't see this answered anywhere already so I'm posting it now. I believe that I previously installed Deans hack and had the same problem so I uninstalled and installed this one and if I remember correctly the same thing happened.

In my forumhome everything is rewritten properly except only the first LAST TOPIC title and author are rewritten. All others below are not. Please see example below. Any advice or pointers please let me know.

https://vborg.vbsupport.ru/

yayvb 01-31-2006 06:56 PM

Hmmm, I had installed this lastnight and woke to find my users complaining that when they clicked page 2 of a thread they would be brought to a completely different thread!! I checked and sure enough that's what was happening.

So even if I fix the fact that on the main page only the first threads are rewritten, apparently if there is more than 1 page of posts in a thread, there is a bug making it so you get transported to the wrong thread instead of page 2 of the right thread.

Anyone else have this problem? I didn't see this in here already.

trilljester 01-31-2006 09:47 PM

Quote:

Originally Posted by yayvb
Hmmm, I had installed this lastnight and woke to find my users complaining that when they clicked page 2 of a thread they would be brought to a completely different thread!! I checked and sure enough that's what was happening.

So even if I fix the fact that on the main page only the first threads are rewritten, apparently if there is more than 1 page of posts in a thread, there is a bug making it so you get transported to the wrong thread instead of page 2 of the right thread.

Anyone else have this problem? I didn't see this in here already.

It's happening to me too. I might have to turn this promising extension off. It appears to be way too unstable to be released in a non-test environment. I think the problem in the logic for gathering the URL to rewrite is flawed, and with no way to debug the output, it makes it that much harder to figure out where the problem is coming from.

EDIT: Here's a function I used a long time ago to strip characters that could cause problems when I was scanning a URL. It might be useful for this extension.

Code:

function make_url_safe($text) {
// Characters must be in ASCII and certain ones are not allowed.
 $text = html_entity_decode ($text);
 $text = str_replace(" / ","-",$text);
 $text = str_replace("/","-",$text);
 $text = str_replace("'","-",$text);
 $text = str_replace(" - ","-",$text);
 $text = str_replace("_","-",$text);
 $text = str_replace(" ","-",$text);
 $text = str_replace( "?", "ae", $text);
 $text = str_replace( "?", "oe", $text);
 $text = str_replace( "?", "ue", $text);
 $text = str_replace( "?", "Ae", $text);
 $text = str_replace( "?", "Oe", $text);
 $text = str_replace( "?", "Ue", $text);
 $text = str_replace( "?", "ss", $text);
 $text = str_replace( "&", "and", $text);
 $text = str_replace( "%", "Percent", $text);
 $text = ereg_replace("[^A-Za-z0-9-]", "", $text);
 $text = str_replace("----","-",$text);
 $text = str_replace("---","-",$text);
 $text = str_replace("--","-",$text);
return $text;
}

So pass the preg_replace'd URLs through this filter to help. I don't know, it's worth a shot.

Immortal 01-31-2006 10:46 PM

Quote:

Originally Posted by T2DMan
Getting the vBulletin url's corrected is certainly not a small task, and you have certainly done well getting this far. Yes, I happen to support the one rewrite that I consider does a 110% job at rewrites, but you are getting there.

Yup, I agree. There are still some quirks that I am working on ironing out. But with client work these past few weeks, it really has put me on a limited time budget.
Quote:

Originally Posted by T2DMan
I like the nextthread/prevthread per hosting talk but the archive seems to be broken there.

The archive I cannot reproduce on my own site. So he may be using an outdated version that I have fixed by mistake (this was never reported as a bug before).
Quote:

Originally Posted by T2DMan
That you recommend the use of the vbulletin option to have the archive linking directly to the actual threads. This gets the most Google PR/link value etc to the actual threads - this was an option I was able to get added to vBulletin 3.5.

I haven't had time to figure out how to do 301 redirects. I had a failed attempt, which I posted in my support thread, but sadly never got answered. I'll take another stab once I get all the known bugs ironed out.

Quote:

Originally Posted by T2DMan
[*]And that the thread url on the archive is rewritten.

What would you like to see them to get rewitten to? The same format vRewrite does it to?
Quote:

Originally Posted by T2DMan
[*]when the root forum url is linked, that instead of it being "/index.php", that it be just "/". Matt Cutts says Google is working on determining what url should be the correct url, but better that each site do it for themselves.

Never heard of that one, but I'm not quite sure on how I would go about doing that. May be just a simple str_replace, I'll take a stab at that one.
Quote:

Originally Posted by T2DMan
You are working on the newpost/latest post? - in the pre 3.5 vBulletin, my rewrite kept the initial url, but then when it searched for the url in the php, it then did a 301 redirect to the proper url - correctly paginated. That general logic should be able to be coded for your plugins. Rather similar to what you have done for the nextthread/previous thread

It rewrites the actual newpost/latest post, but I cannot figure out how to fix the redirect for the life of me. May have to add that as a code mod. I'm clueless at that one as is Cole and Chroder (Thanks again guys for all the help and assistance!)
Quote:

Originally Posted by T2DMan
there will be other issues, but those are the ones I see at the moment.[/list]Google SiteMap

Should be an easy job to either mod my vbgsitemap, or the vbseo one for your url's.

Plans is it get all bugs fixed first, and then I'll try and work on something. That is, unless you want to do it :)

Quote:

Originally Posted by T2DMan
No mention of seo'ing of vBulletin is complete without talking about onpage SEO.

If the first words of the title are the words that you are optimizing for, then this phrase should also be in the meta description twice, in an h1, and then repeated in sentence/paragraph form immediately following the h1. Most people posting threads do not repeat the title in the text they write, so repeating it via a formula makes sense. In looking around the forums mentioned on this thread I have seen a few using my formula. In general, with a proper url rewrite (almost achieved here), plus great onpage SEO I have been able to get many vBulletin sites so that their forums and threads are all showing high on the SERP's.

And with good search phrase selection, those pages are then able to get good traffic for the forums.

The onpage hints are just the same as needed for any site, and can be found on most SEO pages, but I have some specific template changes mentioned on my Search Engine Optimize vBulletin 3.5 thread.

I'll try and read up on more vB SEO, but currently it just rewrites URLs. A small step, but it's still a step :)

Immortal 01-31-2006 10:53 PM

Quote:

Originally Posted by trilljester
Excellent job! I missed all of my rewritten URLs when I converted from IPB to VBulletin. I know that Google can handle dynamic URLs to a degree, but I think this will improve my rankings out there.

Great to hear, always happy to help anyone who converted from IPB :) I feel bad for you that you had to use that :nervous:

Quote:

Originally Posted by trilljester
1. Send thread to a friend does not work. I commented it out for the plugin code, and now it's fine. It kept reporting a thread not found error, or something to that effect. The URL looked good, not sure where the problem was.

Would you mind uncommenting that line out and posting the error? My URL is:
endtofriend-arcade-release-2738.html

And it's working just fine for me.
Quote:

Originally Posted by trilljester
2. Viewing public profile of users has some issues. This is somewhat complicated, so I'll try my best to explain:

My user ID is #1. I have another frequent poster who's ID is 14. When we both post in a thread, her profile comes up as mine.

To see this in action, visit this thread:

http://www.trilliummud.com/holos/vis...h-my-1086.html

To see the bad behavior, hover over the first poster's url, and it reads:
http://www.trilliummud.com/holos/mem...uffho-631.html

The second post down was posted by Earthrooster. her user ID is 14. The URL for her profile is messed up. it reads:

http://www.trilliummud.com/holos/members/jester-1.html4

My profile works great though, as evidenced later in the thread:
http://www.trilliummud.com/holos/members/jester-1.html

It appears the regular expression is a little too general, and probably needs to be refined.

This is another weird issue. It works on some boards, and doesn't on others. I'm not too sure on how I can fix my preg on that one. I'll try and take a look into it but I'm in doubt that I'll fix it.
Quote:

Originally Posted by trilljester
Other than that, everything else appears to be working great! I'll probably add some custom rewrites for my arcade, and can post them here, unless you have someplace else that we can post our custom rewrites for the next version?

Please do. And I'll add them to the hack description :)
Quote:

Originally Posted by trilljester
Another bug:

When posting, none of the WYSIWYG editor functions work correctly. All functions that refer to another file (i.e. misc.php for displaying the smiley list), return 404 errors.

I'm not sure where it's coming from either. I can't see the full URL it's trying to access.

Hm, weird. Can you give me a link on that one? I'm not a fan of the WYSIWYG editor and never really thought to test it...

Immortal 01-31-2006 10:58 PM

Quote:

Originally Posted by yayvb
Hi everyone.

I didn't see this answered anywhere already so I'm posting it now. I believe that I previously installed Deans hack and had the same problem so I uninstalled and installed this one and if I remember correctly the same thing happened.

In my forumhome everything is rewritten properly except only the first LAST TOPIC title and author are rewritten. All others below are not. Please see example below. Any advice or pointers please let me know.

https://vborg.vbsupport.ru/

Was reported and fixed.
Quote:

Originally Posted by yayvb
Hmmm, I had installed this lastnight and woke to find my users complaining that when they clicked page 2 of a thread they would be brought to a completely different thread!! I checked and sure enough that's what was happening.

So even if I fix the fact that on the main page only the first threads are rewritten, apparently if there is more than 1 page of posts in a thread, there is a bug making it so you get transported to the wrong thread instead of page 2 of the right thread.

Anyone else have this problem? I didn't see this in here already.

Was reported and issued a temporary fix.

Quote:

Originally Posted by trilljester
It's happening to me too. I might have to turn this promising extension off. It appears to be way too unstable to be released in a non-test environment. I think the problem in the logic for gathering the URL to rewrite is flawed, and with no way to debug the output, it makes it that much harder to figure out where the problem is coming from.

EDIT: Here's a function I used a long time ago to strip characters that could cause problems when I was scanning a URL. It might be useful for this extension.

There's a function already to replace bad characters ;) please see the above for fixes.

T2DMan 01-31-2006 11:39 PM

Quote:

Quote:

[*]And that the thread url on the archive is rewritten.

What would you like to see them to get rewitten to? The same format vRewrite does it to?
The sitemap should be linking direct to the threads, and the thread url should be your rewritten url. This means there is no extra copy of the thread, it gives the thread another text link with its search phrase, and means that there are not too many clicks from any one page to get to any other thread. All things that are important for SEO.

GamerJunk.net 02-01-2006 01:28 AM

Anyone else having problems where it starts to randomly make the URL's bad?

Such as http://www.gsnforce.com/forum/commen...s/newreply.php

Obviously that URL wouldn't exist...any explaination?

Snake 02-01-2006 11:33 AM

Quote:

Originally Posted by Immortal
Was reported and fixed.


Was reported and issued a temporary fix.



There's a function already to replace bad characters ;) please see the above for fixes.

Have you updated the pack with the new bug fixes yet?


All times are GMT. The time now is 01:04 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.02515 seconds
  • Memory Usage 1,808KB
  • 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
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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