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  
 
   
arabic mod rewrite and title page problem

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
::  
Author Message
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 10:39 pm    Post subject: arabic mod rewrite and title page problem

welcome dcz really this problem i cant slove it from 3 days ago Laughing
i have arabic page with mod rewrite
the meta codes for this pages is windows-1256
the problem is i debend on arabic chearcest in this mod rewrite
google take this links ok with arabic charset in link but the problim is the title Very Happy
if you opened this link with ie7 you will see it as google take it

-http://game.paramegsoft.com/tags/بازل
but title is not ok Crying or Very sad
in FF link appear
-http://game.paramegsoft.com/tags/%C8%C7%D2%E1
and title is ok
sure i need google take link with ar char and with his title
like that -http://game.paramegsoft.com/tags/بازل
the title should be show بازل-العاب
now i need you please dcz help me to show title ok
like
Code:

<title>بازل - العاب</title>

as it show in FF
not like
Code:

<title>ط¨ط§ط²ظ„ - العاب</title>

as it show in IE7 and google cash it like

or you can help me by redirct urls to urls number
like that -http://game.paramegsoft.com/tags/9-33
this is tags depend on search engine in this script which show search results to this pages
this is the page to it
http://game.paramegsoft.com/tags.php

this is my .htacess to this
Code:

RewriteRule ^tags/(.*) search.php?t=$1 [L]

you can look how google cashed the pages
http://www.google.com.eg/search?hl=ar&rlz=1T4GGLJ_enEG247EG247&q=site%3Agame.paramegsoft.com%2Ftags&meta=
really i need your help dcz in this problem Very Happy

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3301

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 11:08 pm    Post subject: Re: arabic mod rewrite and title page problem

Your tags.php file seems cached properly by Google : http://209.85.135.104/search?q=cache%3Ahttp%3A%2F%2Fgame.paramegsoft.com%2Ftags.php

Remember this thread ?

Looks like the same problem, FF does not deal with multi-byte characters apparently, it needs to url_encode() them, unlike IE which in this case has a direct handling. It thus looks more like a browser issue since it fully works with IE.

So it looks like Google is more geko than microsoft on this one.

In the Google list you posted the first link works well, the others do not, but it looks more like a basic mod_rewrite issue, because the url standard is not the same :
game.paramegsoft.com/tags/الجاسوسات vs game.paramegsoft.com/tags-0-الجاسوسات.html

The .html suffix could just not satisfy the current rewriterule, did you changed your script recently ?

About your page title, on the first example, the one with the working url, I think the title is not displayed well because the title tag stand before the char set declaration :
Code:
<title>ط§ظ„ط¬ط§ط³ظˆط³ط§طھ - العاب</title>
<link rel="stylesheet" type="text/css" href="http://game.paramegsoft.com/templates/style/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">

Move :
Code:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">


Before the title tag, and it should be ok.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 11:19 pm    Post subject: Re: arabic mod rewrite and title page problem

SeO wrote:
Your tags.php file seems cached properly by Google : http://209.85.135.104/search?q=cache%3Ahttp%3A%2F%2Fgame.paramegsoft.com%2Ftags.php

Remember this thread ?

Looks like the same problem, FF does not deal with multi-byte characters apparently, it needs to url_encode() them, unlike IE which in this case has a direct handling. It thus looks more like a browser issue since it fully works with IE.

So it looks like Google is more geko than microsoft on this one.

In the Google list you posted the first link works well, the others do not, but it looks more like a basic mod_rewrite issue, because the url standard is not the same :
game.paramegsoft.com/tags/الجاسوسات vs game.paramegsoft.com/tags-0-الجاسوسات.html

The .html suffix could just not satisfy the current rewriterule, did you changed your script recently ?

About your page title, on the first example, the one with the working url, I think the title is not displayed well because the title tag stand before the char set declaration :
Code:
<title>ط§ظ„ط¬ط§ط³ظˆط³ط§طھ - العاب</title>
<link rel="stylesheet" type="text/css" href="http://game.paramegsoft.com/templates/style/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">

Move :
Code:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">


Before the title tag, and it should be ok.

yes i changed mod rewrite again today to try slove title problem
i moved meta charest up title tag but it stell show title like
Code:

<title>ظƒظˆط§ظپظٹط± - العاب</title>

Sad
but i can see many sites have windows 1256 and tags work ok at this sites like that
-http://0hot0.com/tag-افلام
and get cash ok
http://www.google.com.eg/search?hl=ar&rlz=1T4GGLJ_enEG247EG247&q=site%3A0hot0.com%2Ftag&meta=
any idea please dcz

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3301

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 11:24 pm    Post subject: Re: arabic mod rewrite and title page problem

SeO wrote:

game.paramegsoft.com/tags/الجاسوسات vs game.paramegsoft.com/tags-0-الجاسوسات.html

The .html suffix could just not satisfy the current rewriterule, did you changed your script recently ?



What is not working actually ? url seems to both work with FF and IE, but only IE keeps the Arabic chars, FF url_enode them. Since the url encoded url listed by Google are 404, can we be sure he did not spider them already url_encoded ?
Because the working one is not : game.paramegsoft.com/tags/الجاسوسات

So I'm not sure there is even a problem right now.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 11:35 pm    Post subject: Re: arabic mod rewrite and title page problem

SeO wrote:
SeO wrote:

game.paramegsoft.com/tags/الجاسوسات vs game.paramegsoft.com/tags-0-الجاسوسات.html

The .html suffix could just not satisfy the current rewriterule, did you changed your script recently ?



What is not working actually ? url seems to both work with FF and IE, but only IE keeps the Arabic chars, FF url_enode them. Since the url encoded url listed by Google are 404, can we be sure he did not spider them already url_encoded ?
Because the working one is not : game.paramegsoft.com/tags/الجاسوسات

So I'm not sure there is even a problem right now.


i changed url mod rewrite from
-game.paramegsoft.com/tags-0-الجاسوسات.html
to
game.paramegsoft.com/tags/الجاسوسات
today
google take page like it show in IE7 i am sure of it when this link
game.paramegsoft.com/tags/الجاسوسات
get cashed today
but tittle google dont take it ok
if the title showed to me ok at IE7 google will take it ok Wink

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3301

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 11:36 pm    Post subject: Re: arabic mod rewrite and title page problem

Everything is all right then, since there is no real need to spend to much effort on redirecting 4 links.

_________________
phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible !
Back to top
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

arabic mod rewrite and title page problemPosted: Mon Nov 26, 2007 11:46 pm    Post subject: Re: arabic mod rewrite and title page problem

SeO wrote:
Everything is all right then, since there is no real need to spend to much effort on redirecting 4 links.

sure i didnt say that becouse i need redirct 4 links Laughing
i stooped tag links generator and add no follow to he links in the page this morning becouse i showed title like that
Code:

<title>ط§ظ„ط¬ط§ط³ظˆط³ط§طھ - العاب</title>

i speak about change mod rewrit if title problem coudnt sloved

what akind of your browser dcz ?
it will show ok for you if you use FF
but google will take the title as it show in IE7 Wink

if you can give me rewrite rules to change llink after this redirct
Code:

RewriteRule ^tags/(.*) search.php?t=$1 [L]

to can show like
Code:

game.paramegsoft.com/tags/9-0   for example

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
mhmdkhamis
PR4
PR4


Joined: 26 Nov 2006
Posts: 436
Location: egypt

arabic mod rewrite and title page problemPosted: Tue Nov 27, 2007 2:51 am    Post subject: Re: arabic mod rewrite and title page problem

does this code may effect in title and what this doing please

Code:

if (top.location != document.location)
   top.location = document.location;

 var d=document;
 var OAS_rdl = '';

 if((d.referrer)&&(d.referrer!="[unknown origin]")) {
    if(d.referrer.indexOf("?") == -1) {
       OAS_rdl += '&tax23_RefDocLoc='+d.referrer.toString();
    } else {
       var rdl=d.referrer;
       var rdl1=rdl.indexOf("?");
       var rdl2=rdl.substring(0,rdl1);
       OAS_rdl += '&tax23_RefDocLoc='+rdl2;
    }
 }


another note please
if i displayed link LIKE that
-http://game.paramegsoft.com/search.php?t=فلة
it show ok in browser link , title and google will take it ok
and title show like
Code:

<title>فلة - العاب</title>

IS OK
but if it be LIKE that
-http://game.paramegsoft.com/tags/فلة
it have title browser problem and google will take link in arabic but title will display like
Code:

<title>ظپظ„ط© - العاب</title>

_________________
برامج |برامج مجانية|العاب
Back to top
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Apache mod Rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: