| :: |
| Author |
Message |
apeee PR0

Joined: 06 Nov 2007 Posts: 60
|
Posted: Thu Dec 27, 2007 10:00 pm Post subject: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
Hi!
I installed your phpbb3 seo premod. After which I installed a mod from Lastest Posts. Installation went find and the mod worked perfectly. But the link it directs to is not working. Please check my forum index page. I'm sorry but still I can't post my website link here until and unless search engine spiders it. I hope you understand. Dcz, it is the same website which you checked earlier.
Please look for "Latest posts (View active topics)" just before forum starts. Please let me know if it can be solved? |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
apeee PR0

Joined: 06 Nov 2007 Posts: 60
|
Posted: Fri Dec 28, 2007 12:53 pm Post subject: Re: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
| hmm..how can I get this resolved? any help? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
apeee PR0

Joined: 06 Nov 2007 Posts: 60
|
Posted: Sat Dec 29, 2007 5:48 am Post subject: Re: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
Thanks.
How can I disallow them in robots.txt since every post has different urls and how should I redirect it by .htaccess. Currently when I click on them they point to page 404 not found. Is there some redirection code that I can keep in htaccess to make it work???
In zero duplicate, I've these settings currently:
Activate the Zero duplictate: Yes
Strict Mode: Yes
Posts Redirections: All
(but still when I click on the link it directs me to an error 404 page not found)
I even checked by changing strict mode to No. Post redirections: off but still it didn't worked.
Well! this question can be some kind of hectic but can be useful to me and others who adds different other mods to their forum.
Sorry for posting at the wrong thread. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Sat Dec 29, 2007 2:00 pm Post subject: Re: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
| apeee wrote: |
How can I disallow them in robots.txt |
Very simple, read the install and/or the release thread.
For the 404, there is just a useless & in the original link, which troubles us when rewriting the URL, since it's added outside of the append_sid() function.
So in index.php, just replace :
| Code: | | 'U_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", (($latest_post['forum_id']) ? 'f=' . $latest_post['forum_id'] . '&' : '') . 't=' . $latest_post['topic_id'] . '&p=' . $latest_post['post_id']) . '&#p' . $latest_post['post_id'], |
With :
| Code: | | 'U_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", (($latest_post['forum_id']) ? 'f=' . $latest_post['forum_id'] . '&' : '') . 't=' . $latest_post['topic_id'] . '&p=' . $latest_post['post_id']) . '#p' . $latest_post['post_id'], |
++ |
_________________ 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 |
|
 |
apeee PR0

Joined: 06 Nov 2007 Posts: 60
|
Posted: Sat Dec 29, 2007 2:30 pm Post subject: Re: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
Thanks it worked. Now it directs to particular thread.
| Quote: | | Very simple, read the install and/or the release thread. |
I read this
http://www.phpbb-seo.com/boards/phpbb-seo-premod/seo-url-premod-vt1549.html and phpBB3-SEO-Premod_V_3.0.0.txt but couldn't figure it out how to disallow postxx.html links. Since each post has different url like: post01.html, post02.html, post03.html, post04.html .................... so I can't just keep the each url in robots.txt with disallow. I'm searching the forum if in case I find some solution. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
Posted: Sat Dec 29, 2007 2:43 pm Post subject: Re: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
Sorry, it's only in the mod rewrite's release thread, which you should of course read as well as all the included mod release thread, can be useful.
Anyway, it's still said in the premod install :
| Quote: | __________________
NOTE: robots.txt :
__________________
You will find a sample robots.txt file in the contrib/ folder of this package.
The robots.txt file must be uploaded in your domain's root folder (can be different from the phpBB one).
You must obviously replace phpbb/ with your real phpBB installation folder (or with nothing if it's installed in the domain's root). |
The provided robots.txt is :
| Code: | User-agent: *
Disallow: /phpbb/viewtopic.php
Disallow: /phpbb/viewforum.php
Disallow: /phpbb/index.php?
Disallow: /phpbb/posting.php
Disallow: /phpbb/search.php?
Disallow: /phpbb/ucp.php
Disallow: /phpbb/mcp.php
Disallow: /phpbb/post
Disallow: /phpbb/member
Disallow: /phpbb/memberlist.php
Disallow: /phpbb/faq.php |
And
| Code: | | Disallow: /phpbb/post |
is the line that disallows post urls.
++ |
_________________ 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 |
|
 |
apeee PR0

Joined: 06 Nov 2007 Posts: 60
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
apeee PR0

Joined: 06 Nov 2007 Posts: 60
|
Posted: Sat Dec 29, 2007 7:21 pm Post subject: Re: phpbb3 seo mod + phpbb3 other mod integration? |
|
|
Well! I have one little question, currently .
| Quote: | The English speaking demo forum
This is the English speaking demo forum for the phpBB SEO premod.
Subforum: |
How did you kept a link at phpBB SEO premod in your demo forum at http://phpbb3.phpbb-seo.net/ |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

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