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 12-24-2005 07:47 PM

Rick, please read further back in the thread for the reason as to why I have not rewritten the lastpost URL :) And WOL bug is something I'm still having problems with in the beta, as it works locally but not on live forums.

XtremeOffroad 12-25-2005 02:09 AM

Clicks Install :nervous:

Reynaldovb 12-25-2005 03:20 PM

Dean:

Nice plugin. Some of my boards are in spanish so I had to edit it and make your replace lines look like this [^A-Za-z0-9-????????????]+
Of course with that change I had to modify the .htaccess file, so I changed yours into this:
Code:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME}  !-s
RewriteRule ^f([0-9]+)-(.*)\.html$ forumdisplay.php?f=$1 [L]
RewriteRule ^t([0-9]+)(((-p)([0-9]+))?)(-.*)\.html$ showthread.php?t=$1&page=$5&pp=10 [L,NE]


yayvb 12-25-2005 07:39 PM

Hi, found my way to this hack because I bought vbseo and they told me I couldn't download it because my site is inappropriate. :( Someone in the thread I created mentioned this hack. :) What's worse is today (xmas) I just got an email saying how I can save $20 when buying vbseo just for today. Grrrrrrr.

Anyway, after installing this particular hack here, I feel like it works on half of
my page content or something.
If I hover over the nav bar links they're the same as before.
If I move down and hover over 'Main Category' it links to http://www.420boards.com/forumdisplay.php?f=1
If I hover for instance the first forum in the main category I get this:
http://www.420boards.com/f103-private-staff-room.html (looks accurate right?)
But if I move to the right and click on 'Last Post' for instance, the first one goes to:
http://www.420boards.com/showthread....=newpost&t=205

Also would it be advisable or not to change the F and T prefix to keywords on the site like Marijuana for T
and Cannabis for F for my particular site? Would it allow me to have more keywords in the search engines or whatever?

Woud someone please check out my site www.420boards.com and hover to let me know if everything seems to be working correctly or incorrectly?

Thanks for the help guys this looks like a great hack!!

Dean C 12-27-2005 12:03 PM

yayvb: use this version - https://vborg.vbsupport.ru/showpost....&postcount=526

Dean C 12-28-2005 06:50 PM

Just an update. As I get closer to releasing this modification, I've made a google/yahoo sitemap generator so you can submit your correct URLs to them. I've just tested a version on a friends live site and it all seems to work fast and efficiently. Please bare with me! :D

Renat_ 12-28-2005 07:10 PM

Thank you Dean! Waiting ... :)

dn lodge 12-28-2005 09:09 PM

Dean C: I would be posting this as a new thread in the beta forum of the new version.. But it said I dint have permissions to post a new thread after logging in... so I'm posting it here..

Some things to sday about your seo methods...

You are using a bad way to redirect to new URLs. I suggest using a 301 redirect, which helps google realize that its an old url going to a new one. If you dont know how to do that, the syntax is here: http://forum.time2dine.co.nz/google/...ects-5223.html

Also, I'm begging you, you NEED to rewrite the simialar threads. It helps google get around the site much better.

Also, something else that is improtant... You might want to consider adding a redirect in .htaccess to send anyone who types site.com to www.site.com so google dosnt index......

http://www.dnlodge.com/t428-how-many...o-a-month.html
..and..
http://dnlodge.com/t428-how-many-mov...o-a-month.html

here is the .htaccess code you can use... if you dont kn ow how to do it, although you probably do, lol...

###### Redirect to www.######
RewriteCond %{HTTP_HOST} ^dnlodge.com
RewriteRule (.*) http://www.dnlodge.com/$1 [R=301,L]
RewriteRule ^$ index.php

since google sees the non-www and www versions of the page as different domains, for some reason.

Just some suggestions... hope you will put them into play. Those were the biggest things that I noticed.


*****EDIT*****
I was just browsing my forum, and I saw the "next thread" and "previous thread" links at the bottom of the thread, and noticed they wernt rewritten. So I clicked it, and the link pointed to the page from where I clicked.

To see what I mean, go to http://www.dnlodge.com/t868-reserving-names.html and at the bottom of the thread, click the "next thread" link, and it basicly links to itself.

Just a minor bug.. If I see more, I'll report them, and sorry I wasnt able to post this in the forum dedicated to this version.

Dean C 12-28-2005 11:35 PM

The old threads are redirected to the new ones using a 301 redirect. It seems I've overlooked sending a 301 redirect in my gateway script though :)! Good looking out. Also I didn't think about the previous / next links. Noted and shall be fixed.

dn lodge 12-30-2005 09:01 PM

I would like to say Dean, I dont like how you have a link to a random site in my footer. I wouldent care if it was all in text, or there was just a copyright from you (which dosnt need to be, only in the code) but a sitewide link on my pages.... I dont like that. How can I turn it into text and not a link??

I have barely any outgoing links on my site, testing some seo stuff, and this is ruining it. How can I remove your link to whatever site that is?

If it was like a link to this thread, or something HAVING to do with the subject, fine, but I dont like linking to that site, because its not relevant and isnt helping me with seo.............


All times are GMT. The time now is 11:05 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.01761 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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