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?

Scalemotorcars 04-24-2014 08:20 PM

My brain is melting trying to figure this out. Below is an old vbseo link. Will this mod be able to duplicate it.

HTML Code:

http://www.anysite.com/forum/horse-drawn-vehicles/51378-civil-war-rucker-ambulance.html

shifaguy 05-05-2014 07:19 PM

Is it possible to change
"vbulletin/showthread.php/thread-title-145.html"
to
"vbulletin/showthread.php/145-thread-title.html"
Just wanted to put that number before the title of thread, just like vbseo.

behcet 05-29-2014 09:21 AM

how to remove forum-name ?
PHP Code:

vbulletin/thread-title-145.html 


repute 06-09-2014 06:19 PM

Since I installed the mod everything is working fine but I cannot merge topics anymore I get the following message:

Please check that the URL includes a valid threadid, "t=xxx" or postid, "p=xxx" (where xxx is a number), and is not a redirect.

How can I fix this?

Thanks,

Matt

SlashOwnsU 07-11-2014 06:57 PM

This plugin is a lifesaver ! Infinite thanks !

One problem persists though.
We have forum names with french accents, which generates forum page urls of the form
www.domain.com/forum/????/

I'm fine with that even though vbseo would remove these accents.
However, the plugin cannot find the forum assiciated with these urls (vbulletin error message).
Same if I manually type www.domain.com/forum/aeoi/

Any idea on how to fix this ?

caciocode 08-19-2014 09:23 PM

Has anyone found a way to get rid of the .html at the end? Maybe have the post id come first.

Great plugin!

thetechgenius 08-22-2014 12:55 AM

I would like to use this mod on a windows server 2008R2, but on windows servers the .htaccess is not used, Windows based servers use web.config, and its completely different code/rules. Do you have the htaccess converted code for web.config?

mehedimw 09-19-2018 06:35 AM

Quote:

Originally Posted by sodasusu (Post 2405618)
i will try thx

after install this plugin my web not opening please help me
https://vborg.vbsupport.ru/showthread.php?t=295358


All times are GMT. The time now is 09:44 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.01155 seconds
  • Memory Usage 1,766KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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