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)

MamboCube 02-11-2006 09:42 AM

found it now, because im on a Mac, it doesn't show the .htaccess file. Although most mac owners probably know this it may be an idea to put this down in the install guide or in the first post incase newbies (like myself) think there is a problem with the download.

Also is there anyway i can remove the copyright? through donation etc?

Immortal 02-11-2006 03:32 PM

Quote:

Originally Posted by Loco.M
sounds good, anyway i can help ?

Not currently, thanks for the offer.

Quote:

Originally Posted by adhari_com
does it function properly with apache 1.3 installed as CGI?

Should as long at mod_rewrite is enabled.

Quote:

Originally Posted by MamboCube
Also is there anyway i can remove the copyright? through donation etc?

Yup, just PM me with how much you think is right, and I'll let ya know :)

Impreza04 02-12-2006 09:16 PM

Quote:

Originally Posted by Immortal
Quote:

Some of my member looks look like this

http://www.friendcodes.com/forums/m.../corey-1.html05

That person's user name is not "corey". THat is actually my user name.
I've seen this a few times. However, I cannot reproduce this on a unhacked forum.

Im getting this too, Every user up userid 9 works fine, then user id 10's link becomes u-impreza04-1.html1 for userid 11, u-impreza04-1.html0 for user 10 etc etc

King Internet 02-13-2006 08:34 PM

I've looked at the various free SEO stuff for vBulletin, and have wondered this: why do the rewrite urls have .html on them? It looks ugly. It'd be awesome to have no extentions so vBulletin matches the rest of my site.

Immortal 02-13-2006 09:19 PM

Quote:

Originally Posted by King Internet
I've looked at the various free SEO stuff for vBulletin, and have wondered this: why do the rewrite urls have .html on them? It looks ugly. It'd be awesome to have no extentions so vBulletin matches the rest of my site.

.html or any extension helps mod_rewrite find the correct ID. IMHO, I think .html is the best, and what I use on my personal site. But then again, that's just my opinion :)

rootnik 02-14-2006 01:08 AM

Does anybody have a working htaccess.ini for the isapi_rewrite module(ISS)?

Immortal 02-14-2006 02:08 AM

AWS said he had to modify it a bit for IIS. You may want to PM him :)

AWS 02-14-2006 02:55 AM

Quote:

Originally Posted by rootnik
Does anybody have a working htaccess.ini for the isapi_rewrite module(ISS)?

Use the rules from the .htaccess file in the zip. Take out the rerrite engine on line and change the ^ at the beginning of each line to a /.

MamboCube 02-14-2006 02:58 PM

not quite sure if this is working for anybody else but i cant seem to use any of the thread tools, i just get an error message saying it cant find the url, anyone know about this?

yayvb 02-14-2006 06:00 PM

Hi, I think that I have made a lot of progress with the problems that I was having earlier (ie. only the first 'last thread' on forum page would be rewritten and also if multi page thread, page 1 worked but others directed to wrong threads).

What I did was use the updated code from Immortal found here:
https://vborg.vbsupport.ru/showpost....&postcount=316

I updated the code but also received the parse error that another member had mentioned. I saw that it looks like a previous } was no longer needed.

So I found:
Code:

#------------------------------
# misc pages
#------------------------------
$output = str_replace("search.php?do=getnew","search-getnew.html",$output);
$output = str_replace("search.php?do=getdaily","search-getdaily.html",$output);
$output = str_replace("forumdisplay.php?do=markread","markread.html",$output);
}

and just removed the } and that got rid of the parse error.

------------------------------------------------

Now everything is rewritten appropriately except multi pages aren't working. If you click on a page 2 link I get a page cannot be displayed message. I think it has something to do with my .htaccess file although I DO see the line that should take care of this.

Here are the links to a 1st and 2nd page of a multi page thread.
Before using vRewrite:
Page 1 link:
http://www.420boards.com/showthread.php?t=385

Page 2 link:
http://www.420boards.com/showthread.php?t=385&page=2

After vRewrite (multi page thread)
Page1 link:
http://www.420boards.com/smokers-lou...rbowl-385.html


Page2 link: (page cannot be displayed but same link as before rewrite)
http://www.420boards.com/showthread.php?t=385&page=2

Here is the htaccess file that I am using
Code:

RewriteEngine On
RewriteBase /
# Default

RewriteRule ^f-(.*)-page-(.*)-(.*).html forumdisplay.php?f=$1&page=$2&order=$3
RewriteRule ^f-(.*)-(.*).html forumdisplay.php?f=$2 [L]
RewriteRule ^u-(.*)-(.*).html member.php?u=$2 [L]
RewriteRule ^memberlist-(.*)-(.*)-(.*)-(.*).html memberlist.php?ltr=$1&pp=$2&sort=$3&order=$4 [L]
RewriteRule ^(.*)/t-(.*)-(.*).html showthread.php?t=$3&is_vrewrite [L]
RewriteRule ^(.*)-(.*)-lastpost.html showthread.php?goto=lastpost&t=$2 [L]
RewriteRule ^(.*)-(.*)-newpost.html showthread.php?goto=newpost&t=$2 [L]
RewriteRule ^(.*)-(.*)-lastpost.html showthread.php?goto=lastpost&t=$2 [L]
RewriteRule ^(.*)-(.*)-(.*).html showthread.php?goto=$3&t=$2 [L]
RewriteRule ^(.*)/t-(.*)-(.*)-page-(.*).html showthread.php?t=$3&page=$4 [L]
RewriteRule ^markread.html forumdisplay.php?do=markread [L]
RewriteRule ^(.*)/p-(.*)-(.*).html showthread.php?p=$3 [L]
RewriteRule ^print-(.*)-(.*).html printthread.php?t=$2 [L]
RewriteRule ^sendtofriend-(.*)-(.*).html sendmessage.php?do=sendtofriend&t=$2 [L]
RewriteRule ^search-(.*).html search.php?do=$1 [L]
RewriteRule ^(.*)-(.*)/newthread.php newthread.php?do=newthread&f=$2[L]
RewriteRule ^(.*)/newpostnoquote-(.*).php newreply.php?do=newreply&noquote=1&p=$2[L]
RewriteRule ^(.*)/newpost-(.*).php newreply.php?do=newreply&p=$2[L]
RewriteRule ^p-(.*).html showpost.php?p=$1&postcount=$1 [L]



# Other options
RewriteRule ^siteforums/(.*)-(.*).html forumdisplay.php?f=$2 [L]
RewriteRule ^members/(.*)-(.*).html member.php?u=$2 [L]
RewriteRule ^(.*)/(.*)-(.*).html showthread.php?t=$3 [L]

# Sitemap
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]



All times are GMT. The time now is 09:25 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.02417 seconds
  • Memory Usage 1,758KB
  • 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
  • (7)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