[SOLVE] advanced url : no archive doesn't work

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

[SOLVE] advanced url : no archive doesn't work

Postby alex13410 » Sun Jan 08, 2012 4:02 pm

hello,
I changed simple seo url to advanced seo url. before my url were /forum/forum5/topic7800.html and now forum/title-topic-tXX.html
For this I have sql rewritting activated, virtual file off, then I configured the url of the forum and copy the new htaccess file that was generated (I said that I used more option because my htaccess file is in /forum/ and not www) and I reset and resynchronize the url. The only worry is that since no archive function of the acp does not work. I used no archive function of the acp to put some forum noindex, with the solution had indicated dcz, by replacing in phpbb_seo/phpbb_seo_meta.php
Code: Select all
$this->meta['robots'] .= (!empty($this->meta['robots']) ? ',' : '') . 'noarchive';
by
Code: Select all
$this->meta['robots'] = 'noindex,follow';

now when I select some forum with the function noarchive of the acp they do not go into noindex.
do well the transition to advanced mode that caused this problem and is there something to do?
thank you in advance for your help, best regards.
Last edited by alex13410 on Thu Jan 17, 2013 7:59 am, edited 2 times in total.
mon forum sur le detecteur de metaux http://www.detecteur-de-metaux.com info sur les detecteurs de metaux
alex13410
PR1
PR1
 
Posts: 103
Joined: Mon Apr 12, 2010 5:28 pm

Advertisement

Re: advanced seo url : no archive of the acp doesn't work

Postby Stephen26 » Sun Jan 08, 2012 4:51 pm

By replacing that code in /phpbb_seo/phpbb_seo_meta.php you deactivated the noarchive function. Why exactly did you change it?
I install and configure phpBB-SEO (and other mods) for a fair price and very fast. If you are interested simply send me a private message.
Stephen26
phpBB SEO Team
phpBB SEO Team
 
Posts: 434
Joined: Mon May 03, 2010 7:06 am

Re: advanced seo url : no archive of the acp doesn't work

Postby alex13410 » Sun Jan 08, 2012 6:05 pm

thank you for your answer and excuse me for my bad english. i don't want to put no archive on some forum, I want to continu to use the fonction noarchive of the acp to put noindex on some forum.
in phpbb_seo/phpbb_seo_meta.php I just changed
Code: Select all
$this->meta['robots'] .= (!empty($this->meta['robots']) ? ',' : '') . 'noarchive';
by
Code: Select all
$this->meta['robots'] = 'noindex,follow';
to use the no archive fonction of the acp to chose the forum that I would like to be with the meta robot noindex, and it worked perfectly until I change simple seo url to advanced seo url.
now when I select some forum with the noarchive fonction of the acp those forum are still meta robot index, and I would like they would be noindex, as when I was in simple seo url.
to clarify, because I don't speak english very well, it's the noarchive fonction of the acp that doesn't work, because even if I change in phpbb_seo/phpbb_seo_meta.php
Code: Select all
$this->meta['robots'] = 'noindex,follow';
by
Code: Select all
$this->meta['robots'] .= (!empty($this->meta['robots']) ? ',' : '') . 'noarchive';
(so as it should be normally), and that I select some forum, the meta robot no archive doesn't appear in the source code.
I don't understand why switch from simple seo url to advanced seo url make that no archive fonction doesn't work.
mon forum sur le detecteur de metaux http://www.detecteur-de-metaux.com info sur les detecteurs de metaux
alex13410
PR1
PR1
 
Posts: 103
Joined: Mon Apr 12, 2010 5:28 pm

Re: advanced seo url : no archive of the acp doesn't work

Postby alex13410 » Thu Feb 09, 2012 2:31 pm

does anybody has some idea about this problem?
mon forum sur le detecteur de metaux http://www.detecteur-de-metaux.com info sur les detecteurs de metaux
alex13410
PR1
PR1
 
Posts: 103
Joined: Mon Apr 12, 2010 5:28 pm

Re: advanced seo url : no archive of the acp doesn't work

Postby Dares » Fri Jul 13, 2012 6:43 am

i have this problem too, the option no archive in advenced url doesnt't work
Dares
 
Posts: 1
Joined: Thu May 17, 2012 8:46 am

Re: advanced seo url : no archive of the acp doesn't work

Postby alex13410 » Thu Jan 10, 2013 9:04 pm

Dares wrote:i have this problem too, the option no archive in advenced url doesnt't work

does antyone know why the no archive option doesn't work with advenced url?
mon forum sur le detecteur de metaux http://www.detecteur-de-metaux.com info sur les detecteurs de metaux
alex13410
PR1
PR1
 
Posts: 103
Joined: Mon Apr 12, 2010 5:28 pm

Re: advanced seo url : no archive of the acp doesn't work

Postby alex13410 » Mon Jan 14, 2013 3:34 pm

Dares wrote:i have this problem too, the option no archive in advenced url doesnt't work

do you have the SQL rewritting ON or OFF?
I think it's not a matter of simple or advanced mode, but SQL rewritting ON or OFF :
when I was in simple mode, the SQL rewritting was off and the noarchive worked fine.
now I am in advanced mode, with SQL rewritting ON, and the noarchive doesn't work
I tried in simple mode with SQL rewritting ON and the noarchive doesn't work too.

anybody can confirm this?
mon forum sur le detecteur de metaux http://www.detecteur-de-metaux.com info sur les detecteurs de metaux
alex13410
PR1
PR1
 
Posts: 103
Joined: Mon Apr 12, 2010 5:28 pm

Re: advanced seo url : no archive of the acp doesn't work

Postby alex13410 » Thu Jan 17, 2013 7:59 am

ok I have understand why the noarchive was not worked : it was because I used forum without ID. You need forum with ID for the noarchive works.
mon forum sur le detecteur de metaux http://www.detecteur-de-metaux.com info sur les detecteurs de metaux
alex13410
PR1
PR1
 
Posts: 103
Joined: Mon Apr 12, 2010 5:28 pm

Re: [SOLVE] advanced url : no archive doesn't work

Postby sinlyn » Tue Jan 22, 2013 5:58 am

I have this problem too.Thanks for your great help.
sinlyn
 
Posts: 1
Joined: Tue Jan 22, 2013 2:38 am


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 10 guests