vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Rename file (https://vborg.vbsupport.ru/showthread.php?t=77288)

MickDoneDee 03-01-2005 11:10 PM

Rename file
 
My site is a cricket forum and cricket forum is the main keyword phrase used in searches to bring traffic to my site. I haven't got either of those keywords in my domain name so I was wondering whether I could rename the index.php file to cricket-forum-index.php to improve my ranking in the search results?

Would it work if I renamed all the template references to index.php?

Brad 03-02-2005 03:52 AM

You can rename it, just make sure you go into the admincp and navigate to

vBulletin options -> Forums Home Page Options -> Script Name for Forum Home Page

Set that to "cricket-forum-index" without the quotes. Now everything that used to lead to index.php will go to cricket-forum-index.php :)

MickDoneDee 03-02-2005 04:38 AM

That's great, Brad. In that case, do I need to change any templates?

I found two references to index.php in the footer template. Do they need to be changed with the new cricket-forum-index.php name?

<if condition="$show['admincplink']"><a href="$admincpdir/index.php?$session[sessionurl]">$vbphrase[admin]</a> -</if>

<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>

Update: I copied index.php and renamed to cricket-forum-index.php Both copies are now in the root folder so I don't need to change the above conditionals to access the admin and mod cps. The forumhome URL is now showing mydomain.com/cricket-forum-index.php


All times are GMT. The time now is 08:31 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.00945 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete