-
AuthorPosts
-
seelife Friend
seelife
- Join date:
- October 2011
- Posts:
- 87
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 6 times in 1 posts
November 30, 2011 at 2:45 pm #171293Hi 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.
Regardsgray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
November 30, 2011 at 5:07 pm #427354Have you tried to create 404 page with error.php like in default template
/templates/beez5/error.phpRegarding “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 Friendseelife
- Join date:
- October 2011
- Posts:
- 87
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 6 times in 1 posts
November 30, 2011 at 7:58 pm #427368Hi – 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.
Regardsgray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
November 30, 2011 at 8:32 pm #4273701. 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 Friendsplico123
- Join date:
- January 2007
- Posts:
- 339
- Downloads:
- 80
- Uploads:
- 7
- Thanks:
- 24
- Thanked:
- 93 times in 16 posts
November 30, 2011 at 8:58 pm #427371Well 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 Friendseelife
- Join date:
- October 2011
- Posts:
- 87
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 6 times in 1 posts
November 30, 2011 at 9:15 pm #427374Hi 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.
Regardsgray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
November 30, 2011 at 9:42 pm #4273771. 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 Friendseelife
- Join date:
- October 2011
- Posts:
- 87
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 6 times in 1 posts
November 30, 2011 at 10:38 pm #427379Hi 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
seelife Friendseelife
- Join date:
- October 2011
- Posts:
- 87
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 6 times in 1 posts
December 1, 2011 at 8:48 am #427433Hi 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.
Regardsgray Friendgray
- Join date:
- October 2009
- Posts:
- 957
- Downloads:
- 0
- Uploads:
- 17
- Thanks:
- 28
- Thanked:
- 292 times in 230 posts
December 1, 2011 at 11:33 am #4274551. 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 .htaccessErrorDocument 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 Friendseelife
- Join date:
- October 2011
- Posts:
- 87
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 6 times in 1 posts
December 2, 2011 at 7:54 am #427545Hi 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 regardsAuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 3 voices, and was last updated by seelife 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Cant get the 404 page to work
Viewing 11 posts - 1 through 11 (of 11 total)