Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 08-25-2013, 05:17 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not trying to make you angry, I never want to make someone feel bad. Not my nature.

But vbulletin.org is the Official vBulletin "Modifications" Site. It is not the vbulletin "help and support" forum -- that is vbulletin.com. When you purchase vbulletin, you are paying for the licensing and support of the script not free help in making modifications. I am only stating this: because many people get confused about what vbulletin.org is.

On html extensions: I never replied to your question, because you never replied to mine. I asked you why you needed to have html as your extension?

------------------------------------------------------------------------------
Note to administrators of vbulletin.org
- if I am wrong here please correct my statement.
------------------------------------------------------------------------------
Reply With Quote
  #12  
Old 08-26-2013, 02:01 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd suggest you start here: http://www.php.net and start learning php, if this is something you really want. People are unlikely to do this for you, as it serves no purpose and would be completely useless to everyone else.
Reply With Quote
  #13  
Old 08-27-2013, 02:00 PM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
I am not trying to make you angry, I never want to make someone feel bad. Not my nature.

But vbulletin.org is the Official vBulletin "Modifications" Site. It is not the vbulletin "help and support" forum -- that is vbulletin.com. When you purchase vbulletin, you are paying for the licensing and support of the script not free help in making modifications. I am only stating this: because many people get confused about what vbulletin.org is.

On html extensions: I never replied to your question, because you never replied to mine. I asked you why you needed to have html as your extension?

------------------------------------------------------------------------------
Note to administrators of vbulletin.org
- if I am wrong here please correct my statement.
------------------------------------------------------------------------------
Sorry I am rude, Its what i read somewhere gives best result with google, and my fav forum has same settings so wanted this badly.
Reply With Quote
  #14  
Old 02-25-2015, 02:42 PM
ccf ccf is offline
 
Join Date: Feb 2015
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least. The answer takes all of two seconds to give and yet no one gave it?

Here's the answer:
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/([0-9]+\-.*)?\.html /$1/$2 [NC,L]
As for why you'd want to do this... if you have a lot of in-bound links pointing to *.html files you don't want to just invalidate those links. That'll kill SEO, bookmarks, etc.
Reply With Quote
  #15  
Old 02-26-2015, 08:25 AM
cellarius's Avatar
cellarius cellarius is offline
 
Join Date: Aug 2005
Posts: 1,987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ccf View Post
Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least.
See, we have all been waiting for a true genius to finally register.
Quote:
The answer takes all of two seconds to give and yet no one gave it?
That is because the community thinks things through before answering. Now that you have provided the obvious and easy part, maybe you care to provide the other half of the answer, too? So now you can access pages with html extensions properly. Now all you have to do is teach vB to use html links internally. With your solution, all links in vB still don't have a .html extension.
Reply With Quote
  #16  
Old 02-26-2015, 10:39 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As cellarius has mentioned, you wrote a mod_rewrite rule, but you didn't actually do any of the heavy lifting to make it actually work with the application.
Reply With Quote
  #17  
Old 02-27-2015, 04:48 PM
John Lester John Lester is offline
 
Join Date: Nov 2004
Posts: 543
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ccf View Post
Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least. The answer takes all of two seconds to give and yet no one gave it?

Here's the answer:
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/([0-9]+\-.*)?\.html /$1/$2 [NC,L]
As for why you'd want to do this... if you have a lot of in-bound links pointing to *.html files you don't want to just invalidate those links. That'll kill SEO, bookmarks, etc.
Not being an ass here, I have no idea why you would have in-bound links pointing to .html or .htm files
Reply With Quote
  #18  
Old 03-04-2015, 01:28 PM
ccf ccf is offline
 
Join Date: Feb 2015
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Not being an ass here, I have no idea why you would have in-bound links pointing to .html or .htm files
The old version of vBulletin linked to .html files, adn our in-bound was built while we were using it.
Reply With Quote
Благодарность от:
John Lester
  #19  
Old 03-04-2015, 02:43 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Instead of trying to hack html into new versions of vb, why not just redirect the inbound html links to the appropriate php links in the current version?
Reply With Quote
  #20  
Old 03-05-2015, 04:10 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All you have to do is install DBSEO and configure it. It will allow you to have HTML extensions instead of PHP and a lot of other things. And you dont need any coding skills to install it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04402 seconds
  • Memory Usage 2,266KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete