MyBB Community Forums

Full Version: Is there a way to remove the .php exstention?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Cause there are some forums that I go to that block the word php so the forum doesn't get hacked and I cant post a link to my forum cause of the word block. Sad
Just use this

mysite.com/myforumsfolder

you dont have to have /index.php for your forums url to work.

Take this support board for example. You can still go to this board by going to this URL: http://mybboard.com/community/
If you rename all the files to something other than .php, you have to change all the links, all the file includes, and everything too.
I've seen websites use ".html" at the end of a php file (example index.php to index.html). I'm not 100% sure but I think the server has to be setup do it can use .html or whatever you want it to end with. I'll look more into that.
probably html using an iframe?
PHP-Nuke did this. They had a script where it converts the files into HTML

You can still do all of the functions that PHP-Nuke has, the URL is just easier to remember. So, instead of index.php?action=news&commentsblahblahblah it will just be yoursite.com/article99.html
The thing you want is called "Multiviews"
Cory Wrote:PHP-Nuke did this. They had a script where it converts the files into HTML

You can still do all of the functions that PHP-Nuke has, the URL is just easier to remember. So, instead of index.php?action=news&commentsblahblahblah it will just be yoursite.com/article99.html

It's kind of like how the Archive in MyBB gold works.

And @k776, it's possible without iframe. You have to set your web server to parse all .html files with the PHP parser.
No, I was wondering if you could just remove it. For exsample:

http://www.mybboard.com/community/showthread.php?tid=2296

to

http://www.mybboard.com/community/showthread?tid=2296

Some servers allow you to do it automatically, for example:
http://www.dennistt.net/forum/showthread...d=28#pid28

But then again, you must find all instances of .php in all the links in templates/code and delete them
Pages: 1 2