[HOW TO] Install the phpBB SEO premod on phpBB

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

[HOW TO] Install the phpBB SEO premod on phpBB

Postby dcz » Sat Jan 30, 2010 2:05 pm

[HOW TO] Install the phpBB SEO premod on phpBB

In many cases you could want to install the phpBB SEO premod on a pre-existing phpBB install (eg keep the db, user, posts et all). This is always doable, but there are many cases.
Let's start with the the simplest case :
  1. phpBB vanilla (no modification what so ever) to phpBB SEO premod same version
    Here we'll assume that we are talking about the latest version (for both phpBB and the premod) since there would be no point to do it on an outdated version (we'll talk about updating phpBB and go to the premod later).
    In this case, it's very easy, all you would have to do would eb the following :
    1. Upload all files from the root/ directory of the premod package to where your phpBB is installed, EXCEPT config.php and install/*.*
    2. At this point, your forum should work exactly the same as before.
    3. Go to example.com/phpBB/phpbb_seo/phpbb_seo_install.php while logged in as admin and founder, and just go through the install procedure. This will activate the phpBB SEO ACP module which will handle the settings.
    4. If you also want to use GYM sitemaps & RSS, go to example.com/phpBB/gym_sitemaps/gym_install.php while logged in as admin and founder, and just go through the install procedure. This will add the GYM sitemap ACP module in the phpBB SEO ACP category and will install the mod's db table.
    5. Now you can proceed with setting up all the options of the mods in acp, and generate your personalized .htaccess.
  2. phpBB vanilla (no modification what so ever) to phpBB SEO premod not same version
    Here we'll assume that we would be going from an outdated phpBB3 install to the latest premod.
    This case is in fact as easy as the previous. You would only need to additionally upload install/database_update.php and visit example.com/install/database_update.php right after (eg in point 1) above). Once done, delete install/*.* and continue as for the above case (a))

It is possible that you also need to fully clear phpBB's cache once done. To do so, go ACP and clear phpBB's cache from the main page, then, go to the style tab, and refresh all your themes, template, and why not, image packs of all your installed styles.

All right, simple hey, but how to do it when your phpBB forum has mods or additional styles ?
Styles :
  • For styles, it's quite simple, all you'll need to do will be to apply the template code changes required by the mods included in the premod. This also apply to the case where you would want to keep your customized prosilver or subsilver2, since modding them would probably be easier than modding the premod's ones.
    The complete code changes are listed in the contrib/prosilver_subsilver2_code_changes.txt file of the premod package.
    There is also a support thread here : Prosilver / subsilver2 code changes
    with in addition, code changes set to update from previous premod versions)

    In general, it's easy to adapt the code change to other styles since they are usually either based on prosilver or subsilver2, and respective code changes usually fits well.
    Of course, this is a bit more difficult if you are as well updating your forum. In such case, the easier would most likely be to first update the style and then mod it.

Mods :
  • If you don't have too many (other than the phpBB SEO ones since they will be already installed in the premod's files), the simplest (and safest) would most likely be to reinstall them on the premod.
    Otherwise, you can go for a more frontal approach : massive merging. Many software can be used to do so, winmerge (free) and beyondcompare (not free but great) being my favourites.
    Both can compare directories, so you could compare your phpBB directory to the root/ one from the premod's package.

    The idea would be to merge all the mod's code into the premod's files except the phpBB SEO mod's code. It's rather easy to find out about the phpBB SEO code since it's always surrounded by comments in the php files, but it may no be as simple with unidentified code, especially if your phpBB is not up to date (in such case, the difference could come form mods and phpBB update).
    But if you know a bit about php or if you where wise enough to properly identify all the code you added to your phpBB, then it's in the end easy.
    That's actually how I update phpBB SEO because with a bit of experience, it's even really fast to do it like this, and it's a good occasion to recheck all files now and then.

Notes :
  • No need to add that you MUST do a full backup (files + db) before you even start to think about doing this. Not that it is risky but rather that we human can't be trusted to do all perfect upon the first try and that there is never too many backups !
  • I strongly encourage you to first try all this on a local/test server. Especially if you are not in the first two cases.
    Typo wrote a good tutorial about this : How to set up a local server using xampp
  • If you did this, your phpBB was most likely already partially indexed with the regular urls. In order to keep the bit of SERPs you had, you MUST activate the zero duplicate mod (in acp) and set its post redirection to at least "guests".
    You also MUST NOT implement the robots.txt right now, but rather wait at least two month (it's really a minimum) before you do it, as explained in the install file.

;)

French-speaking version
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21411
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby theshmo891 » Sun Jan 31, 2010 12:04 am

You sir, have just made my day
THANK YOU!
theshmo891
 
Posts: 13
Joined: Tue Jan 26, 2010 5:00 am

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby bloggingtips » Wed Feb 17, 2010 9:41 am

I have added installed phpbb seo but I am not understanding what to change in the ACP and generating .htaccess file
bloggingtips
 
Posts: 1
Joined: Wed Feb 17, 2010 9:38 am

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby SoonDead » Wed Mar 10, 2010 2:28 pm

Thanks for this guide!
But there is no mention about the hardest part: languages. Even if you don't want to translate the mod, just copypasta the english parts to work with your language, you will still need to do it manually in a lot of files!

And also phpbb_seo/install.php does not exist for example. There are quite a few php-s there. Which should I run?

EDIT: I have tried phpbb_seo/hphbb_seo_install.php, it worked, but I'm not near to finished, as in the ACP it constantly reminds me that
"The various default settings such as the delimiters and suffixes still must be set up in phpbb_seo/includes/setup_phpbb_seo.php"
I don't have the permission to run phpbb_seo/includes/setup_phpbb_seo.php as I get a nice 403 every time, even if the file permissions are 666 and folders are 777.
If I don't need to run it just edit it, is there a guide how it is properly done in this case? (switching from 3.0.7-PL1 to SEO premod 3.0.7-PL1)
User avatar
SoonDead
 
Posts: 32
Joined: Wed May 20, 2009 8:39 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby SeO » Thu Mar 11, 2010 7:08 pm

it is indeed example.com/phpBB/phpbb_seo/phpbb_seo_install.php and updated, sorry.
and you do not need to run anything else, setup_phpbb_seo.php is not meant to be run from a browser either. But you can edit it with an utf8 (without BOM) capable editor such as notepad++
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby SoonDead » Fri Mar 12, 2010 7:24 am

Thanks!
Shouldn't I run phpbb_seo_related_install.php and gym_install.php too?
As these modules seem to have separate install files.
User avatar
SoonDead
 
Posts: 32
Joined: Wed May 20, 2009 8:39 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby SeO » Fri Mar 12, 2010 9:29 am

dcz wrote:If you also want to use GYM sitemaps & RSS, go to example.com/phpBB/gym_sitemaps/gym_install.php while logged in as admin and founder, and just go through the install procedure. This will add the GYM sitemap ACP module in the phpBB SEO ACP category and will install the mod's db table.


For Related topic, the mod will be installed automatically the first time you go to activate it in the extended settings (acp).
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby SoonDead » Fri Mar 12, 2010 11:07 am

Thanks a lot, now everything seems to be working fine.
User avatar
SoonDead
 
Posts: 32
Joined: Wed May 20, 2009 8:39 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby rein08 » Fri Jul 09, 2010 4:40 am

Thanks for sharing.
You got various know-hows on this uhh?
:P
rein08
 
Posts: 6
Joined: Fri Jul 09, 2010 4:33 am

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby shakensoul » Tue Jul 20, 2010 7:58 pm

I having difficulty at the last step.

I have a fresh board of phpbb3 3.0.7-PL1 and I installed the mod phpBB SEO Ultimate SEO URL V 0.6.4

I followed all the instructions and copied the files accordingly. I have changed the permissions of the folder phpbb_seo/cache/ folder to 0777

At the last step of installation, when we are asked to point the browser to the installation file of phpbb_seo/phpbb_seo_install.php, I am not able to do do.

The board prompts me to login when I point to the installation file, and after I login I get a 404 - Component not found error.

I even logged in to the ACP panel and then point to the installation file, but it again prompts me to login.

Any help would be appreciated.

My board url is http://www.myfaridabad.in/forum
shakensoul
 
Posts: 7
Joined: Tue Jul 20, 2010 7:47 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby shakensoul » Tue Jul 20, 2010 8:32 pm

Edit: I somehow managed to install the mod by manually changing the path of the file.

Now after activating the mod, the forum looks messed up and the urls are getting preficed with -http://http:// :(

Any idea ?
shakensoul
 
Posts: 7
Joined: Tue Jul 20, 2010 7:47 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby SeO » Sat Jul 24, 2010 10:14 am

SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby ROGGERS » Sun Jul 25, 2010 7:12 am

good
ROGGERS
 
Posts: 1
Joined: Sun Jul 25, 2010 7:09 am

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby ssnobben » Mon Aug 23, 2010 1:51 pm

I have a phpBB 3..7 pl1 install in a subfolder and dont know how to get this to work.

You can browser the sub folder and but when you click on the links you get an error "path not correct "

I also got this error now and cant get into my phpBB back end.

Any tips what I can do?

General Error
SQL ERROR [ mysqli ]

Unknown column 't.topic_url' in 'field list' [1054]

SQL

SELECT f.*, ft.mark_time, t.topic_id, t.topic_title, t.topic_replies, t.topic_replies_real, t.topic_status, t.topic_type, t.topic_moved_id, t.topic_url FROM (phpbb_forums f) LEFT JOIN phpbb_forums_track ft ON (ft.user_id = 2 AND ft.forum_id = f.forum_id) LEFT JOIN phpbb_topics t ON (f.forum_last_post_id = t.topic_last_post_id) ORDER BY f.left_id

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions_display.php
LINE: 111
CALL: dbal_mysqli->sql_query()

FILE: index.php
LINE: 46
CALL: display_forums()
ssnobben
 
Posts: 1
Joined: Mon Aug 23, 2010 1:41 pm

Re: [HOW TO] Install the phpBB SEO premod on phpBB

Postby thezodiac » Mon Sep 20, 2010 4:10 pm

Thanks for posting I like the amount of the tutorials on this forum :mrgreen:
thezodiac
 
Posts: 34
Joined: Mon Sep 20, 2010 10:43 am

Next

Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: YandexBot [Bot] and 5 guests