| :: |
| Author |
Message |
spy
Joined: 07 Mar 2007 Posts: 38
|
Posted: 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


Joined: 21 Jan 2007 Posts: 79
|
Posted: 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 |
|
 |
spy
Joined: 07 Mar 2007 Posts: 38
|
Posted: 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

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


Joined: 21 Jan 2007 Posts: 79
|
Posted: 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
The problem was not there when i just installed RC3, it came back when i aplied the seo mods. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
digdigger
Joined: 26 Sep 2007 Posts: 12
|
Posted: 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

Joined: 28 Apr 2006 Posts: 14279
|
Posted: 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 |
|
 |
digdigger
Joined: 26 Sep 2007 Posts: 12
|
Posted: 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.
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

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 116
|
Posted: 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 |
|
 |
TomaS PR2

Joined: 08 Jun 2007 Posts: 225
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14279
|
|
| Back to top |
|
 |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 116
|
Posted: 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 |
|
 |
dcz Administrateur - Site Admin

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