vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Spider friendly URLs (https://vborg.vbsupport.ru/showthread.php?t=18035)

eva2000 05-26-2001 01:52 AM

okay i already have mod_rewrite so what do i do for the first step something like this ?

Quote:

<VirtualHost 157.238.46.185>
ServerAdmin webmaster@animeboards.net
DocumentRoot /home/usr1/public_html
BytesLog domlogs/animeboards.net-bytes_log
ServerName www.animeboards.net
ServerAlias animeboards.com *.animeboards.com
CustomLog domlogs/animeboards.net combined
ScriptAlias /cgi-bin/ /home/usr1/public_html/cgi-bin/
RewriteEngine on
RewriteRule ^/f([0-9]+)/s([^/]+?)$ /forumdisplay.php?forumid=$1&s=$2 [L]
RewriteRule ^/t([0-9]+)/s([^/]+?)\.html$ /showthread.php?threadid=$1&s=$2 [L]
RewriteRule ^/s([^/])+?/$ /index.php?s=$1 [L]
</VirtualHost>

fastforward 05-26-2001 01:59 AM

That's correct as long as your foums are in the web root. If not, you need to change those to something like:
Code:

RewriteRule ^/forums/t([0-9]+)/s([^/]+?)\.html$ /showthread.php?threadid=$1&s=$2 [L]

eva2000 05-26-2001 02:02 AM

okay gonna implement this now hehe

eva2000 05-26-2001 02:38 AM

okay installed one problem i sthe showthread links for

Go to first unread post go to

http://animeboards.com/# now
also

Admin options for

split

merge

move

stick/unstick threads all don't work

as well as view mod queue, view attachment queue etc

they are redirect to my front page since i have an htaccess for error redirects to my front page

fastforward 05-26-2001 02:51 AM

Quote:

Originally posted by eva2000
okay installed one problem i sthe showthread links for

Go to first unread post go to

http://animeboards.com/# now
Not sure what you mean here.
Quote:

also

Admin options for

split

merge

move

stick/unstick threads all don't work

as well as view mod queue, view attachment queue etc

they are redirect to my front page since i have an htaccess for error redirects to my front page
I really can't see how the changes could in anyway affect these. You did only change the links in the forumhome and forumdisplay templates right?

The links you're talking about don't even point to pages that use these templates. they are still in their original form and point to postings.php.

eva2000 05-26-2001 02:57 AM

Quote:

Originally posted by fastforward

Not sure what you mean here.

I really can't see how the changes could in anyway affect these. You did only change the links in the forumhome and forumdisplay templates right?

The links you're talking about don't even point to pages that use these templates. they are still in their original form and point to postings.php.

well i'm using the drop downmenu version of the admin options

for the other problem i.e.

this thread the link to

http://vbulletin.com/forum/showthrea...114233#newpost

goes to

http://vbulletin.com/forum/# on my forum

fastforward 05-26-2001 03:07 AM

Show me the Rewrite directives you put in your httpd.conf.

And what's this admin drop down options thingy you're talking about?

And the only templates changed were the ones in the instructions. One occurance in each template?

eva2000 05-26-2001 03:09 AM

okay i fixed the goto new or unread thread link by editing the showthread_firstunread template

Quote:

<a href="showthread.php?s=$session[sessionhash]&threadid=$threadid$newpostlink">Go to first unread post</a> <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid$newpostlink"><img src="{imagesfolder}/firstnew.gif" border="0" alt="first unread" align="absmiddle"></a>
but it seems the admin options drop down menu takes the relavtive url of the thread

so if it's

http://animeboards.com/showthread.php?s=&threadid=18752

it will work but

http://animeboards.com/t18752/s.html will

look for

http://animeboards.com/t18752/s.html/postings.php or something

eva2000 05-26-2001 03:12 AM

these

eva2000 05-26-2001 03:12 AM

and this


All times are GMT. The time now is 09: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.01287 seconds
  • Memory Usage 1,739KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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