Jump to content
WebFlake
  • 0

IPB Restore Error


Guest CheaTax

Question

Guest CheaTax

i restore backup(moved site to new server)

 

i did everything correctly as i think.but front end and avatrs etc are working well but if i click the forum,topic or username it will show 404 not found error..

 

my url like this..

 

www.site.com/forum/

 

but if i click the 1st forum in the my board.it shows 404  error(not only 1st one for all..i got it as a example)

and when i cliked it the url like this.

 

http://site.com/forum/forum/58-intro/

 

and shows this error..

 

Not FoundThe requested URL /forum/forum/58-intro/ was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

but as i know ipb shows url like this when click the forum in board

 

http://site.com/forum/index.php?/forum/58-intro/

but doesnt show for me...

 

help me to fix this...

 

Thanx

Edited by CheaTax
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Guest CheaTax

Make a new ".htaccess" file in your /forum directory with the following code, and save it.

 

 

<IfModule mod_rewrite.c>Options -MultiViewsRewriteEngine OnRewriteBase /forumRewriteCond %{REQUEST_FILENAME} !-fRewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>

 

i added this but didnt work....

fix it using this code..:D

 

<IfModule mod_rewrite.c>Options -MultiViewsRewriteEngine OnRewriteBase /forumRewriteCond %{REQUEST_FILENAME} !-fRewriteRule .(jpeg|jpg|gif|png)$ /public/404.php [NC,L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule !(^forum/¦(.(asf¦avi¦css¦gif¦inc.php¦jar¦jpg¦js¦png¦swf¦wmv¦xsl)$)) index.php [L]</IfModule>

 

Thanx for help..:D

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...