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)

Erwin 12-06-2002 02:05 AM

You need to edit your postings.php - there is a post in this thread on how to do this already.

The Piper 12-06-2002 09:47 AM

Quote:

Originally posted by Erwin
You need to edit your postings.php - there is a post in this thread on how to do this already.
I installed this fix, and although I haven't even tested it, it only works for merging threads. I still get the same problem when trying to move threads, the forumjump doesn't show up, so all I get is a link to "Please select forum:", and no forum shows up. That is, I can't move threads at all. Any help would be greatly appreciated.

Erwin 12-06-2002 11:01 PM

This hack doesn't affect forumjump, so I don't know why your forumjump is like that to be honest.

fastforward 12-07-2002 01:36 AM

Quote:

Originally posted by The Piper

the forumjump doesn't show up, so all I get is a link to "Please select forum:", and no forum shows up. That is, I can't move threads at all. Any help would be greatly appreciated.

Have you set <base href="http://yoursite.com/forum/">
in the header?

If that still doesn't work, you may have to edit the window.location() javascript functions in the templates and prefix them with a forward slash or the forum url.

fello9 12-10-2002 05:53 AM

Anyone knows what I need to code the "page navigation" numbers to be Search Engine Friendly?

I know it can be done, because I saw these guys have done it at: http://www.techimo.com/forum/f3/index.html . This links look
like this:
http://www.techimo.com/forum/fid3/dp1000/so/sflastpost/pp50/pn2/index.html .

tpearl5 12-23-2002 06:31 PM

I ran into a new problem. I recently changed servers and it seems as though mod_rewrite isn't working at all. Every page comes up with a 404.

Take a look: http://board.midibuddy.net

No links work!! AHH!!

mod_rewrite is enabled on the server. Everything should work fine, right? This is what my .htaccess file looks like:
PHP Code:

RewriteEngine on 
RewriteRule 
^f([0-9]+)/?$ forumdisplay.php?forumid=$1&s=$[L
RewriteRule ^t([0-9]+)\.htmlshowthread.php?threadid=$[L]
RewriteRule ^t([0-9]+)-([0-9]+)\.htmlshowthread.php?threadid=$1&perpage=15&pagenumber=$[L]
RewriteRule ^f([0-9]+)-([0-9]+)/$ forumdisplay.php?forumid=$1&daysprune=1000&sortorder=&sortfield=lastpost&perpage=40&pagenumber=$[L]
RewriteRule ^[ft]([0-9]+)/s([^/]*)/(.+)$ /$[L


HELP!!! :eek:

codewebs 01-05-2003 02:39 PM

i know this is a old post, but when i use the fix for whos online it says viewing thread without the link to the thread and the same as viewing forum

cyc 01-16-2003 08:00 AM

Hi guys

Geat hack.....its the sole reason why i converted from yabbse to vbulletin yesterday :)

I've installed it but i think its still using sessions http://www.cyclingforums.com/f48/s isnt this a problem for google?

It would be good to be able to get rid of sessions unless they were required

great hack btw :)

cheers!

fastforward 01-16-2003 12:36 PM

Quote:

Originally posted by cyc
Hi guys

Geat hack.....its the sole reason why i converted from yabbse to vbulletin yesterday :)

I've installed it but i think its still using sessions http://www.cyclingforums.com/f48/s isnt this a problem for google?

It would be good to be able to get rid of sessions unless they were required

great hack btw :)

cheers!

You probably don't want to rely on the file in the first post. :) Use the following rewrite rules and make sure you change all the templates to remove any passing of the sessionhash. Obviously you will also need to force everybody to use cookies on your board.
Code:

RewriteEngine on
RewriteRule ^/f([0-9]+)/?$ /forumdisplay.php?forumid=$1 [L]
RewriteRule ^/f([0-9]+)/s?$ /forumdisplay.php?forumid=$1 [L]
RewriteRule ^/t([0-9]+)\.html$ /showthread.php?threadid=$1 [L]
RewriteRule ^/t([0-9]+)/s([^/]?)\.html$ /showthread.php?threadid=$1&s=$2 [L]
RewriteRule ^/s([^/\?]0-9)+/$ /index.php?s=$1 [L]


Haakon 01-16-2003 02:07 PM

This hack is even better than you think cyc, my small board gets about 1000 uniques a day because of this genious hack (got to have some page rank though, which you have) :D

But I really want to second fello9`s question about the secret to enable this hack for page navigation. Do you have an idea fastforward, or anyone?

Thanks,
Haakon


All times are GMT. The time now is 08:23 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.01363 seconds
  • Memory Usage 1,754KB
  • 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)bbcode_php_printable
  • (3)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