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)

Bytecon 10-16-2005 07:44 PM

Dean,

What is the easiest way to upgrade?

Dean C 10-17-2005 06:56 AM

I haven't upgraded the zip file here yet, won't do til later this week so don't worry about that now :) For reference all you will need to do is delete the current two plugins that it adds, re-import the new xml file, replace the old .htaccess with the new one and upload a new php file to your forum-root directory. Not too hard eh :)?

artonex 10-17-2005 07:19 AM

i cant wait for the update Dean C :)

vau7 10-17-2005 07:25 AM

Yeah me too, but i would be sooo nice if the WOL would be corrected. Thats my only sorrow, because my members love it to look what the others are doing right now, and it will be hard for me to explain why this feature is gone.

Dean C 10-17-2005 04:39 PM

Well that's just a sacrifice you'll have to make I'm afraid

vau7 10-17-2005 04:54 PM

I feel some irony in ya words ;)

Lizard King 10-17-2005 04:54 PM

Dean is it possible an integration for vba CMPS and vba Gallery ?

RobK 10-18-2005 10:01 AM

Well, I've just fixed the "who is online" issue's ;)
Just import the xml as a plugin ...

Works fine on my forums http://drogen-forum.com/forum/

vau7 10-18-2005 10:44 AM

You're my Hero!

Thank you for sharing this!

RobK 10-18-2005 10:57 AM

Quote:

Originally Posted by vau7
You're my Hero!

Thank you for sharing this!

Hope it works for you!

I hope this little fix will find its place into the original plugin-package asap.

If there any other additions just let me know ...

vau7 10-18-2005 11:00 AM

Yeah, it works perfectly!

JTyson 10-18-2005 11:03 AM

Quote:

Originally Posted by RobK
Well, I've just fixed the "who is online" issue's ;)
Just import the xml as a plugin ...

Works fine on my forums http://drogen-forum.com/forum/

Thanks, is there anyway to make it so the url is the rewritten one instead of the proper vb url?

RobK 10-18-2005 11:06 AM

Thats for sure possible, but really useless i think - sorry ;)

JTyson 10-18-2005 11:21 AM

No probs, if it's possible i'll figure it out, the reason behind my asking is because the rewritten url's provide more relevant adsense ads which will result in more click throughs.

Dean C 10-18-2005 03:18 PM

Good job RobK :) There will (technically) be no down-side to pointing to the old URL as with the new system it'll redirect the old URLs to the new ones :)

You don't mind if I include your little fix in the updated package do you?

RobK 10-18-2005 03:21 PM

Quote:

You don't mind if I include your little fix in the updated package do you?
No problem!

gael11 10-18-2005 03:31 PM

No problem too !!!
Easy and fast install !!!
Good job and big thanks !!!

JTyson 10-18-2005 05:07 PM

Quote:

Originally Posted by Dean C
Good job RobK :) There will (technically) be no down-side to pointing to the old URL as with the new system it'll redirect the old URLs to the new ones :)

Stop teasing ;) oh well it will give me time to convert the rest of my sites url's to this format, nearly there :)

Unexplained.tv 10-20-2005 02:59 PM

Hey Dean,

I appreciate the fact that you, and the more respectable Authors of Pug-ins, hacks and so forth, come in and discuss your work. I do have a question, which may have been answered elsewhere in the long thread here, and that would be: Are there any plans to rework the re-write, so that it re-writes almost all, if not all of the links? The most important for most of us, would deal with any and all threads and/or forums.

Also, if this is planned, when could we be seeing this new version out? I know you’re busy with other things/ including real life, and I hope you don’t mind my asking such a question.

Best Regards,

-Bob

Dean C 10-20-2005 09:06 PM

The reason I have not made it rewrite ALL links, is that there are some pages that don't need rewriting at all. If you find a page that will contain links that need rewriting, let me know :)

Just another update, i'm moving out this next week so bit more of a delay I'm afraid (til at least end of October) :(

croportal 10-20-2005 09:51 PM

i have uploaded and its not working

Bytecon 10-20-2005 09:57 PM

Maybe you could provide a few more details?

Unexplained.tv 10-21-2005 12:19 AM

Quote:

Originally Posted by Dean C
The reason I have not made it rewrite ALL links, is that there are some pages that don't need rewriting at all. If you find a page that will contain links that need rewriting, let me know :)

Just another update, i'm moving out this next week so bit more of a delay I'm afraid (til at least end of October) :(

The main one I'd like to see have a rewrite, would be the last post link... How hard would it be to add that extra rewrite to your code? Right now, it by passes the rewrite and gives out the normal php formatting. I use your Add-on here, for its keyword usage and would appreciate it, if you would add that extra piece on.

Dean C 10-21-2005 09:09 AM

It wouldn't be hard at all. But it would mean the same content has two URLs which is redundant. The last post URL serves a dynamic purpose, allowing you to go to the most recent post in a thread since you last visited the forums. The content for this URL changes all the time, hence IMO it should not be rewritten into a static file.

Dean C 10-21-2005 09:28 AM

Quote:

Originally Posted by croportal
i have uploaded and its not working

There is little point installing this modification on a foreign board I'm afraid. It strips foreign characters which would hold no semantic benefit for your static URLs as a lot of words will have their characters stripped :)

:Judge: 10-21-2005 04:43 PM

Took a min or two to start working, I waited before I said anything. :)

Works like a charm!

vau7 10-21-2005 07:47 PM

Quote:

Originally Posted by RobK
Well, I've just fixed the "who is online" issue's ;)
Just import the xml as a plugin ...

Works fine on my forums http://drogen-forum.com/forum/

RobK, could it be that the server load viewing the WIO is increasing, the online.php loads very slow.

jugo 10-22-2005 04:47 AM

If anyone's interested, I have this working with vBExternal https://vborg.vbsupport.ru/showthread.php?t=83005

see WIP here: http://www.ejuan.com/index2.php

Dean C 10-22-2005 09:11 AM

Good point, external.php need rewriting *takes note*

tokenyank 10-22-2005 01:29 PM

Let me first apologise in advance if this has been addressed previously... I did not read all the posts in this thread, but I'm experiencing the following issue:

Installed the hack and everything works fine with exception of the Online list... When viewing the online list, locations show up like this:

Quote:

Unknown Location
/forums/f34-cloth-nappies.html
Is there a way that this can be changed back to the way it used to be with clickable links or do I just have to live with "Unknow Location" errors for the sake of better SEO?

Thanks in advance for any advice, and great mod

*clicks install*

EDIT:
mental note: Thread search tool is my friend... I have just seen your reply regarding this... I do hope that this can be sorted at some point though as someone else said, it does make the more non-technical members think there is a problem with the board.

JTyson 10-22-2005 01:55 PM

https://vborg.vbsupport.ru/showpost....&postcount=208

:)

dn lodge 10-22-2005 02:30 PM

I've got a question. Is there anyway to get it to display the url as the following...

forum-4.html for the id = 4 forum
forum-15.html for the id = 15 forum
and so on for all my 44 sections?

I'm doing this because I just switched from phpbb, and the url rewrite changed the link to forum-4.html for my forums, just having the id number vary. And since the PR just updated, now all my vB catagories are PR 0. If I can get it to display as forum-4.html for the id = 4 forum the vb catagories will have the PR of the old phpbb catagory.

contact:
aim: daredevilbp
msn: neomania60@hotmail.com

Site with vB: www.dnlodge.com
Olf phpBB site with the old mod rewrite: www.dnlodge.com/phpbb

-Brandon

tokenyank 10-22-2005 03:10 PM

Quote:

Originally Posted by JTyson

Thank you sir... Installed it, now just to see if it works! :D

deathemperor 10-22-2005 06:54 PM

Dean, how about letting none-English boards have this buy just rewrite the url to forum123.html instead of forum123-forum-name.html ?


this one will be happy too:
Quote:

Originally Posted by dn lodge
I've got a question. Is there anyway to get it to display the url as the following...

forum-4.html for the id = 4 forum
forum-15.html for the id = 15 forum
and so on for all my 44 sections?

I'm doing this because I just switched from phpbb, and the url rewrite changed the link to forum-4.html for my forums, just having the id number vary. And since the PR just updated, now all my vB catagories are PR 0. If I can get it to display as forum-4.html for the id = 4 forum the vb catagories will have the PR of the old phpbb catagory.

contact:
aim: daredevilbp
msn: neomania60@hotmail.com

Site with vB: www.dnlodge.com
Olf phpBB site with the old mod rewrite: www.dnlodge.com/phpbb

-Brandon
dn lodge is offline Report Bad Post Reply With Quote


dn lodge 10-22-2005 07:08 PM

yes I would be happy. hehe. Please PM me if there is any existing solution to this. I can pay anyone who can get this to work, so contact me.

sportsoutlaw 10-23-2005 12:52 AM

Is there an estimated time that this will come out of beta?

I have never used any SEO hacks for my forum, but this one looks like it could be very beneficial.

99SIVTEC 10-23-2005 02:41 AM

Yeah, but that kind of defeats the purpose of the hack. SOme search engines still weight heavily on keywords in the url.

Quote:

Originally Posted by deathemperor
Dean, how about letting none-English boards have this buy just rewrite the url to forum123.html instead of forum123-forum-name.html ?


this one will be happy too:


dn lodge 10-23-2005 10:08 AM

No it dosnt. The hack is supposed to change your urls into html files, which is alot easier for search engines to crawl and index. The kewwrod in the HTML file is basicly just a plus, and may help your rankings alittle.

Quote:

Originally Posted by 99SIVTEC
Yeah, but that kind of defeats the purpose of the hack. SOme search engines still weight heavily on keywords in the url.


dn lodge 10-23-2005 10:43 AM

Dean, you may want to put this in the donwload file incase anyone else needs to do what I had to do for any reason.

The following insturctions makes...

http://www.dnlodge.com/f14-get-appraised.html
be displayed as...
http://www.dnlodge.com/forum-14.html

I had to do this because I got vb after the PR yupdate, and I wqanted my catagories to have at least a PR of one, and I didnt want to wait 3 more months, so I changed the code to give me the url my mod_rewrite did in my old phpbb.

Heres how I did it...

Here is the .htaccess that is included in this mod.....
Code:

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

Here is our first example..... (in .htaccess)

RewriteRule ^f([0-9]+)- ([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]
..................1....2......3...........4....... .................................................

1. the "f" at #1 creates the f in "f14-get-appraised.html"
2. the "([0-9]+)" created the number id of the forum "f14-get-appraised.html"
3. the "-" creates the dash in the url "f14-get-appraised.html"
4. ([A-Za-z0-9\-]+) creates the name of the forum using the alphabet "f14-get-appraised.html"

To make it display as forum-14.html all I did was edit that line to make it like this...
RewriteRule ^([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]

and then I edited some lines in the XML file to make the forum home display the right url. If you dont do this, you will get a page cannot be found. I dont hvae time to explain what I've done, so if anyone else want to continue for me.... go ahead.

If you want to see the final results in what I did, visit www.dnlodge.com and you can click on one of the forum catagories to see i renamed the URL.

-Brandon

deathemperor 10-23-2005 11:05 AM

Quote:

Originally Posted by dn lodge
Dean, you may want to put this in the donwload file incase anyone else needs to do what I had to do for any reason.

The following insturctions makes...

http://www.dnlodge.com/f14-get-appraised.html
be displayed as...
http://www.dnlodge.com/forum-14.html

I had to do this because I got vb after the PR yupdate, and I wqanted my catagories to have at least a PR of one, and I didnt want to wait 3 more months, so I changed the code to give me the url my mod_rewrite did in my old phpbb.

Heres how I did it...

Here is the .htaccess that is included in this mod.....
Code:

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

Here is our first example..... (in .htaccess)

RewriteRule ^f([0-9]+)- ([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]
..................1....2......3...........4....... .................................................

1. the "f" at #1 creates the f in "f14-get-appraised.html"
2. the "([0-9]+)" created the number id of the forum "f14-get-appraised.html"
3. the "-" creates the dash in the url "f14-get-appraised.html"
4. ([A-Za-z0-9\-]+) creates the name of the forum using the alphabet "f14-get-appraised.html"

To make it display as forum-14.html all I did was edit that line to make it like this...
RewriteRule ^([0-9]+)-([A-Za-z0-9\-]+)\.html$ forumdisplay.php?f=$1 [L]

and then I edited some lines in the XML file to make the forum home display the right url. If you dont do this, you will get a page cannot be found. I dont hvae time to explain what I've done, so if anyone else want to continue for me.... go ahead.

If you want to see the final results in what I did, visit www.dnlodge.com and you can click on one of the forum catagories to see i renamed the URL.

-Brandon

would you like to share the xml file of the edited plugin ?

also what about the showthread url if I don't want to display the thread title on url ?

thanks for your help


All times are GMT. The time now is 02:55 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.01812 seconds
  • Memory Usage 1,840KB
  • 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
  • (2)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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