Current time: 11-25-2024, 04:43 PM Hello There, Guest! (LoginRegister)


Announcement
We have the biggest collection of MyBB Plugins here on the Net. We have currently 175+ MyBB Exclusive Plugins, 80+ MyBB Compatible MyCodes and 16+ MyBB 1.4.x Themes (Some are still under construction...) Thus, we provide you the largest MyBB Stuff on the net including tutorials. Stay with us, you will find out some more to come.
Now you can easily create your own buttons set for MyBB! Click here to have a look...
*** You cannot do your registration behind any Proxies anymore! ***
Welcome Guest[18.118.144.98], connected from Cambridge, Massachusetts United States
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TUT] Convert the pages from PHP to HTML
03-27-2010, 05:02 AM
Post: #1
[TUT] Convert the pages from PHP to HTML
Hello,
By using this tutorial you can convert your pages from php to html.
*Html pages are more important in Google (SEO)!

1- Go to ACP --> Configuration --> Server and Optimization Options

2- In "Enable search engine friendly URLs" select Enable.

3- Add the contains of htaccess.txt file to .htaccess file of your host.

4- Example:
#

# MyBB "search engine friendly" URL rewrites

# - Note, for these to work with MyBB please make sure you have

#   the setting enabled in the Admin CP and you have this file

#   named .htaccess

#

<IfModule mod_rewrite.c>

    RewriteEngine on

    RewriteRule ^forum-([0-9]+).html forumdisplay.php?fid=$1 [L,QSA]

    RewriteRule ^forum-([0-9]+)-page-([0-9]+).html forumdisplay.php?fid=$1&page=$2 [L,QSA]



    RewriteRule ^thread-([0-9]+).html showthread.php?tid=$1 [L,QSA]

    RewriteRule ^thread-([0-9]+)-page-([0-9]+).html showthread.php?tid=$1&page=$2 [L,QSA]

    RewriteRule ^thread-([0-9]+)-lastpost.html showthread.php?tid=$1&action=lastpost [L,QSA]

    RewriteRule ^thread-([0-9]+)-nextnewest.html showthread.php?tid=$1&action=nextnewest [L,QSA]

    RewriteRule ^thread-([0-9]+)-nextoldest.html showthread.php?tid=$1&action=nextoldest [L,QSA]

    RewriteRule ^thread-([0-9]+)-newpost.html showthread.php?tid=$1&action=newpost [L,QSA]

    RewriteRule ^thread-([0-9]+)-post-([0-9]+).html showthread.php?tid=$1&pid=$2 [L,QSA]



    RewriteRule ^post-([0-9]+).html showthread.php?pid=$1 [L,QSA]



    RewriteRule ^announcement-([0-9]+).html announcements.php?aid=$1 [L,QSA]



    RewriteRule ^user-([0-9]+).html member.php?action=profile&uid=$1 [L,QSA]



    RewriteRule ^calendar-([0-9]+).html calendar.php?calendar=$1 [L,QSA]

    RewriteRule ^calendar-([0-9]+)-year-([0-9]+).html calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]

    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+).html calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]

    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+).html calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]

    RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+).html calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]



    RewriteRule ^event-([0-9]+).html calendar.php?action=event&eid=$1 [L,QSA]

Author : GreyWolf & Ojoobe (Translate to English by Kevin)

Kevin's signature THE BIGGEST COLLECTION OF PLUGINS THEMES AND MYCODES FOR MYBB
Visit this user's website Find all posts by this user
Quote this message in a reply
04-24-2010, 02:27 AM
Post: #2
RE: [TUT] Convert the pages from PHP to HTML
I do not know just what this

Bane95's signature http://www.yuforum.org
Visit this user's website Find all posts by this user
Quote this message in a reply
04-24-2010, 09:03 AM
Post: #3
RE: [TUT] Convert the pages from PHP to HTML
This is a Search Engine Optimisation, by changing the ".php" URL extensions to ".html" using the ".htaccess" file and a MyBB feature... Wink

exdiogene's signature MyBBCodes.com administrator
Cool " It is not what you know that matters, it is what you do or do not do!"
Visit this user's website Find all posts by this user
Quote this message in a reply
11-24-2010, 12:17 AM
Post: #4
RE: [TUT] Convert the pages from PHP to HTML
If you want to convert the page of PHP to HTML for these there are so many advance facility can be available in all these there are several features can be possible in all these there are so many things which is great to know about it.

alexborow's signature London escorts
Visit this user's website Find all posts by this user
Quote this message in a reply
06-24-2011, 01:44 AM
Post: #5
RE: [TUT] Convert the pages from PHP to HTML
This tutorial is nicely explained us and I am satisfied with it. if you are serious about getting into this, I suggest you start with learning xhtml, then go to php.

aaronflinch's signature article submission
Visit this user's website Find all posts by this user
Quote this message in a reply
07-28-2011, 01:06 AM
Post: #6
RE: [TUT] Convert the pages from PHP to HTML
Thanks for sharing this tut is great!

Philly's signature
Visit this user's website Find all posts by this user
Quote this message in a reply
1 member(s) viewed this thread in the last 365 days :
Yeke
Post Reply 


Was This Thread Useful ?
Please Link To Us
URL
BBCode
HTML

Forum Jump:

 
New To Site ?
Some Useful Links
  • Help

  • You Might Need To Register

  • Forum Statistics

  • Mark All Forums Read

  • Forum Staff

  • Log Out
  • Contact Us

  • Mybbcodes

  • Return to Top

  • Return to Content

  • Lite (Archive) Mode

  • RSS Syndication
  • Powered By MyBB, © 2002-2024 MyBB Group.
    Golden Crown - Designed and Published by ghazal & exdiogene of MyBBCodes.
    Hosting provided by WWWHostingServer.com