SEO: 404 Pages

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

Re: SEO: 404 Pages

Post by AmyStephen » Fri Apr 25, 2008 11:49 pm

OK. Thanks for that. Obviously, was not following that.

User avatar
pvh123
Joomla! Ace
Joomla! Ace
Posts: 1156
Joined: Wed Oct 05, 2005 7:25 am
Location: Emmen

Re: SEO: 404 Pages

Post by pvh123 » Sat Apr 26, 2008 7:00 am

I can now see where Brad is going having read his explanation again; I am not a Apache guru so it takes a bit more thinking for me. This raises another question, since this is all very Apache directed, what about IIS websites? I know that you can replace the default errorpages in IIS, but that would be "static" pages than and we are very "dynamic". Also how does this reflect on this discussion? We need to handle the same issue there as well, I think.
Note: Sending me private messages for personal support, without this been requested, would lead to ignoring any of your posts in future!

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: SEO: 404 Pages

Post by brad » Sat Apr 26, 2008 7:06 am

Similar principles apply to IIS, however, without having the use of mod_rewrite, it's also a non issue IMHO. I'm happy to explain more sometime if needed.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: SEO: 404 Pages

Post by mcsmom » Sun Apr 27, 2008 2:35 pm

Brad, right now there are a lot of places in the code where it checks permissions and if the user does not have proper permissions it uses JError::raiseError to get the error.php, whether from the system template folder or the current template (if error.php exists for the template). These show in the apache log with the right header if the status number is included in the code.

In terms of resources used is there any advantage to going to error.php over showing a warning or a notice?
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: SEO: 404 Pages

Post by brad » Sun Apr 27, 2008 10:10 pm

I understand at some point, Joomla is going to have to handle error pages. All I am suggesting is that out of the box this be minimal. IF people want to enable it, I'd like to see them have to turn it on, or edit a line our of .htaccess. Just something that enables default sites, Joe Blow in the street, to use the webserver default 404's if possible.

The next step is to minimize the amount of work that Joomla does to throw a 404.. again I am not sure of the finer details on this.

User avatar
alledia
Joomla! Ace
Joomla! Ace
Posts: 1069
Joined: Tue Jul 18, 2006 3:55 pm
Contact:

Re: SEO: 404 Pages

Post by alledia » Mon Apr 28, 2008 12:39 am

OK - would we consider going with a plugin (albeit not in the core package)?
Joomla extensions and templates: http://Joomlashack.com

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: SEO: 404 Pages

Post by brad » Mon Apr 28, 2008 12:41 am

alledia wrote:OK - would we consider going with a plugin (albeit not in the core package)?
Even if it were in the Core Package, I have no issue, as long as it is off by default ;)

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: SEO: 404 Pages

Post by mcsmom » Mon Apr 28, 2008 10:00 am

Right now, as far as I know error.php is mainly used when specifically called by Joomla! in the code using JError which are not usually true 404s. The one exeption is if you have sef on with the extension selected, in which case index.php/cat.html will give you the system error page.

So, it sounds like if we had a plugin by default set to off that controlled whether the error.php was used that would solve some possilbe resource problems anyway.

Also, I would say it should first always look to the current template and then if there is no error.php go to the system template.


Now, we all know already that we can just go and customize the apache error pages to look however we want. And from what Brad is saying that is what someone concerned about resources should do. The problem is, however, if you have multiple domains on your account you can't customize too much because it wouldn't match all of your different domains. So, what you do is make an error.php page for your template.

Then I think we have the possibly interesting possibility of allowing editing editing of error.php as part of the template manager.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

User avatar
alledia
Joomla! Ace
Joomla! Ace
Posts: 1069
Joined: Tue Jul 18, 2006 3:55 pm
Contact:

Re: SEO: 404 Pages

Post by alledia » Wed May 07, 2008 12:44 pm

Interesting article on 404s from ALA: http://www.alistapart.com/articles/perfect404/

Some key takeaways:

404 Must-haves

* A link to the site map and the home page.
* A search box.
* A distinctly minimalist look. Avoid putting all your standard site navigation on this page.

1 and 2 would certainly entail the page being part of Joomla with the ability to place modules in the content.
Joomla extensions and templates: http://Joomlashack.com

User avatar
perandre
Joomla! Explorer
Joomla! Explorer
Posts: 350
Joined: Thu Feb 23, 2006 2:17 am
Location: Norway
Contact:

Re: SEO: 404 Pages

Post by perandre » Mon Jun 23, 2008 9:37 am

My opinion:
-It should be in Joomla core, but it could be turned off as default
-It should be a normal article that can be linked to from a menu element (invisible menu, that is...for configs and module placement).

Great!

RickGlaser
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Mon Apr 20, 2009 2:38 am
Contact:

Re: SEO: 404 Pages

Post by RickGlaser » Wed Jul 22, 2009 11:00 pm

Always use a sitemap, and when you are using a SEF comp. make sure that you do things correctly and do not have the native Joomla SEF activated as well. It will prevent many headaches.
http://www.highrankingseo.net Florida Internet Marketing
http://twitter.com/RikGlaser
Follow Me!

User avatar
holdencreative
Joomla! Explorer
Joomla! Explorer
Posts: 469
Joined: Thu Oct 13, 2005 1:51 am
Location: Hamilton, ON
Contact:

Re: SEO: 404 Pages

Post by holdencreative » Mon Jul 27, 2009 3:58 pm

Incidental to this thread...thought you may like to know..
I have created a summary of the primary 'Custom 404 Page' method as a Joomla! Documentation Tutorial.

Original Thread:

http://forum.joomla.org/viewtopic.php?f=199&t=251089

New Documentation Page:

http://docs.joomla.org/Tutorial:Create_ ... Error_Page

The only significant difference from the method described on the first page of this thread is that the tutorial suggests using a traditional Joomla! URL (non-SEF) in order to avoid the requirement of a newly published menu item.

While this *may not be the best* long-term method toward SEO and Joomla! it provides a single source solution to a common question on the forums.
Joomla! is an all-volunteer project. Be Kind.

Did you know that you can make almost any Joomla! site into an app? http://weeverapps.com

301yutredo
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Mon Nov 02, 2009 3:50 pm

Re: SEO: 404 Pages

Post by 301yutredo » Mon Nov 02, 2009 3:59 pm

I agree with http://www.alistapart.com/articles/perfect404/ Keep it simple.good luck. 8)


Locked

Return to “Accepted - Archived”