vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - DC SEO vB URL Rewrite (https://vborg.vbsupport.ru/showthread.php?t=91324)

Dean C 06-30-2005 12:28 PM

<font size="5">Updated to v1.1:</font>

All bugs should be fixed except the quick style chooser. I don't know how I'm going to approach that one exactly yet but at the moment unless I write it into the rewrite rules to accept an optional styleid parameter.

kall 06-30-2005 08:19 PM

Quote:

Originally Posted by Dean C
Updated to v1.1:

All bugs should be fixed except the quick style chooser. I don't know how I'm going to approach that one exactly yet but at the moment unless I write it into the rewrite rules to accept an optional styleid parameter.

Sweet...it's working now.

Any chance you could figure out how to rewrite the latest post link? Duplicate content is apparently an issue with some engines.

I don't know if you have read this seo vbulletin hack but it has some pretty excellent tips for SEOing vB...some of which were incorporated into 3.5. :)

*edit* hahaha..
PHP Code:

http://www.nzboards.com/forums/f41-img-srcimagesforumhome41gif-altthe-testing-zone-border0-vspace2-px-hspace5px-width40-height39-alignleft.html 


Dean C 06-30-2005 08:25 PM

Why would you want to rewrite the latest post link? It'll change every single time a bot spiders it. Also it'd almost be a duplicate content as you point out which is a bad thing.

kall 06-30-2005 08:40 PM

Quote:

Originally Posted by Dean C
Why would you want to rewrite the latest post link? It'll change every single time a bot spiders it. Also it'd almost be a duplicate content as you point out which is a bad thing.

Well, if I click on it from forumdisplay.php, it is
PHP Code:

http://www.nzboards.com/forums/t3042-i-hate-the-cold.html 

but from forumhome it is
PHP Code:

http://www.nzboards.com/forums/showthread.php?goto=newpost&t=3042 

... if they were the same link, that would cut down on the duplicate content.

vBSEO 06-30-2005 08:55 PM

Quote:

Originally Posted by Dean C
All bugs should be fixed except the quick style chooser. I don't know how I'm going to approach that one exactly yet but at the moment unless I write it into the rewrite rules to accept an optional styleid parameter.

Hi Dean,

I?m working on a mod_rewrite hack as well. Here is some code you can use to handle the ?quick style chooser? by adding ?&%{QUERY_STRING}? to .htaccess

Code:

RewriteEngine On
RewriteRule ^f([0-9]+)-([A-Za-z0-9\-]+)\.html$
forumdisplay.php?f=$1&%{QUERY_STRING} [L]
RewriteRule ^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html$ showthread.php?t=$1&page=$5&pp=10&%{QUERY_STRING} [L]

This will also add any additional parameters to the URL, and will likely help to avoid other potential issues that might occur.

Here you can find out more info about my hack, vBSEO:
https://vborg.vbsupport.ru/showthread.php?t=91362

Maybe we can do some brainstorming on potential improvements on the SEO aspects :up:

Juan

coffeefix 07-02-2005 04:37 PM

This plug in screwed up my forum, royally. Uninstalling.

Dean C 07-02-2005 05:26 PM

Quote:

Originally Posted by coffeefix
This plug in screwed up my forum, royally. Uninstalling.

Well it is clearly marked as beta, could you explain exactly what it screwed up please :)?

coffeefix 07-03-2005 04:00 AM

Quite a few of my forums became unaccessible, when clicking on a forum, you would get taken to a 404 page not found error page. Once the plug-in was turned off they became accessible again.

Dean C 07-03-2005 09:38 AM

Well it is most likely that you do not have mod_rewrite enabled. Contact your host to get it enabled and reinstall the plugin again and it should work :)

TrentTech 07-03-2005 10:45 AM

Version 1.1 works! Thanks Dean!


All times are GMT. The time now is 03:30 AM.

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.01676 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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