phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
problem in search results
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
spy



Joined: 07 Mar 2007
Posts: 38

problem in search resultsPosted: Tue Jul 10, 2007 10:59 pm    Post subject: problem in search results

Hello,

I have installed your advanced mod rewrite + phpBB3 Zero duplicate
my phpBB version is phpBB-3.0.RC3
every thing is working well but I face problem when I try searching by Arabic word
this is and example:
-http://www.3arabsoft.com/forum/search.php?keywords=%D8%B4%D8%B1%D8%AD&terms= ...
I get error when I try to open any search result:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

but there isnt any problem in English search words
I need your kind help

thanks in advance
Back to top
emielvenlo
PR0
PR0


Joined: 21 Jan 2007
Posts: 79

problem in search resultsPosted: Wed Jul 11, 2007 10:55 am    Post subject: Re: problem in search results

This is not just with arabic words, but allsow with dutch words. So i dont think it's a character/language dependand problem. I was going to report the bug this evening, but since you reported it now...

I think the problem is especially when you have a space in between to search therms. But i dont know this for sure, because someone eported it to me this morning, before work.
Back to top
Visit poster's website
spy



Joined: 07 Mar 2007
Posts: 38

problem in search resultsPosted: Wed Jul 11, 2007 11:04 am    Post subject: Re: problem in search results

yes, may be you are right
anyways I think dcz is working now in the new version of the mod rewrite
I'm waiting your update dear dcz

-any information about GYM Sitemaps for phpBB3 ?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

problem in search resultsPosted: Wed Jul 11, 2007 7:21 pm    Post subject: Re: problem in search results

This one does not seem related to the URL rewriting.

Actually, all links dealing with search.php are left untouched.

Where you using FF ? did you try with IE ?
Because this makes me think about what we started to work on with mhmdkhamis on this thread : http://www.phpbb-seo.com/boards/advanced-seo-url/discussions-vt1255.html

Firefox does url_encode all urls, while Iexplorer is able to deal with UTF-8 characters in uri without problems.

So it's not even sure this really is a phpBB bug, but could be interesting to report. Did any of you reported this at phpBB.com ?

++

_________________
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
Visit poster's website
emielvenlo
PR0
PR0


Joined: 21 Jan 2007
Posts: 79

problem in search resultsPosted: Sat Jul 21, 2007 8:43 pm    Post subject: Re: problem in search results

Hi i know now for sure this bug is related to the advanced mod rewrite in combination with the zero dupe.

It is only when logged in, because then the hilight is on.
When you search on 2 words and you click on a link produced with the search, a link can look like this: ?hilit=francine%20de#p4203
And this hilight gives the problem i think. I have make a login for you dzc, i wil pm it to you. Than you can try it.

To reproduce the problem, login, go to this search /search.php?st=0&sk=t&sd=d&keywords=francine+de and klik the first link.

I am sorry for the content of the forum Embarassed

The problem was not there when i just installed RC3, it came back when i aplied the seo mods.
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

problem in search resultsPosted: Fri Jul 27, 2007 1:16 pm    Post subject: Re: problem in search results

I'm sorry, I don't understand what is the bug supposed to do.

To me, the first link of the search you suggested works really well.

Could you post few example URIs (not 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
Visit poster's website
digdigger



Joined: 26 Sep 2007
Posts: 12

problem in search resultsPosted: Sun Sep 30, 2007 4:55 am    Post subject: Re: problem in search results

Hi dcz,

today some users noticed me for a bug in the search results.

First: I tried it out with FF an IE - all the same thing.
Second: I deleted all cache & cookies
Third: I use mysql fulltext search (min_word_len=3)

The Links in the search results with 1 keyword:

-http://domain.tld/topic-title-txxxx.html?hilit=keyword
-http://domain.tld/topicxxxx.html?hilit=keyword#pxxxxx

are working fine and in the next page the keyword is highlighted

If I search for 2 keywords

-http://domain.tld/topic-title-txxxx.html?hilit=keyword1 keyword2
-http://domain.tld/topicxxxx.html?hilit=keyword1 keyword2#pxxxxx

it gives me in both browsers a Redirect Loop Error.

Firefox wrote:

Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."


So you can test it live:

Copy&Paste from FF:
-http://brasilienfreunde.net/nightlife-in-santos-t2380.html?hilit=rio%20janeiro
-http://brasilienfreunde.net/beitrag76533.html?hilit=rio%20janeiro#p76533

Copy&Past from IE
-http://brasilienfreunde.net/nightlife-in-santos-t2380.html?hilit=rio janeiro
-http://brasilienfreunde.net/beitrag76533.html?hilit=rio janeiro#p76533

Here is my .htaccess:

Code:
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
#
# You may need to un-comment the following line
Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION
RewriteEngine On
RewriteCond %{HTTP_HOST} !^brasilienfreunde\.net$ [NC]
RewriteRule ^(.*)$ http://brasilienfreunde.net/$1 [R=301,L]
#
#
# TEMPORARY REDIRECTION OLD SEO  IN GOOGLE TO NORMAL LINKS
#
# OLD SEO STRUCTURE PHPBB2
# http://domain.tld/xxxx/topic-title
# http://domain.tld/xxxx-xx/topic-title
# http://domain.tld/xxx/forum-title
# http://domain.tld/xxx-xx/forum-title
#
#
# FORUM
#
RewriteRule ^0([0-9]{1,2})-(.*) /viewforum.php?f=$1&start=$2 [R=301,L]
RewriteRule ^0([0-9]{1,2})/[a-z0-9_-]* /viewforum.php?f=$1 [R=301,L]
#
# TOPIC
#
RewriteRule ^([0-9]{3,4})-(.*)/[a-z0-9_-]* /viewtopic.php?t=$1&start=$2 [R=301,L]
RewriteRule ^([0-9]{3,4})/[a-z0-9_-]* /viewtopic.php?t=$1 [R=301,L]
#
#
#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. 'forum' REQUIRES TO BE SET As FORUM INDEX
# RewriteRule ^forum\.html$ /index.php [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^wichtig\.html[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^beitrag([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^benutzer-([0-9]+)\.html$ /memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^bfn-team\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^[a-z0-9_-]+(-([0-9]+))?\.html$ /viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################


So I do not know it's a PHPBB-SEO Problem or a PHPBB3 Bug.
On the official PHPBB3 Board I didn't found any topics about this.

Propably you have any solutions. Hope you can help me.

Greetings from brazil, digdigger
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

problem in search resultsPosted: Mon Oct 01, 2007 10:30 am    Post subject: Re: problem in search results

I don't think this is related to the .htaccess.

The topic you mention is private, on a public one : -http://brasilienfreunde.net/suche-kontakte-zu-selbststaendigen-in-brasilien-t8859.html?hilit=hallo+TB

The highlight is redirected properly for a guest. You can elect not to redirect these in the ACP.

The redirection loop you mention could come from two things :

First, the correct usage is hilit=heyword1+kewyord2 and not hilit=heyword1 kewyord2 (%20 is an url encoded space).

Then, the fact it's a private topic could matter, since unlogged users will be redirected to the login page. Even though, I had no such problems on :
-http://brasilienfreunde.net/nightlife-in-santos-t2380.html?hilit=rio+janeiro

++

_________________
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
Visit poster's website
digdigger



Joined: 26 Sep 2007
Posts: 12

problem in search resultsPosted: Mon Oct 01, 2007 6:04 pm    Post subject: Re: problem in search results

Hi dcz,

thanks for your response.

I found a solution, but I do not know its good for SEO oder not
(because I do not understand this feature as well)

On the ACP -> SEO-PHPBB - > Posts Redirections:

>OFF >>> works with hilit for guests and users
>POSTS >>> works without hilit for guests an users
>GUESTS >>> works without hilit for guests an users
>ALL >>> the redirection loop problem

I switched it off and now all logged-in Users and Guest have highlighted keyword in search results and after following the link in the topic too.

But only in the post-title url, not in the topic-url above!!!!

So I switches off Zero Duplicate completely and now it works on the topic-url, too

My other configuration:

Activate URL rewriting: Yes
URL rewriting type: Advanced
SID Removing: Yes
Highlights Removing: No
Remove small words: No
Virtual Folder: No
Virtual Root: No
Forum URL caching: Yes
Forum ID Removing: Yes
Activate The No duplictate: Yes
Activate the Zero duplictate: No
Strict Mode: No
Posts Redirections: Off

So, I hope you can tell or explain me if its good, bad, worse or destroying all SEO work. Laughing

Greetz from brazil, digdigger

P.S.: No Problem with the space in the keywords ... the browser insert %20 and the topic/forum/post will be found and displayed.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

problem in search resultsPosted: Wed Oct 03, 2007 8:06 am    Post subject: Re: problem in search results

So there is no worries if you do not redirect all post, as long as you keep them disallowed in your robots.txt as advised.

I'll take a deeper look to this issue, looks like a bug, but I'm not 100% sure.

++

_________________
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
Visit poster's website
arch stanton
PR1
PR1


Joined: 04 Oct 2006
Posts: 116

problem in search resultsPosted: Thu Jan 17, 2008 2:23 am    Post subject: Re: problem in search results

dcz, have you done any more investigation of this issue? I am still getting the same problem with searches.

I certainly won't be turning off zero dupe, it's too useful. Is there no way of simply switching off highlighting in searches altogether?
Back to top
Visit poster's website
TomaS
PR2
PR2


Joined: 08 Jun 2007
Posts: 225

problem in search resultsPosted: Thu Jan 17, 2008 5:08 pm    Post subject: Re: problem in search results

i have similar problems whit searching.Sometime after search result i can redirect and show me error page that is cykled and cant open page

_________________
phpBB podpora-slovak phpBB support
slovenský preklad pre phpbb3-slovak translate for phpBB3
predaj a kupa domeny, marketing a internetove podnikanie- Slovak domain center
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

problem in search resultsPosted: Fri Jan 18, 2008 2:18 pm    Post subject: Re: problem in search results

We'll do better soon, but you can deactivate highlights in search results links by just adding :
Code:
         $u_hilit = '';

before :

Code:
         $view_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$u_forum_id&amp;t=$result_topic_id" . (($u_hilit) ? "&amp;hilit=$u_hilit" : ''));


in search.php

++

_________________
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
Visit poster's website
arch stanton
PR1
PR1


Joined: 04 Oct 2006
Posts: 116

problem in search resultsPosted: Sat Jan 19, 2008 7:14 pm    Post subject: Re: problem in search results

Tried that, dcz, and I got this error message:

Parse error: syntax error, unexpected '=' in /home/paul/domains/gladtalk.co.uk/public_html/forum/search.php on line 822
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

problem in search resultsPosted: Mon Jan 21, 2008 8:46 am    Post subject: Re: problem in search results

what is the code at line 822 in your search.php file ?

Because I can't find any parse error in the line I suggested you to add :
Code:
 $u_hilit = '';


Maybe you did something wrong.

++

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: