Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2013, 05:24 PM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to make .html extensions ?

Hello, i wanted to know how to make .html extensions to the threads in vBulletin?
my settings are -
mod rewrite is on in admin cp
RewriteRule ^threads/([0-9]+)-(.*)? showthread.php?t=$1.html - in the htaccess file
still not getting .html as extension end of thread link.
Suggestions ?
Reply With Quote
  #2  
Old 08-19-2013, 05:28 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not worth it, It won't make anything better. I'd say, save your time and resources for something else, instead of messing with your current search results.s
Reply With Quote
  #3  
Old 08-20-2013, 12:55 AM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
Its not worth it, It won't make anything better. I'd say, save your time and resources for something else, instead of messing with your current search results.s
thanks but i still want to do it anyway
anyone ?
Reply With Quote
  #4  
Old 08-20-2013, 03:44 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you want to kill your search engine rankings, just to get .html after the .php?
Reply With Quote
  #5  
Old 08-20-2013, 05:12 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to help... but I have to agree with @Zachery. Maybe a clarification on why you want to go that route. You may have a very good reason for what you are trying to do -- that I have not thought of.

For myself it looks like I would be wasting my time explaining the process, because after you went through the trouble of doing it, you would soon revert back.
Reply With Quote
Благодарность от:
CAG CheechDogg
  #6  
Old 08-21-2013, 07:43 AM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
So you want to kill your search engine rankings, just to get .html after the .php?
Quote:
Originally Posted by tbworld View Post
Trying to help... but I have to agree with @Zachery. Maybe a clarification on why you want to go that route. You may have a very good reason for what you are trying to do -- that I have not thought of.

For myself it looks like I would be wasting my time explaining the process, because after you went through the trouble of doing it, you would soon revert back.
Yes I understand the risk and still want to do that, what would I do for making the html extension to the threads ? please help me here
Reply With Quote
  #7  
Old 08-21-2013, 03:34 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Write tons of custom code to handle it, inside of the vBulletin software, then update your htaccess files for their mod rewrite rules.
Reply With Quote
  #8  
Old 08-22-2013, 05:21 PM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
Write tons of custom code to handle it, inside of the vBulletin software, then update your htaccess files for their mod rewrite rules.
can you please point me to step by step process ?
Reply With Quote
  #9  
Old 08-22-2013, 06:13 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure,

Learn PHP
Make changes.
Reply With Quote
  #10  
Old 08-25-2013, 03:54 AM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
Sure,

Learn PHP
Make changes.
If I knew that would not come asking help in the official help and support forum
Reply With Quote
Reply

Thread Tools
Display Modes

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 01:19 AM.


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.04111 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
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
  • (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_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