MyBB Community Forums

Full Version: Need some help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want

http://www.truegamingtv.com/sponsorship.html to look like http://www.truegamingtv.com

I also want to get rid of the .html

And for the http://www.example.com/misc.php?=payments

How would I get rid of the "misc.php?" so it's only http://www.example.com/payments

I want to do this ^^ with all "misc.php?" links.
you are using SEF URLs. try using a rewrite rule for your pages
RewriteRule pages/(.*)\.php$ misc.php?page=$1

forumURL/misc.php?page=mypage1.php can be accessed using forumURL/pages/mypage1.php
(2013-04-11, 03:23 AM).m. Wrote: [ -> ]you are using SEF URLs. try using a rewrite rule for your pages
RewriteRule pages/(.*)\.php$ misc.php?page=$1

forumURL/misc.php?page=mypage1.php can be accessed using forumURL/pages/mypage1.php

I can not access pages like that. I need a way to fix this problem, someone told me to find a FRESH .htaccess file but I can't find one in my MyBB folder that I downloaded.
If you can access the ftp to upload files you should be able to upload a .htaccess file assuming you are using an apache server.

.m is correct in that the .htaccess method is what you need to follow.

Regarding your "home page" try this neat tutorial by Pavemen:

http://www.communityplugins.com/forum/sh...php?tid=46
(2013-04-11, 04:38 AM)Leefish Wrote: [ -> ]If you can access the ftp to upload files you should be able to upload a .htaccess file assuming you are using an apache server.

.m is correct in that the .htaccess method is what you need to follow.

Regarding your "home page" try this neat tutorial by Pavemen:

http://www.communityplugins.com/forum/sh...php?tid=46

Is there a way I can just completely remove "misc.php?"? I tried uploading a fresh .htaccess file and nothing changed, the links still won't direct me to where they are supposed to go. If not, I don't understand what .m is telling me to do.

I'm not trying to make www.truegamingtv.com/sponsorship.html the home page. I'm trying to make it look like my index page without the forums, just a fresh page.
What you can do - is just not use page manager at all and make your own custom page that will use the MyBB templates for header and footer. You can use it for the sponsorship page as well.

Excellent tutorial here:

http://community.mybb.com/thread-116225.html
Okay I have the pages solved, now about that "misc.php?" problem, I'm not understanding what he is telling me to do.
If you use the custom page tutorial you don't need page manager. If you are determined to use page manager then you need to use a htaccess rule.

First thing is to find your .htaccess. Once you have that then open it in Notepad++ and add the rewrite rule.

You will see other rewrite rules in there - add the one given to you by .m