MyBB Community Forums

Full Version: Portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So I was making a website for a friend, I renamed the portal to index.php and moved it from "/community", to "/". Everythings works marvelous, even my slider ;]

Problem? Try logging in from the bar on the homepage.
http://ss-pk.co.cc/

It's giving me a headache. I set my cookie path to "/"... I'm guessing it's that it isn't able to use the login.php etc. (scripts.) Just lewkin to fix this.

Problem 2:
I fixed the images, but now the print images and facebook icons only work on the homepage.
Create an .htaccess in the root folder (where the renamed portal.php is located) and paste in this code:
RewriteEngine On
RewriteBase /
RewriteRule ^portal.php$ index.php [L,R=302]
RewriteRule ^(images/.*)$ community/$1 [L,R=302]
http://error404.000webhost.com/?
When I try to login still, and the images don't load still.
Oh joy, 000webhost.com Toungue
I'm not sure they support URL rewriting.
I have to make do with what he has :[
# Do not remove this line, otherwise mod_rewrite rules will stop working
RewriteBase /

Was the original.

# Do not remove this line, otherwise mod_rewrite rules will stop working
RewriteBase /
RewriteRule ^portal.php$ index.php [L,R=302]
RewriteRule ^(images/.*)$ community/$1 [L,R=302]
what it is now
bump ;] need to fix this
If you PM me the FTP information, I can take a look for you.