REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTACCESS
#1
Greetings,

Labrocca hope you are fine and doing good. can you please help me with .htaccess file?
Reply
#2
I would say post the question up. You may find others can help also.
FTW Forum <-- Home of the DAMNED!
I have a weird thing that happens to my sigs. Its call moderation lol
Reply
#3
Yes please just post the question.
Reply
#4
I need help with redirection please. My forum URL is

http://certcollection.org/forum/
or
http://certcollection.org/forum/index.php

What I want to do is when someone goes forum/index.php it should be redirected to forum/

Thx
Reply
#5
BTW I tried this but no luck

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1
Reply
#6
You can do this in your control panel, eg CPanel.

And what's the difference between /forum/ and /forum/index.php anyways??
Reply
#7
well difference is from SEO point of view. Last time on my old domain my index.php had a page rank and forum/ had nothing.
Reply
#8
Because /forum/ isn't a page. When you view /forum/ you view the index, even though it doesn't say index. It loads the PHP from index.php when you just view /forum/, does it not??
Reply
#9
Matt you are right, I don't have any problem in what you've said above. But I guess you need to read about SEO.
Reply
#10
I just make sure most instances of index.php are just /.

It's an easier more SEO friendly method. You can change the header template which I believe is where the only home link is anyways.

Also in global change this line:

$navbits[0]['url'] = $mybb->settings['bburl']."/index.php";

To this:

$navbits[0]['url'] = $mybb->settings['bburl']."/";

That should do it. Smile
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  .htaccess help Shekii1 4 1,214 Sep 12, 2012, 10:55 AM
Last Post: Shekii1
  Admin .htaccess x:Biohazard:x 1 1,114 May 16, 2010, 11:03 PM
Last Post: MyBBâ„¢
  .htaccess questions s9TeeN 5 2,048 Nov 05, 2009, 08:04 PM
Last Post: s9TeeN

Forum Jump:


Users browsing this thread: 1 Guest(s)