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  
 
   
I have a problem! Please help me...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite
::  
Author Message
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Wed Aug 30, 2006 6:43 am    Post subject: I have a problem! Please help me...

Hi to all. I install your mod rewrite mod. My forum directory is -www.example.com/panolar/ After I install mod I had a problem. My problem is; when I click a topic this problem is appearing:
Code:
Not Found
The requested URL /panolar/muezik-tuerleri-vf3.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.0.59 (Unix) mod_perl/1.99_17-dev Perl/v5.8.5 mod_ssl/2.0.59 OpenSSL/0.9.7a PHP/4.4.3 FrontPage/5.0.2.2634 Server at www.duslersokagi.org Port 80




My .htaccess file is:
Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^panolar/.+/([^/]+\.html)$ /panolar/index.php [R=301,L]
# CATEGORIES
RewriteRule ^panolar/.+-vc([0-9]+)\.html$ /panolar/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^panolar/.+-vf([0-9]+)-([0-9]+)\.html$ /panolar/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^panolar/.+-vf([0-9]+)\.html$ /panolar/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^panolar/.+-vt([0-9]+)-([0-9]+)\.html$ /panolar/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^panolar/.+-vt([0-9]+)\.html$ /panolar/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^panolar/post([0-9]+)\.html$ /panolar/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^panolar/member([0-9]+)\.html$ /panolar/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


My forum directory (for demo) is http://www.duslersokagi.org/panolar/ Please help me Sad Thanks for your kind...
Back to top
Visit poster's website
JanoF



Joined: 30 May 2006
Posts: 43

I have a problem! Please help me...Posted: Wed Aug 30, 2006 7:38 am    Post subject: Re: I have a problem! Please help me...

Can be possible that apache that is of then hosting dumb slack mod_rewrite.

_________________
www.pcforum.sk | www.pcforum.cz | jan.fecik.sk
Back to top
Visit poster's website
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Wed Aug 30, 2006 7:39 am    Post subject: Re: I have a problem! Please help me...

this is my php info

-http://www.anadoluserver.net/info.php SadSad
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15125

I have a problem! Please help me...Posted: Wed Aug 30, 2006 9:03 am    Post subject: Re: I have a problem! Please help me...

And welcome Wink

So, it seems the mod_rewrite module is correctly loaded on you config :

Quote:

Loaded Modules
core mod_access mod_auth mod_include mod_log_config mod_env mod_setenvif mod_ssl prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_suexec mod_cgi mod_negotiation mod_dir mod_imap mod_actions mod_userdir mod_alias mod_rewrite mod_so sapi_apache2 mod_fpcgid mod_perl


Your .htaccess seems correct, so I'd bet on it's location.

Written as his, it should be located in the root folder of you domain, eg one level up the panolar/ folder. And there should be no more .htaccess in the panolar/ directory.

It should work right away.

By the time you fully test, you can put back online the unmodded sessions.php, the URLs will not be rewritten until you put it back, but you'll be able to see if the .htaccess is correctly installed by testing an example URL such as : -http://www.duslersokagi.org/panolar/member169.html

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Wed Aug 30, 2006 9:58 am    Post subject: Re: I have a problem! Please help me...

the mod_rewrite is installed in my server. I tryed an other mode which is similar with yours, it worked Sad There is no problem. I want to use yours, because it is very well then it Very Happy But its rewrite rules are different. / are different...

Note:
Code:
İ,ı,ç,Ç,ş,Ş,ü,Ü,ğ,Ğ,ö,Ö
for more info http://en.wikipedia.org/wiki/Wikipedia:Turkish_characters

I mean turkish charscters...

Turkish characters doesn't seem SadSad

It must be like example; iletişim must be iletisim

Thanks for your kind....
Back to top
Visit poster's website
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Wed Aug 30, 2006 10:15 am    Post subject: Re: I have a problem! Please help me...

I changed my .htaccess file. And my forum directory is http://www.duslersokagi.org/panolar/ My .htaccess is in this directory (http://www.duslersokagi.org/panolar/.htaccess) too SadSad

My .htaccess is

Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


Thanks for your kind...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15125

I have a problem! Please help me...Posted: Wed Aug 30, 2006 11:03 am    Post subject: Re: I have a problem! Please help me...

All right for the Turkish characters, so we are missing ş, Ş, ı, İ, Ö, ö, ğ, and Ğ filtering to be fully Turkish compliant.

The (Ö, ö) are actually replace with "oe". I am not sure this is correct when it comes to Turkish.

The replacement is performed in this part of the forumat_url() code (added by the mod rewrite in functions.php :
Code:
   $url = str_replace (array('ö','Ö'), 'oe', $url);


The other characters, I have to check few things. They are not outputted right in my php files, the ş will be pasted as "s", so I have to check how this character and the other could be filtered.

But as the notepad show those correct, I guess you could try to add this :

Code:
   $url = str_replace (array('ğ','Ğ'), 'gh', $url);
   $url = str_replace ("İ", 'i', $url);
   $url = str_replace (array('ş','Ş'), 'sh', $url);
   $url = str_replace (array('ğ','Ğ'), 'gh', $url);
   $url = str_replace ("İ", 'i', $url);
   $url = str_replace (array('ş','Ş'), 'sh', $url);
   $url = str_replace ("ı", 'ou', $url);


Before :

Code:
   $find = "ÀÁÂÃÅàáâãåÒÓÔÕØòóôõøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛùúûÿÑñ";


In the format_url function.

Be careful though with such chars, as they are most likely to be translated in HTML ASCII in this post.

You need to make sure you pasted the chars and not the HTML ASCII code.
For example "& # 351 ;" (without the spaces) stands here for ş, So you'll have to re-paste all those specific chars I am afraid.

Then for your .htaccess, you need to upload it in the root and to add path in the rewriterule (panolar/ in you case) as shown in the example .htaccess in the install (just acknowledge you need to change phpbb/ with panolar/ in your case Wink )

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Thu Aug 31, 2006 6:25 am    Post subject: Re: I have a problem! Please help me...

dcz wrote:
Then for your .htaccess, you need to upload it in the root and to add path in the rewriterule (panolar/ in you case) as shown in the example .htaccess in the install (just acknowledge you need to change phpbb/ with panolar/ in your case )


Thanks for your kind, but;

I didn't understant Sad my forum directory http://www.duslersokagi.org/panolar/ my .htaccess is in this directory too ( .../panolar/.htaccess ) ...

My new .htaccess is :

Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


Thanks...!!!
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15125

I have a problem! Please help me...Posted: Thu Aug 31, 2006 11:03 am    Post subject: Re: I have a problem! Please help me...

That's what I am saying, put your .htaccess in the domain's root, not phpBB's.

This means one level above the forum folder, here being panolar/.

Here is what you should use :

Code:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /

#########################################################
# PHPBB SEO REWRITE RULES            #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
RewriteRule ^panolar/.+/([^/]+\.html)$ /panolar/index.php [R=301,L]
# CATEGORIES
RewriteRule ^panolar/.+-vc([0-9]+)\.html$ /panolar/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^panolar/.+-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^panolar/panolar/.+-vf([0-9]+)\.html$ /panolar/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^panolar/.+-vt([0-9]+)-([0-9]+)\.html$ /panolar/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^panolar/.+-vt([0-9]+)\.html$ /panolar/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^panolar/post([0-9]+)\.html$ /panolar/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^panolar/member([0-9]+)\.html$ /panolar/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################


How about the special Unicode characters ? Is the additional filtering working ok ?

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Thu Aug 31, 2006 1:49 pm    Post subject: Re: I have a problem! Please help me...

Hi... The turkish characters is oke.

I tryed .htaccess but Sad Sad Sad Sad ....

If you want I can give my ftp passport you??? Because I didn't repair it SadSadSad I am very stupid.... SadSadSadSadSad

Thanks For Your Kind...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15125

I have a problem! Please help me...Posted: Thu Aug 31, 2006 2:05 pm    Post subject: Re: I have a problem! Please help me...

It's very simple, all you need to do is upload (correctly) a new .htaccess with the content I suggested in your server's root and to make sure there is none in the panolar/ folder.

And it should work right away, at least if mod_rewrite is available.

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Thu Aug 31, 2006 3:09 pm    Post subject: Re: I have a problem! Please help me...

I tryed. Sad It didn't work...

Thanks For Your Kind...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15125

I have a problem! Please help me...Posted: Thu Aug 31, 2006 6:11 pm    Post subject: Re: I have a problem! Please help me...

Are you sure mod rewrite is available on this domain ?

Because the fact the module is loaded in the module list does not necessarily means the module is usable through .htaccess, we need AllowOverride privilege as well.

So please check this with your ISP and make sure the file transfer is ok with your .htaccess (try the renaming trick if needed).

We'll see what could this be then.

++

_________________
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
MorYeL
phpBB SEO Team
phpBB SEO Team


Joined: 11 Aug 2006
Posts: 99

I have a problem! Please help me...Posted: Thu Aug 31, 2006 6:21 pm    Post subject: Re: I have a problem! Please help me...

You can look for that module from here http://www.anadoluserver.net/info.php SadSad

thanks...
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15125

I have a problem! Please help me...Posted: Thu Aug 31, 2006 10:31 pm    Post subject: Re: I have a problem! Please help me...

But it is working now Very Happy
-http://www.duslersokagi.org/panolar/duslersokagi-org-radyo-vt670.html Wink

++

_________________
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  » phpBB mod Rewrite
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: