Halfagain IM Forums
May 23, 2012, 12:15 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: 404 error  (Read 799 times)
0 Members and 1 Guest are viewing this topic.
blimpy
Newbie
*

Karma: 10
Offline Offline

Posts: 23


« on: May 02, 2008, 21:31 »

Hi dont know where to post this but here goes, i had a problem with my old content site so i pulled it and installed SS.

It looks much better and ive added the origional content to the site, the problem is its indexed in google and all of my pages are "404 error"

I have tried to redirect all my pages from my server but it aint working.

I need help here folks??
Logged
Omar
Here to help.
Administrator
Hero Member
*****

Karma: 10001
Offline Offline

Posts: 2687


« Reply #1 on: May 05, 2008, 22:37 »

404 errors are handled by SS (actually, there are no 404 errors, SS see any url like a valid url) so a server rule has no power.

What SS does when url is not a valid product, category or static page url is to print a 404 error message (rules of this are in utilities.tpl). What can do is to put a javascript redirect instead of printing the error message.

Look for:

{if isset($error)}
      {if $error==404}

and replace:

     

        404 - Not found
     


with:



Hope that helps
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!