Log in

View Full Version : Rename file


MickDoneDee
03-01-2005, 11:10 PM
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