Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin Tips & Tricks
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB4 make your site more SEO friendly
almannai
Join Date: Oct 2007
Posts: 889

 

Show Printable Version Email this Page Subscription
almannai almannai is offline 01-28-2010, 10:00 PM

Although search engines are becoming much clever that ever but still a lot of webmasters argue that static urls are more friendly to be indexed by search engins than dynamic urls.

Is static urls are better than dynamic ones or not, VB4 comes with a tool to acomplish this without the need for third party tools anymore.

Steps:
1. Upload the .htaccess file to you forum directory. This file can be found in "do_not_upload\rewrite\apache2".

2. open admincp go to Server Settings and Optimization Options

3. set Friendly URLs (on top) to "Mod Rewrite Friendly URLs"

4. Save

And you are done

Notes:
1. If you are using VirtualDocumentRoot you need to un-comment # RewriteBase /forum/
and the "forum" is your forum directory path

2. You can add more rewrite rules to .htaccess for example to add for cms type the following line below entries rule:
ReWriteRule ^content/.* content.php [QSA]

3. For IIS you can find the "web.config" file in "do_not_upload\rewrite\iis7"

Enjoy
Reply With Quote
  #2  
Old 05-28-2010, 03:38 AM
raiher raiher is offline
 
Join Date: Apr 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question. I see the option for Friendly URL's without having to upload the .htaccess file. I also noticed that it is in a "rewrite" folder but when uploaded to the forum directory, it doesn't overwrite anything. Am I missing something?
Reply With Quote
  #3  
Old 05-28-2010, 04:45 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The .htaccess is for /blogs/BLOG-TITLE | /threads/THREAD-TITLE | /forums/FORUM-TITLE

Its not really needed.
Reply With Quote
  #4  
Old 07-27-2010, 05:14 PM
almannai almannai is offline
 
Join Date: Oct 2007
Posts: 889
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by raiher View Post
Question. I see the option for Friendly URL's without having to upload the .htaccess file. I also noticed that it is in a "rewrite" folder but when uploaded to the forum directory, it doesn't overwrite anything. Am I missing something?
Quote:
Originally Posted by ChopSuey View Post
The .htaccess is for /blogs/BLOG-TITLE | /threads/THREAD-TITLE | /forums/FORUM-TITLE

Its not really needed.
In order to use the Mod Rewrite Friendly URLs the appropriate rewrite rules must be defined for your server.
Reply With Quote
  #5  
Old 09-12-2010, 09:53 PM
indyonline indyonline is offline
 
Join Date: Aug 2010
Location: Indianapolis
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent. Thanks. Do you know how to get the main URL to be the sites main domain
example.com
not
example.com/content/1-the-front-page
Reply With Quote
  #6  
Old 03-25-2011, 05:42 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another way to make your site even more seo friendly is by doing this.

1. Goto admincp/settings/Message Posting and Editing Options.

2. Find "Automatically Quote Post / Thread Title", tick Yes and save.

And now you have thread title showing up in every reply, which boosts the keyword density.
Reply With Quote
  #7  
Old 03-25-2011, 11:40 PM
Ramsesx's Avatar
Ramsesx Ramsesx is offline
 
Join Date: Aug 2005
Location: Southern Germany
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #8  
Old 06-12-2011, 05:21 AM
Post Reader's Avatar
Post Reader Post Reader is offline
 
Join Date: Nov 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome it worked :d
Reply With Quote
  #9  
Old 07-25-2011, 05:25 PM
8thos's Avatar
8thos 8thos is offline
 
Join Date: Aug 2010
Location: Pensacola, FL
Posts: 772
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did this a month or two ago randomly lol.
Reply With Quote
  #10  
Old 02-25-2013, 06:31 PM
Dorgham's Avatar
Dorgham Dorgham is offline
 
Join Date: May 2012
Location: Egypt
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Useful information and so wonderful
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 04:20 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.06636 seconds
  • Memory Usage 2,282KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete