Log in

View Full Version : Remove index.php From Links ?


brandonroy
08-07-2009, 12:11 AM
I got the navbar, breadcrumb and logo taken care of. I just need to fix it in the profile:

https://vborg.vbsupport.ru/external/2009/08/26.png

It's also in the statistics block tab on the profile for "Current Activity".

How can I edit those two sections so that it is http://forums.domain.com/ when members are viewing the forums INDEX.

?

I want to remove index.php!

Brandon Sheley
08-07-2009, 12:57 AM
What I would suggest using using a 301 redirect to remove it
redirect the index.php to the root/

brandonroy
08-07-2009, 01:15 AM
I was trying that loco but it wasn't working. I have a .htaccess file in my root and in my forums directory. Here is my current htaccess codes.

Root:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^bluesrockworld.com [NC]
RewriteRule ^(.*)$ http://www.bluesrockworld.com/$1 [L,R=301]

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

Forum Directory (for vbseo sitemap):
RewriteEngine On
RewriteBase /
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

What is needed to 301 the index.php? I was using some code but took it out as it wasn't working.

brandonroy
08-13-2009, 10:51 PM
Ok I'm going to do a 301 redirect from index.php to the root / but I still want to find out what file to edit which calls the /index.php forum index link on the "current activity" in all profiles. I have searched the templates but can't find it.

I edited the breadcrumb/navbar and logo link by replacing:

$vboptions[forumhome].php$session[sessionurl_q]

With:

$vboptions[bburl]$session[sessionurl_q]

I just need help finding out what to edit to remove index.php in the current activity sections in the profiles