Home / Joomla URLs / Solving Common Problems With sh404SEF 
Joomla URLs
Jul
30
2008
Solving Common Problems With sh404SEF
Written by Steve Burge   
Avatar

sh404SEF logoIf you read this blog often, you'll know I love building sites with sh404SEF. However, its such a powerful extension that it can be complex. There are several issues that people keep asking me about. So instead of giving the same answer every time, I've written up the answers in a single document.

This is a free article from the SEO Club's guide to sh404SEF. Club members can look forward to the release of a full guide to Artio JoomSEF within the next couple of days. If you're not a member, we're still offering a free two week trial.

404 Errors On Individual Pages

sh404SEF can sometimes record a new URL without also recording the default Joomla version. It may be neccessary to go into the database in order to fix the problem. Here are the steps to take.

  1. Go into your database. phpMyAdmin is most common way to do this and your host is likely to have this installed.
  2. Find the table called jos_redirection (or replace jos with your own table prefixes)
  3. Click on "Old URL". This will sort the table alphabetically via its SEF URLs.
  4. Search for the URL that is causing the 404 error. It may not have an entry in the "New URL" field. Either put the normal Joomla URL in here or simply click on the red X to delete it.
missingurls

404 Errors Immediately After Purging URLs

sh404SEF can sometimes take a few minutes to recreate all the URLs. One way to speed the process is to visit the sitemap page on the frontend.

Pages Don't Have the Correct Modules or Templates

Its possible that sh404SEF has recorded the URL but without the correct Itemid. In this example, we have two versions of lost-user-name.htm. One includes Itemid=10 and one doesn't. Because the active URL (the one with 4 hits) doesn't include Itemid=10, it may be the reason why the modules and templates don't work. To solve this, select the URL that doesn't include Itemid=10. You can can do this by checking the box beside the URL and clicking "Duplicate URL" in the top-right corner. Here you will see all the different versions of the URL ... select the one you want and click "Main URL" in the top-right corner.

Global Configuration Not Correctly Set on 1.5

Under "SEO Settings" make sure that all three options are set to "no"? (Search Engine Friendly URLs, Use Apache mod_rewrite, Add suffix to URLs). Joomla 1.0 is the opposite ... both need to be set to "yes".

h1 Tags Cause Template Problems

There are two likely issues here:

  1. Some templates come with h1 tags behind the logo. If you see problem with the logo area, this is likely to the be problem. You may need to go into the template's index.php file and remove the h1 tags.
  2. Templates don't have CSS for h1 tags. If the h1 tags show very large, you will need to add your own CSS to the template's CSS file. One example is:

h1 {

font-size:16px;

}


or


h1 {

font-size: 125%;

}

 

Comments  

 
#1 Jeremy Rueter 2008-07-30 15:05
This is great. I've had several of these issues before. The suggestion about visiting the sitemap after purging URL is especially helpful. One question though. I've encountered a number of times when pages don't have the correct modules/templates displaying. Seems to gradually happen but once I purge the URLs it goes back to normal. Your suggestion is to "To solve this, select the URL that doesn't include Itemid=10." But what do I do once I've selected it? I'm a bit confused.
Quote
 
 
#2 Steve Burge 2008-07-30 15:14
Thanks for the feedback Jeremy - I do need to make that clearer.

Quote:
You can can do this by checking the box beside the URL and clicking "Duplicate URL" in the top-right corner. Here you will see all the different versions of the URL ... select the one you want and click "Main URL" in the top-right corner.
Quote
 
 
#3 Jeremy Rueter 2008-07-30 15:20
Thanks Steve. That makes a lot more sense. :-)
Quote
 
 
#4 Anthony Olsen 2008-07-30 16:19
Thanks for the article Steve,

Im not sure if its specific to sh404 - but docman and fireboard particularly dont like it when you put a full stop in the url. So if you name a post "What's new i J1.5" - you'll get a 404.

Any thoughts on how to get around this? At the moment you have to edit the database, remove the '.' and clear the url cache to fix the issue.

Cheers Anthony
Quote
 
 
#5 Steve Burge 2008-07-30 16:24
I have the same problem with SEF Advance and Fireboard.

Have you tried adding a full stop (period for U.S. folk) to "Strip characters" in the configuration"?
Quote
 
 
#6 Copes Flavio 2008-07-31 04:05
These are great tips, Steve! Thanks a lot for sharing them :D
Quote
 
 
#7 Ulas ALKAN 2008-07-31 04:35
Hi;

sh404sef is a great component and your article is very helpful .

thanks for the tips
Quote
 
 
#8 Sean Cook 2008-07-31 17:01
Another informative post Steve! I will use this from time-to-time to remind myself when I run into those issues.

We all appreciate the tips!! :P
Quote
 
 
#9 Anthony Olsen 2008-07-31 17:19
That solved it Steve thanks :-)
Quote
 
 
#10 ninad 2008-08-10 03:17
Hello,
I have installed open SEf on my joomla(1.0.13) website.Open SEF is very usefull to create SEO friendly urls but problem is with tital and meta description tags, it shows same title on all pages as there is no way to customize different page title for different pages.
Can any one let me know with sh404SEF one can set different Title and Description per different pages?
Thanks.
Regards
ninad
Quote
 

Add comment


Security code
Refresh