vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - vBSEO-style friendly urls using vB_Friendly_Url mechanism (https://vborg.vbsupport.ru/showthread.php?t=295358)

zylstra 12-24-2013 02:13 AM

Also, be aware that some of the differences between this mod and vBSEO are:
  1. In vBSEO attachments may appear to exist in the attachments/ folder, whereas Friendly URLs uses the stock reference.
  2. In vBSEO forums may appear as /[forum-name], whereas Friendly URLs showed /[forum-name] as an error (in my experience. Please check your forums with no trailing slash).
  3. Last post and first new post image links don't seem to work in Friendly URLs.
  4. vBSEO keeps casing of title, whereas Friendly URLs lowercases the entire title for use in the URL.

Above
Code:

RewriteRule ^members/([^/]+).html$ member.php [L]
Add
Code:

RewriteRule ^[^/]+/clientscript/(.+)$ clientscript/$1 [L]

dreamygirl 12-24-2013 06:54 PM

Quote:

Originally Posted by zylstra (Post 2470278)
[LIST=1][*]Last post and first new post image links don't seem to work in Friendly URLs.

Thanks for your list. I would like to see code to make /[forum-name] work without trailing slash, should be easy?

And to fix the last post and first new post links? That is a bug?

What does your included code do - keep the casing in Friendly URLs?

zylstra 12-25-2013 01:32 AM

Quote:

Originally Posted by dreamygirl (Post 2470392)
I would like to see code to make /[forum-name] work without trailing slash, should be easy?

Code:

# Add / to the end of virtual directories.  This resulted in URLs like /home/[user]/public_html/[forum-name]/ , which isn't what you want.
RewriteRule  ^([^/.]+[^/])$      $1/  [R]

You can try the above, but it didn't work for me. Perhaps try it with [L] at the end instead of [R].
Quote:

Originally Posted by dreamygirl (Post 2470392)
And to fix the last post and first new post links? That is a bug?

I don't know about this one. I reverted to vBSEO so won't be troubleshooting this mod any further.
Quote:

Originally Posted by dreamygirl (Post 2470392)
What does your included code do - keep the casing in Friendly URLs?

No it's not about the casing. Now that you mention it I can't remember what it is for. It had something to do with a css file that was called relatively (as opposed to absolutely, and so was being looked for in the /[forum-name]/ directories), but that I didn't have the time to figure out how to fix it in the skin/templates.

Wajow-community 12-27-2013 02:26 PM

what i do wrong i get this:

The requested URL /diy-do-yourself/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Wajow-community 12-29-2013 03:57 PM

nobody?

psychonikeo 01-06-2014 06:42 PM

OK, i really hope you can help us out.

We were running VB3+vBSEO where all links were rewritten as follows:

Code:

www.baseurl.com/forum/subforum_name/ID-name_of_topic.html
Now we went live and we can't get the URL's to get in that format again in vb4. Will your plugin help with that?

josegmfid 01-07-2014 05:22 PM

Hi,

How to remove ".html" ?

I like this:

vbulletin/forum-name/
vbulletin/forum-name/index10
vbulletin/forum-name/thread-title-145
vbulletin/forum-name/thread-title-145/7
vbulletin/members/admin

Wajow-community 01-13-2014 02:46 AM

its work nice for me!

thx

Wajow-community 01-17-2014 11:21 AM

I just have a problem .. When I turn on a topic then I automatically directed to the first page, even though I have responded so then I hear my reaction to be conducted if I click on the topic I have posted and not to the first article .. what now?

Ladillaxx 01-19-2014 04:24 AM

I need help.
I need to change this
Quote:

minecraft-noticias/%E2%BFqui%E3%A9n-fue-el-creador-de-minecraft-4.html
by this.

Quote:

minecraft-noticias/?Qui?n-fue-el-creador-de-Minecraft?-4.html
Please someone tells me I should change?


All times are GMT. The time now is 06:32 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.01202 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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