MyBB Community Forums

Full Version: Address Redirection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have this question, is there a plugin or maybe a function that can be entered in MyBB gives the possibility to redirect all addresses ending in *.php to *.htm or *.html?
Not without a few hundred core edits, no.
And if there is the opportunity to redesign the Google SEO modifications so that all the addresses typed in htm or html?

Example:

Instead, the link
http://community.mybb.com/memberlist.php

redirect to this link

http://community.mybb.com/memberlist.htm
or
http://community.mybb.com/memberlist.html
MyBB Google SEO is for SEO. The extension of a URL doesn't affect SEO in any way.
I just want to prescribe all the PHP on HTM or HTML, here is my point Smile
I don't get why you want to do that... It's not going to affect anything in any way.

As I stated above, many core edits would need to be made. MyBB wasn't designed to use .html as an extension.
You could potentially use .htaccess rewrites to fake it in the browser, but it would be totally pointless and very difficult to get working right.
(2011-09-18, 05:17 PM)Steven Wrote: [ -> ]You could potentially use .htaccess rewrites to fake it in the browser, but it would be totally pointless and very difficult to get working right.

Also it would mess up Who's Online. IIRC, it checks against the requested URL, so it would show "Unknown" for the location.
Add to htaccess:

AddType application/x-httpd-php .html .htm

And then rename every file you want to say "html".