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  
 
   
Need help in PHPBB SEO REWRITE, is almost done..
Goto page 1, 2  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
::  
Author Message
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 3:41 pm    Post subject: Need help in PHPBB SEO REWRITE, is almost done..

Hi there.

I would need some help.

Below is my .htaccess file. I think everything is fine but still cannot redirect the url to html url.

I upload this .htaccess file in my forum folder directory

which it locate same with index.php, viewtopic.php

I have tried to upload the .htaccess both manually and automatically. But it seems like not working.

Remarks :
1. My server is no problem for mod_rewrite.
2. The rewrite url (html) is functionable because it can show the page I wanna view when I type in the rewrite url (html)
3. But it can't automatically .php ---> rewritable url when I browse my forum.

Please help. Thanks.



-------------------------------------------------------------------------------------
# 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

#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX
RewriteRule ^forum\.html$ /myforum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /myforum/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$ /myforum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /myforum/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$ /myforum/viewtopic.php?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES SIMPLE
RewriteRule ^member([0-9]+)/$ /myforum/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# USER MESSAGES SIMPLE
RewriteRule ^member([0-9]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /myforum/search.php?author_id=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS SIMPLE
RewriteRule ^group([0-9]+)(-([0-9]+))?\.html$ /myforum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /myforum/viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^active-topics(-([0-9]+))?\.html$ /myforum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^unanswered(-([0-9]+))?\.html$ /myforum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^newposts(-([0-9]+))?\.html$ /myforum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ /myforum/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$ /myforum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 3:44 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

If you mean that the rewritten url both work and display proper in link and just want to see the old .php urls (like http://www.phpbb-seo.com/boards/viewtopic.php?t=1220 ) be properly redirected to the rewritten urls, then you need to install / activate the zero duplicate mod.

++

_________________
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
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 3:44 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

By the way...

My website is http://apakataanda.com/myforum


You kindly assistant is very much appreciated.
Back to top
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 3:45 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

I see. Thanks. I will try. Thanks a lot. Will come back to you.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 3:46 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

So your urls are not rewritten yet.

It can be two things, either you did not activate url rewriting in acp, or you did not (fully) install the mod.

Have you modified all the required files as explained in the install file ?

_________________
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
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 4:09 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

I have do all the steps. Smile



Back to top
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Mon Jul 21, 2008 4:17 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

I will try to redo it again.

I dont' see any activation button in my acp. I think my installation might got problem. I will check. Thanks.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Need help in PHPBB SEO REWRITE, is almost done..Posted: Tue Jul 22, 2008 8:39 am    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

So, if you see things like ACP_PHPBB_SEO_CLASS, it means that you did not perform the required changes in the language files, and then potentially to other files, please make sure about that.

Then, about the .htaccess generator, the save button will only save the generated .htaccess in the phpbb_seo/cache dir, you need to put it where it belong after you generate it.

About the url rewriting activation, it's the first option of the ACP_PHPBB_SEO_CLAS menu 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
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Tue Jul 22, 2008 3:23 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

Ok.

Smile

I think this time I install it correctly.

My mistake is I didn't upload the other sub-files I just install the core file into it.

Anyway... now all my page goes to error 404. Should be something to do with .htaccess this time.. which is more match to this post title.. Razz

Will try to figure out the problem and read more post for this problem... will come back to you if still face problem. Thanks a lot dcz!
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

Need help in PHPBB SEO REWRITE, is almost done..Posted: Tue Jul 22, 2008 3:27 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

Look at the bold red message in the .htaccess generator and try the more option option if you have more difficulties (should not be the case).

_________________
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
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Tue Jul 22, 2008 3:52 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

Ok..

Now I fixed it. I guess it's because .htaccess problem in my forum directory.

It's because my forum is in the second level directory(after domain).

However, previously I redirect my domain name to the forum directory. It can't redirect now since I manually overwrite the existing .htaccess file(which is 301 redirect)

So I think I might need to amend some code in the .htacess.

Thanks.. Will come back to you soon.
Back to top
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Tue Jul 22, 2008 3:53 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

ok. Will try on the ACP. Thanks.
Back to top
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Fri Jul 25, 2008 4:02 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

Smile

Finally I know why I can't make it functional properly. It's working now. Thanks phpbb-seo.com

The main reason is I didn't upload properly all the required file as instructed.

However, I still face some problem when I want to view the member profiles.
It open the page without styles theme in it.. wondering what is the problem.
Back to top
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 4551

Need help in PHPBB SEO REWRITE, is almost done..Posted: Fri Jul 25, 2008 5:03 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

Have you modded all your theme template as explained in the install file ?

Have you cleared cache from the style acp once done ?

_________________
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
aka



Joined: 21 Jul 2008
Posts: 12
Location: Malaysia

Need help in PHPBB SEO REWRITE, is almost done..Posted: Fri Jul 25, 2008 5:21 pm    Post subject: Re: Need help in PHPBB SEO REWRITE, is almost done..

Yupe. Refresh the theme. But I didn't do any Mod in my theme.. I will look into it..

Come back to you soon.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite
Page 1 of 2 Goto page 1, 2  Next

Navigation Similar Topics

Jump to: