| :: |
| Author |
Message |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Thu Jul 06, 2006 1:23 pm Post subject: Should I remove the abletoknow mod first... |
|
|
Hi, Quick question before I start installing any of these useful looking tools. My site -www.dvdbargainalerts.co.uk utilises the abletoknow seo mod to rewrite urls to html. Im finding this on its own is not sufficient since I also use the MX portal and the pages on the there are not currently static. If I install the MX mod from here, should I uninstall the abletoknow mod from my forum first or should it work regardless.
Thanks. I hope I made myself clear. |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Thu Jul 06, 2006 1:30 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
Yes it is,
Actually, you'll need to uninstall the able2know mod first and to implement some HTTP 301 redirections to keep your old URLs working.
The first thing you have to do is read this post with care to choose which on of the mod rewrite you think will fir your project needs the best.
Do not hesitate to ask for more details to help you choose between the three.
Then, I'll tell you what are the easy steps to migrate without taking the risk to loose PageRank.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Thu Jul 06, 2006 2:00 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
| Ok thanks. I'll uninstall the abletoknow mod and start installing the recommended mixed mod rewrite soon. Will this take care of my mx portal too, is there further work I need to do to for this. |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Thu Jul 06, 2006 4:07 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
| Quote: |
#
#-----[ OPEN ]------------------------------------------
#
index.php
#
#-----[ FIND ]------------------------------------------
#
if (isset($display_categories[$cat_id]) && $display_categories[$cat_id])
{
#
#-----[ AFTER, ADD ]------------------------------------------
|
Ok, sorry bout this. Having some trouble with the above, my index.php doesnt seem to contain this line, or indeed any reference to $display_categories? Am I doing something stoopid (more than likely i have to say ) |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Thu Jul 06, 2006 5:03 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
| dcz wrote: |
This code was introduced in 0.21. It's possible that it was changed by a mod, but I doubt it.
++ |
Doh! I'm running xxxxxx [Version Removed for Security purposes] I've been avoiding an update on purpose because I don't want to re-apply all the other mods I installed. That's put the spanner in the works.  |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Sat Jul 08, 2006 3:44 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
| Ok, I've bitten the bullet and upgraded to the latest version. I'll let it bed in for a while then try the mod again. |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
Posted: Sat Jul 08, 2006 8:08 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
Good
All right, so here are the required redirections to migrate from the able2know mod rewrite to the mixed mod rewrite.
| Code: | RewriteRule ^phpbb2/about([0-9]+)-(.*)-([0-9]+)\.html /phpbb2/topic$1-$3.html [R=301,L]
RewriteRule ^phpbb2/about([0-9]+)-([0-9]+)\.html /phpbb2/topic$1-$2.html [R=301,L]
RewriteRule ^phpbb2/about([0-9]+)\.html /phpbb2/topic$1.html [R=301,L]
RewriteRule ^phpbb2/ptopic([0-9]+)\.html /phpbb2/index.php [R=301,L]
RewriteRule ^phpbb2/ntopic([0-9]+)\.html /phpbb2/index.php [R=301,L] |
Make sure to replace phpbb2/ with the real folder name used for your phpBB installation or with nothing if installed in the root's domain.
These rewriterule shall be implemented in the root's .htaccess, just after this part :
| Code: | Options +FollowSymlinks
RewriteEngine on
RewriteBase / |
Then, your robots.txt should be :
| Code: | User-agent: *
Disallow: /viewtopic.php
Disallow: /viewforum.php
Disallow: /index.php?
Disallow: /posting.php
Disallow: /groupcp.php
Disallow: /profile.php
Disallow: /memberlist.php
Disallow: /search.php
Disallow: /login.php
Disallow: /faq.php
Disallow: /about
Disallow: /phpbb/post
Disallow: /phpbb/updates-topic.html
Disallow: /phpbb/stop-updates-topic.html
Disallow: /phpbb/ptopic
Disallow: /phpbb/ntopic |
Then, mx Google Sitemaps can be installed, using the phpBB SEO mixed mod rewrite rewrite files
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Sun Jul 09, 2006 11:50 am Post subject: Re: Should I remove the abletoknow mod first... |
|
|
Right moving on apace
Ive installed the mixed mod rewrite now (and uninstalled the able2know mod) The urls being written to html as expected, which is great. I have 2 queries tho. My front page has a last message post box (as does yours) however the forum category link isnt getting rewritten. Is this expected or am I likely to have missed something with the install. Second, how do I add keywords to the topic titles - is this feature available to the mixed mod or is it just for the advanced?
TIA |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
badwolf
Joined: 06 Jul 2006 Posts: 14 Location: Eng-er-land
|
Posted: Sun Jul 09, 2006 1:20 pm Post subject: Re: Should I remove the abletoknow mod first... |
|
|
Thanks dcz, I feel like Im really getting somewhere today. Fixed the last message posted as per the other thread and Im installing the mx Google sitemaps. I have hit another snag now, in the control panel for the sitemap i have checked the mod rewrite box, however when I open up the sitemap.php in the browser and try to visit one of the xml links displayed there Im getting a 404 error?
I see there are additional amendments relating to mod rewriting in the contrib folder, but I am not sure which ones to apply. Any help would be greatly appreciated
Thanks |
_________________ Cheap DVDs |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
|
|