How to install Google SEO 1.6.5 perfectly on MyBB 1.6.9 [A complete Guide]

6 Flares Twitter 3 Facebook 2 Google+ 0 StumbleUpon 1 Email -- Email to a friend Reddit 0 LinkedIn 0 6 Flares ×

This is a guide to “How to install Google SEO on your MyBB 1.6.9 forum”. Google SEO plugin is a awesome plugin developed by Andreas Klauer. The plugin includes SEO 404, SEO Meta, SEO Redirect, SEO Sitemap and SEO URL. Many of you may stifled installing Google SEO plugin on your MyBB forum (Including me!) . Because the plugin will work properly when you make some changes to your .htaccess file. We will discuss how to activate and enable the Google SEO plugin. It’s one of the must have to installed plugin in MyBB.

(Note: Make this installation process with your own risk, we are not responsible for any problem)

You may also like:  How to create a Mybb forum:- Step-by-Step Instructions

What is MyBB first?

MyBB is a Free and open source forum software released in 2002. MyBB has a acronym of My Bulletin Board. It’s one of a widely used and popular forum software which ranks one of top 10 forum software.

Enabling Google SEO 1.6.5 :

The complete installation process only takes time less than 20 minutes. The steps involved in installing this plugin are:

  • Meeting the minimum requirements.
  • Installing the Plugin Library on your forum.
  • Downloading the Google SEO.
  • Unpacking uploading and installing Google SEO files.
  • Editing .htaccess.

That’s it.

Meeting the minimum requirements:

You must meet the minimum requirements to installing the Google SEO plugin. The list is provided below:

  • MyBB 1.6.4 (older versions of MyBB need the Google SEO Legacy plugin)
  • PluginLibrary (11)
  • PHP 5.1.0
  • Apache (alternative webservers may work but are not supported)
  • MySQL (alternative databases are not supported at this time)

Installing the Plugin Library forum:

Plugin Library is a collection of many useful plugins. It’s like a basement for Google SEO plugin to work.

  • First download it from here. Download and unpack it.
  • Now find for “pluginlibrary.php” on your unpacked folder.
  • Go to your Cpanel (Web Host) and go to File manager.
  • Then go to public_html and go to your forum folder.
  • And go to this path “inc/plugins” and upload your ‘pluginlibrary.php’ file there.
  • Now log on to your forum and go to Admin Panel.
  • Go to Plugins  under the Configuration category.
  • Now click on Install & Activate near the PluginLibrary.
  • The PluginLibrary is successfully activated now.

Downloading the Google SEO Plugin:

First of all, download the plugin by clicking here.  Click I Agree and proceed to download. Wait till the download completes.

 Unpacking uploading and installing Google SEO files:

  • After downloading the plugin from here, unpack it on a separate new folder.Let we call the new folder be gseo.
  •  On your new folder go to the inc  folder and go to plugins folder. You will see the sub-folder named google_seo
  • Upload the entire google_seo folder to your inc/plugins in your Cpanel file manager (Upload the google_seo folder to the plugins folder) .
  • And upload the google_seo.php  file to your plugins folder.
  • Now go to your gseo folder and go to  inc sub-folder and then go to the languages subfolder.
  • And upload your files on the proper sections (Hint: The proper sections means, if you notice the arrangement of folders in the gseo folder with your forum folder on our Cpanel the both folder arrangements will be same)
  • Now go to Admin CP of your forum and go to plugins section.
  • Click Install & Activate near the newly came Google SEO.
  • The plugin will show some notifications like the things which is present below.

Google SEO plugin

  • First click on  Apply  link on the “Click to Apply changes to core files”.
  • Then click on (Configure) link and tick the Yes option on all categories.
Ticking Yes on all categories in Google SEO

Ticking Yes on all categories in Google SEO

  • Now come to your plugins page.
  • Now you can see some notification text near your Google SEO plugin showing  Add to .htaccess, copy the code given below the text.
  • Now get ready for doing your last step.

Editing .htaccess file:

Many MyBB users feels this part as the confusing on the overall installation of Google SEO plugin. But this process made simple now! Just follow the steps given below:

  • Go to your File manager.
  • Now check for the htaccess.txt file.
  • After finding the file on your forum root directory rename the htaccess.txt file to .htaccess .
  • Now click on .htaccess file and click Code Editor.
  • Paste the text you copied on the previous step an between </IfModule>to </IfModule>.
  • Now save your .htaccess file.

If you completed all the steps provided above, you are finished the installation process!! This process was completely checked by me. If you faced any problem installing the plugin, let us show your problem by using the comment form provided below this post.

Comments

  1. Nice bro!

  2. Sunil Bishnoi says:

    Nyc post bro :) nyc going !

    http://www.tricksandteach.com

  3. I loved the tutorial . A few more pictures would have made this post out of the box .

  4. @ Akshat, Sunil Bishnoi and Navneet. Thanks for your comments.

  5. Hi,

    I’ve followed this tutorial many times, but i keep getting 404 errors. Took me a whole day retrying, and still no luck.

    Do you maybe know what to do?

    • @Hi, Try to edit the .htaccess file properly as given in this tutorial. By the next time, please use your Real name to comment.

      • Hi,

        Thanks for your response.

        Yes, I’ve tried editing the .htaccess just like the tutorial saids, and tried the tutorial also many many times, but I just keep getting the 404 error.

        I dont know whats going wrong…

        What to do next?

        • Please provide me the screenshot of your forum’s plugins page and .htaccess.

          • Hi Sriram,

            Wanted to tell you that the problem has been solved!

            And I couldnt do it without your help, I wanted to thank you again for all your instructions that you have been sending me in your emails.

            Thanks again for your time,

            Kingyo

          • @Kingyo
            Happy to hear that your problem is solved. Thanks for your reply.

  6. Very good article Sriram!
    This saved me some time, Do you have idea how to configure google seo with forum name as virtual directory?
    thanks

  7. Hi Sriram,

    I would like configure the forum names like: mydomina.com/forumname/topicname

    thanks

    • You have to do a little bit changes in your .htaccess file.
      Try to edit your .htaccess file like this:
      RewriteBase /

      # Google SEO workaround for search.php highlights:
      # Make this rule the first rewrite rule in your .htaccess!
      RewriteRule ^([^&]*)&(.*)$ mydomina.com/forumname/topicname/$1?$2 [L,QSA,R=301]

  8. i a have tried many methods include your but un able to set seo enable on my mybb forums..

    everything should be right

    just getting 404 error

    i have linux multi domian hosting !!

    help me !!

    • @Bally
      Try to replace the default code in htaccess.txt with the code you got on MyBB SEO plugin and rename the ‘htaccess.txt’ file to ‘.htaccess’.

  9. Thanks a lot! I implemented this plugin. But what benefits will i get?

  10. Oh Thank You So much bro! You solved my big problem. The tutorial was very helpful but if you’ve added some screen shots then it would become a bombshell. Thanks alot!
    Raheem Khan recently posted…Perfect Online Backup Solution Cloud StorageMy Profile

  11. Hello,
    I got an error message after I upload the Google Seo plugin files to the FTP. Was the reason for that message that I uploaded Google Seo first, before I have uploaded the plugin Library Forum ?
    Here is the error message from Admin CP/Configuration/Plugins

    Warning [2] require_once(/homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/google_seo/plugin.php): failed to open stream: No such file or directory – Line: 49 – File: inc/plugins/google_seo.php PHP 5.4.12 (Linux)
    File Line Function
    /inc/plugins/google_seo.php 49 errorHandler->error
    /inc/plugins/google_seo.php 49 google_seo_info
    /admin/modules/config/plugins.php 485 google_seo_info
    /admin/index.php 523 require

    Fatal error: require_once(): Failed opening required ‘/homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/google_seo/plugin.php’ (include_path=’.:/usr/lib/php6′) in /homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/google_seo.php on

    I hope you can help me fast! Tahnk you in advance

    Best regards

    Flobse

    • @Flobse. First uninstall the Google SEO and Plugin Library plugin and activate the Plugin Library first and then activate Google SEO Plugin. Hope it works for you!

  12. i have a problem install plugin library it says that
    “The selected plugin does not have to be activated.”

    and when i continued with the next step i mean with the google seo installation. its displaying this thing.

    Add to .htaccess:
    # Some hosts require RewriteBase to make RewriteRules work.
    RewriteBase /forum/

    # Google SEO workaround for search.php highlights:
    # Make this rule the first rewrite rule in your .htaccess!
    RewriteRule ^([^&]*)&(.*)$ http://useradda.com/forum/$1?$2 [L,QSA,R=301]

    404, Meta, Redirect, Sitemap and URL are enabled. (Configure)
    Click to Revert changes to core files.

    • @ Sandeep. Click on “Click to Revert changes to core files” and add the code to htaccess.txt file and rename it to .htaccess .

      • yeah i did that… n the code is in htaccess file and i renamed it too…but stil after doing all that i got that problem

  13. Unfortunately it still doesnt work.
    1. The error message ( in Admin Cp / configuration / plugins) shows following:

    Fatal error: Cannot redeclare google_seo_plugin_info() (previously declared in /homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/google_seo/plugin.php:45) in /homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/plugin.php on line 71

    I have seen that in this error message mentioned plugin php file that there is already a part which contains googleseo
    informations.

    2. And after I installed and activated plugin library the message (in admin cp/configurations / plugin) was that it does not to have be activated. Is that message normal?

    Can you please help me.

    Thank you on advance.

    • @Flobse. The message is normal :)

      • To my first problem it cannot be normal because I cannot activate and install google seo plugin! I cannot see anymore in admin cp /configuration / plugins the other plugins. It shows only the error message.
        If I could, I would send you an screenshot of:

        the error message ( in Admin Cp / configuration / plugins), which shows following:

        Fatal error: Cannot redeclare google_seo_plugin_info() (previously declared in /homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/google_seo/plugin.php:45) in /homepages/4/d456740505/htdocs/politdebate.com/inc/plugins/plugin.php on line 71

        I have seen that in this error message mentioned plugin php file that there is already a part which contains googleseo informations.

  14. unfortunately it isnt possible to send you via this reply form an attachment. Can you give me your email address then I could send you the screenshot.

  15. I’m now a bit further, but I still have problems.
    I will send you again two screenshots where you can see the problem.
    1. After I activate Google seo plugin, the message (see screenshot 1) is showing another picture as you show us above in your advise or tutorial to install google seo. I also cannot see any code. Why?
    2. If I turn on all this google seo (in admin cp / configuration / settings / google seo) configuration parts (Enable Google SEO 404; Enable Google SEO Meta; Enable Google SEO Redirect; Enable Google SEO Sitemap; Enable Google SEO URL) the error message (see screenshot 3) is coming.

    Thank you in advance for your help!

  16. Thanks! Working without problems.
    Just add optional features changing “Forum-url”, “Thread-url” to Spanish.
    Followed this options to make it real:
    http://mybbgroup.com/mybb-google-seo-plugin-tutorial-for-mybb-1-6/

    Thanks for your work!

  17. Installed fine but when I come to edit the .htaccess file I get a an error and the page doesn’t load.

    This is my htaccess file:

    Options -MultiViews +FollowSymlinks -Indexes

    #
    # If mod_security is enabled, attempt to disable it.
    # – Note, this will work on the majority of hosts but on
    # MediaTemple, it is known to cause random Internal Server
    # errors. For MediaTemple, please remove the block below
    #

    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn’t needed, but better safe than sorry.
    SecFilterScanPOST Off

    RewriteEngine on

    # Some hosts require RewriteBase to make RewriteRules work.
    RewriteBase /forum/

    # Google SEO workaround for search.php highlights:
    # Make this rule the first rewrite rule in your .htaccess!
    RewriteRule ^([^&]*)&(.*)$ http://www.bmw-sport.net/forum/$1?$2 [L,QSA,R=301]

    # Google SEO 404:
    ErrorDocument 404 /forum/misc.php?google_seo_error=404

    # Google SEO Sitemap:
    RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

    # Google SEO URL Forums:
    RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

    # Google SEO URL Threads:
    RewriteRule ^Thread\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

    # Google SEO URL Announcements:
    RewriteRule ^Announcement\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

    # Google SEO URL Users:
    RewriteRule ^User\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

    # Google SEO URL Calendars:
    RewriteRule ^Calendar\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

    # Google SEO URL Events:
    RewriteRule ^Event\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

    #
    # If Apache is compiled with built in mod_deflade/GZIP support
    # then GZIP Javascript, CSS, HTML and XML so they’re sent to
    # the client faster.
    #

    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml

    I’ve had to undo the core changes so my board still works

    • Hi Chris,
      Copy the piece of code given below and paste it immediately after # The below probably isn’t needed, but better safe than sorry.
      SecFilterScanPOST Off

      The Code is :

      #
      # 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
      #

      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]
      # Some hosts require RewriteBase to make RewriteRules work.
      RewriteBase /

      Hope it will help you.

      • Hi Sriram,
        so my entire .htaccess file should look like this?

        # EXAMPLE .htaccess FOR MYBB WITH GOOGLE SEO URL
        # ——————————————————————-
        # This file is identical to MyBB’s htaccess.txt example file,
        # with rewrite rules for a standard Google SEO install added.
        #
        # Before using this file please make sure to:
        #
        # – replace /MyBB/ with your forum folder, e.g. / or /forum/
        # – replace yoursite/MyBB with your forum URL
        # – name the file ‘.htaccess’ (starting with the dot, no .txt)
        #
        # Alternatively you can add the required rewrite rules to your
        # existing .htaccess, the specific rules required will be displayed
        # on the plugin status page once Google SEO URL is enabled.
        # ——————————————————————-

        Options -MultiViews +FollowSymlinks -Indexes

        #
        # If mod_security is enabled, attempt to disable it.
        # – Note, this will work on the majority of hosts but on
        # MediaTemple, it is known to cause random Internal Server
        # errors. For MediaTemple, please remove the block below
        #

        # Turn off mod_security filtering.
        SecFilterEngine Off

        # The below probably isn’t needed, but better safe than sorry.
        SecFilterScanPOST Off

        #
        # 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
        #

        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]
        # Some hosts require RewriteBase to make RewriteRules work.
        RewriteBase /

        #
        # If Apache is compiled with built in mod_deflade/GZIP support
        # then GZIP Javascript, CSS, HTML and XML so they’re sent to
        # the client faster.
        #

        AddOutputFilterByType DEFLATE application/x-javascript text/css text/html text/xml

        • Hi Chris,
          No, you should have to include the code after
          # Some hosts require RewriteBase to make RewriteRules work.
          RewriteBase /
          also.

          So your .htaccess file would be like:

          # EXAMPLE .htaccess FOR MYBB WITH GOOGLE SEO URL
          # ——————————————————————-
          # This file is identical to MyBB’s htaccess.txt example file,
          # with rewrite rules for a standard Google SEO install added.
          #
          # Before using this file please make sure to:
          #
          # – replace /MyBB/ with your forum folder, e.g. / or /forum/
          # – replace yoursite/MyBB with your forum URL
          # – name the file ‘.htaccess’ (starting with the dot, no .txt)
          #
          # Alternatively you can add the required rewrite rules to your
          # existing .htaccess, the specific rules required will be displayed
          # on the plugin status page once Google SEO URL is enabled.
          # ——————————————————————-

          Options -MultiViews +FollowSymlinks -Indexes

          #
          # If mod_security is enabled, attempt to disable it.
          # – Note, this will work on the majority of hosts but on
          # MediaTemple, it is known to cause random Internal Server
          # errors. For MediaTemple, please remove the block below
          #

          # Turn off mod_security filtering.
          SecFilterEngine Off

          # The below probably isn’t needed, but better safe than sorry.
          SecFilterScanPOST Off

          #
          # 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
          #

          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]
          # Some hosts require RewriteBase to make RewriteRules work.
          RewriteBase /
          # Google SEO workaround for search.php highlights:
          # Make this rule the first rewrite rule in your .htaccess!
          RewriteRule ^([^&]*)&(.*)$ http://www.bmw-sport.net/forum/$1?$2 [L,QSA,R=301]

          # Google SEO 404:
          ErrorDocument 404 /misc.php?google_seo_error=404

          # Google SEO Sitemap:
          RewriteRule ^sitemap-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

          # Google SEO URL Forums:
          RewriteRule ^Forum-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

          # Google SEO URL Threads:
          RewriteRule ^Thread-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

          # Google SEO URL Announcements:
          RewriteRule ^Announcement-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

          # Google SEO URL Users:
          RewriteRule ^User-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

          # Google SEO URL Calendars:
          RewriteRule ^Calendar-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

          # Google SEO URL Events:
          RewriteRule ^Event-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

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


          SetEnv SEO_SUPPORT 1

          #
          # If Apache is compiled with built in mod_deflade/GZIP support
          # then GZIP Javascript, CSS, HTML and XML so they're sent to
          # the client faster.
          #

          AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml

          Hope it will works for you :)

Speak Your Mind

*

CommentLuv badge

6 Flares Twitter 3 Facebook 2 Google+ 0 StumbleUpon 1 Email -- Email to a friend Reddit 0 LinkedIn 0 6 Flares ×