| |
|
| :: |
| Author |
Message |
egyfox
Joined: 11 Aug 2008 Posts: 4
|
Posted: Tue Sep 09, 2008 9:34 am Post subject: Urls Problem .. Plz Help |
|
|
hey
i installed the Mode and every thing works fine ... But i have only one probem
the posting link give me 404 Error and all non Rewrite links cause it have a wrong path..
Ex:
my Forum url link like that:
-http://forum.example.com
and the Error links like that:
-http://forum.example.com/f2/posting.php?mode=post&f=2
-http://forum.example.com/f2/search.php
-http://forum.example.com/f2/faq.php
The only link that have the right path like that:
-http://forum.example.com/memberlist.php
i don't know what i did wrong
please help me |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
Posted: Sat Sep 13, 2008 12:33 pm Post subject: Re: Urls Problem .. Plz Help |
|
|
This most likely comes from a bad configuration in phpBB's config for server name and script path.
Make sure you have :
as server name and :
as script path. phpBB is indeed installed in the forum.example.com domain root dir, and our mod rewrite do use these values.
By the way, this implies that you set you cookie domain as :
with the dot, to be able to share sessions with the main domain.
++ |
_________________ 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 |
|
 |
egyfox
Joined: 11 Aug 2008 Posts: 4
|
Posted: Sat Sep 13, 2008 6:04 pm Post subject: Re: Urls Problem .. Plz Help |
|
|
hey
thank you dcz for ur reply
i did all that But the problem still happening
.... now i Stopped rewrite mod and all links works Fine ... that mean the problem with the mod config not the server config
So i'm sharing all mod config ... that may help
| Code: | Activate URL rewriting: YES
URL rewriting type: ADVANCED
Profiles and groups injection: YES
Virtual folder Profiles: YES
Profiles ID removing: YES
Common Search and User messages pages rewriting: YES
SID Removing: YES
Highlights Removing: YES
Remove small words: NO
Virtual Folder: YES
Virtual Root: NO
Forum URL caching: YES
Forum ID Removing: YES
Activate The No duplictate: YES
Activate the Zero duplictate: YES
Strict Mode: YES
Posts Redirections: ALL |
And this is my .htaccess File
| 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
#####################################################
# 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]+)/?(page([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 ^announces/[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?forum_uri=$1&t=$2&start=$4 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^member/([^/]+)/?$ /memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L,NC]
# ACTIVE TOPICS
RewriteRule ^active-topics(-([0-9]+))?\.html$ /search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
# UNANSWERED TOPICS
RewriteRule ^unanswered(-([0-9]+))?\.html$ /search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
# NEW POSTS
RewriteRule ^newposts(-([0-9]+))?\.html$ /search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
# THE TEAM
RewriteRule ^the-team\.html$ /memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
#####################################################
# GYM Sitemaps & RSS
# Global channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?/?$ /gymrss.php?channels&$2&$4&$6 [L,NC]
# END GYM Sitemaps & RSS
#####################################################
# FORUM WITHOUT ID & DELIM
# THESE THREE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
#####################################################
# GYM Sitemaps & RSS
# Main feeds & channels
RewriteRule ^rss(/(news)+)?(/(digest)+)?(/(short|long)+)?(/([a-z0-9_-]+))?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$9=$8&$2&$4&$6&gzip=$10 [L,NC]
# Forum feeds
RewriteRule ^[a-z0-9_-]*-f([0-9]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?$8=$1&$3&$5&$7&gzip=$9 [L,NC]
# Module feeds without ids
RewriteRule ^([a-z0-9_-]+)(/(news)+)?(/(digest)+)?(/(short|long)+)?/([a-z0-9_]+)\.xml(\.gz)?$ /gymrss.php?nametoid=$1&$3&$5&$7&modulename=$8&gzip=$9 [L,NC]
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 [L,NC]
# Forum sitemaps
RewriteRule ^[a-z0-9_-]+-f([0-9]+)\.xml(\.gz)?$ /sitemap.php?forum=$1&gzip=$2 [L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /sitemap.php?$1=$2&gzip=$3 [L,NC]
# END GYM Sitemaps & RSS
#####################################################
|
i'm Now sure that the problem From the mod config but Don't know how to Fix it..
Need Help here  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
|
| Back to top |
|
 |
egyfox
Joined: 11 Aug 2008 Posts: 4
|
Posted: Mon Sep 15, 2008 9:46 am Post subject: Re: Urls Problem .. Plz Help |
|
|
i did that too but no thing happened .... the Forum links still taking the virtual folder path
plz tell me what i did wrong
Still Need help Guys |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
|
| Back to top |
|
 |
egyfox
Joined: 11 Aug 2008 Posts: 4
|
Posted: Sat Sep 20, 2008 3:02 pm Post subject: Re: Urls Problem .. Plz Help |
|
|
thank u dcz For reply
i don't know what u mean exactly in the last reply
But i think u may need to see the problem ur self
The Board URL: http://talk.webmasterhelp.info/
then try to go to any forum such as:
http://talk.webmasterhelp.info/f3/
and try to click NEWTOPIC Button
This is my problem
thank u |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|