Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • seelife Friend
    #171293

    Hi Folks,
    I do not seem to have a working 404 page. I have also tried setting up a custom 404 page as per Joomla instructions, using a 404 page etc, but that also does not work. I need this asap as we have just changed our site over totally and there will be many new pages.
    Apart from getting the 404 to work – how best to capture still indexed pages – I guess a 303 redirect, but can you be clear about what to place in my root folders etc.
    Regards

    gray Friend
    #427354

    Have you tried to create 404 page with error.php like in default template
    /templates/beez5/error.php

    Regarding “how best to capture still indexed pages” – what do you mean? You have a page which is permanently moved (renamed) to another page? In this case you can used build-in Redirection component (Joomla 1.6 and 1.7).

    seelife Friend
    #427368

    Hi – I have created an error.php and its in my ja-teline-iv template folder.
    Basically Ive followed the joomla wiki guide. Created a 404 page, created a menu item, saved, turned it off, used the link etc
    But there is no redirect to the page. I get the ugly 404 apache page.

    Re the already indexed page – I have moved the site and installation from an entirely different platform – there are many pages that are indexed – messy I know but there was no cjoice – I need a simple stupid way to catch these.
    I was guessing a 201 but if someone with better SEO than me can suggest something Im all ears.
    Regards

    gray Friend
    #427370

    1. Instead of the Joomla core 404 page (table with red top) you see an Apache error page? Check if you have any 404*.* files at the root folder of the site. It seems 404 error is handled directly by hosting server, not Joomla.

    2. To change address you should use 301 permanent redirect. This explains a little bit what 301 is used for. Joomla core Redirect component can do the job – but you’ll have to enter “old” and “new” URLs manually.

    Not sure if it’s possible to make the task simpler… In any case, a table “old link”->”new link” has to be created; if such a table exists, it’s possible to copy data into redirect table with phpMyAdmin, instead of manual adding. Check JED – maybe there is a component which can do this task (building “old-new link” relations), but I think it’s difficult as you moved from another platform.

    splico123 Friend
    #427371

    Well u can actually put a custom error.php in the root folder of the template and should work. Make sure u follow custom development process for joomla pages and adding code that is required for it to work as well as secure it properly.

    seelife Friend
    #427374

    Hi Folks, I dont have any other 404 anywhere, I followed this : http://docs.joomla.org/Creating_a_Custom_404_Error_Page
    I dont see any other 404 capture not even in htaccess.

    Re the other – by platform – the site is onth e same server, but we developed the site on a different system but had to change to Joola cos we needed additional functionality.
    Regards

    gray Friend
    #427377

    1. How does the 404 error page looks like? Pls make a screenshot.

    2. Look – in any redirection component you should indicate old link (redirect from) and new link (to be redirected to). Do you look for an add-on which could automatically create such a relation? If you do have table with all “old-new” link, just use the Joomla core Redirect component.

    PS. could you give several examples of old and respective new links?

    seelife Friend
    #427379

    Hi gray,
    Re the 301 – I will try RED, seems like tghe easiest way to go – ie go thro the google indexed pages and try to get as many as possible.
    Having a working 404 will solve at least some errors. Re the 404 – this is the screenshot :

    Thanks


    1. 404page-1
    seelife Friend
    #427433

    Hi Folks, OK, I have managed to get a 301 redirect for broken google links working. The htaccess in root wasnt correct.
    The problem has been – we had the website set up in root using PHPFox – it was active and many pages were indexed.
    We had to move and rebuild the site in joomla (now in a subfolder), so you can understand the problem.
    My root htaccess now captures all rubbish links to the new sites new homepage.

    BUT – the joomla/joomart site 404 still dosent work.
    Please help – sites live now.
    Regards

    gray Friend
    #427455

    1. If you added a rule in .httaccess to 301 redirect for non-existing pages (as I understood you used a common rule, not for each page separately) ANY broken link will be redirected to the home page. Do you have links which are not redirected? Which ones?

    2. Still regarding 404 page. Try:
    A. Adding in .htaccess

    ErrorDocument 404 /index.php

    or

    ErrorDocument 404 /err404.html
    – in this case a file err404.html should exists in the root folder.
    B. Try disabling Joomla SEF (and 3rd party SEF add-ons if installed) and check if error.php is being activated.
    C. Try switching to another template and and check if error.php is being activated (assuming error.php in located in the folder of that template).

    PS. Is your live site installed in an subfolder?

    seelife Friend
    #427545

    Hi gray – yes yhe site is in a subfolder, first level below root. Normally I dont install anything in subdirectories, but it was easier while we had a live site with the other system – and meant not moving domain or server after etc. – but now I have to tidy up 🙂
    Thanks for the suggestions re the 404, I’ll work thro them.
    Best regards

Viewing 11 posts - 1 through 11 (of 11 total)

This topic contains 11 replies, has 3 voices, and was last updated by  seelife 12 years, 12 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum