| |
|
| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
|
 |
funwadi PR0

Joined: 06 May 2007 Posts: 53 Location: UAE
|
Posted: Tue May 08, 2007 10:01 am Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
Ohk. I thought you will give me some tips
Anyways, thanks a lot for helping me in installed all your MODs. Your help was really supportive and effective.  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
funwadi PR0

Joined: 06 May 2007 Posts: 53 Location: UAE
|
Posted: Wed May 09, 2007 12:56 pm Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
Thanks dcz. I got your point
By the way, there is 1 small problem left I think so. When i type http://funwadi.com/forum it opens the same whereas it should change to http://www.funwadi.com/forum right? How can i change it? Should it change or not? I have no idea. Needs your suggestion. If yes, than let me know how to change it please.
Thank You,
AB |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
abhishek1711 PR0

Joined: 03 May 2007 Posts: 59
|
Posted: Wed May 23, 2007 7:39 pm Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
im facing same error -
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
okie have tried both with / and without it.
www.ahmedabadrocks.com/forum
used forum instead of phpbb in htaccess folder. also tried using public_html/forum as per my ftp folder path but same problem.
here is how the htaccess file looks
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forum/index\.html$ forum/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^forum/[a-z0-9_-]*/([^/]+\.html)$ forum/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^forum/[a-z0-9_-]*-c([0-9]+)\.html$ forum/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ forum/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)\.html$ forum/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^forum/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^forum/[a-z0-9_-]*-t([0-9]+)\.html$ forum/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forum/member([0-9]+)\.html$ forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
any1 can help why still this error? my forum is down  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
Posted: Thu May 24, 2007 10:35 pm Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
First, you should make sure mod_rewrite is available. Then, if it's the case, it will work, it's possible that you will need to add the slash, as told in install, in the rewriterules, like this :
| Code: | | RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC] |
vs :
| Code: |
RewriteRule ^forum/post([0-9]+)\.html$ forum/viewtopic.php?p=$1 [QSA,L,NC] |
As well, and again, as long as mod_rewrite is available, it's possible that you'll need to replace :
| Code: | | # Options +FollowSymlinks |
with :
| Code: | | Options +FollowSymlinks |
And, make sure you upload your .htaccess at the domain's root level, eg one level above the forum/ folder, and that there is no .htaccess in the forum/ folder.
++ |
_________________ 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 |
|
 |
abhishek1711 PR0

Joined: 03 May 2007 Posts: 59
|
Posted: Sat May 26, 2007 7:37 am Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
hey since the time i installed this mod on my forum www.ibsrocks.com , my lastest topics at bottom links show 404 error while rest forum works fine....this is whn user is sufing as a guest
bt whn user is logged on - the latest topics link work fine
wht can be the issue? should i delete seo mod |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
abhishek1711 PR0

Joined: 03 May 2007 Posts: 59
|
Posted: Wed Jul 18, 2007 9:38 pm Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
hi i was able to install this mod. but whn i shifted my forum from root folder to /forum, this mod somehow shoes an error after being installed. i tried evrything the instructions said (different steps for not being in root folder etc.
i think i need som1 who knows the stuff to do it , as my forum has a bunch of mods so i dont wanna messup anyhting
plz pm me ur offer.
my forum - www.ibsrocks.com |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
Posted: Thu Jul 19, 2007 11:21 am Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
It should only be a matter of updating the rewriterules to include the forum path (forum/ in your case) in the rewriterules.
As well, you should do something to properly handle the old url redirection, and do not forget to update phpBB config as well, you need to add 'forum/' as script path in acp now.
Yoru root .htaccess should include :
| Code: |
RewriteEngine on
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
#RewriteRule ^forum/[a-z0-9_-]+/([^/]+\.html)$ /forum/index.php [R=301,L,NC]
#RewriteRule ^forum/index\.html$ /forum/index.php [QSA,L,NC]
# CATEGORIES
RewriteRule ^forum/[a-z0-9_-]+-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^forum/[a-z0-9_-]+-f([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]+-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^forum/[a-z0-9_-]+-t([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^forum/[a-z0-9_-]+-t([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forum/member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
# OLD FORUMS PAGES REDIRECTION
########################
# FORUM PROTECTION RULE
#RewriteRule ^[a-z0-9_-]+/([^/]+\.html)$ /forum/index.php [R=301,L,NC]
#RewriteRule ^index\.html$ /forum/index.php [QSA,L,NC]
# CATEGORIES
RewriteRule ^[a-z0-9_-]+-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^[a-z0-9_-]+-f([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^[a-z0-9_-]+-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^[a-z0-9_-]+-t([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^[a-z0-9_-]+-t([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
##################################################### |
The second part only being here to allow the zero duplicate to http 301 redirect the old forum urls to the new ones.
++ |
_________________ 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 |
|
 |
abhishek1711 PR0

Joined: 03 May 2007 Posts: 59
|
Posted: Thu Jul 19, 2007 3:04 pm Post subject: Re: adv mod_rewrite V0-2-4 (404 Not Found) |
|
|
im afraid i cant do this....i messup the entire forum u know....canu refer me som1 who can do this for me on freelance basis
plz refer to me by PM urgently ! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

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