Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

suddenly 404 issues
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.

TOPIC: suddenly 404 issues

Re:suddenly 404 issues 17 years, 3 months ago #2962

I fixed my problem. It turned out the htaccess file had not been updated after installing the ARTIO JoomSEF component. My Joomla! core SEF Section was uncommented and the 3rd Party SEF section was commented out. Below is what it should look like (in the two sections mentioned).

########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section



########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section

Re:suddenly 404 issues 17 years, 3 months ago #2967

  • martin
hmm..

I just copy/pasted your htaccess file, but no luck. :(

Re:suddenly 404 issues 17 years, 3 months ago #2982

I had the same problem after upgrading to 2.1 from 1.5. All my SEF urls would work except for www.mydomain.com or www.mydomain.com/index.php.

After reading numerous posts here and trying various .htaccess fixes I came up with a solution. I realised after looking at a debug of the site that the the component wasn't finding any result for:
SELECT * FROM jos_redirection WHERE `oldurl` = 'index.php' AND `newurl` != '' LIMIT 1

So, I just added two entries in the Custom URLS to redirect to my home page of choice, one with the New URL empty and the other with just 'index.php'.

I am not sure if that is an official solution but it worked for me.

As a side note, I think I am my problem was related to the fact that I'm not using the com_frontpage module as my homepage.

Re:suddenly 404 issues 17 years, 3 months ago #2983

  • martin
George, you could be right. I don't use com_frontpage either.

could you be more specific about how you setup the redirection in artio?

So I can see exactly how you did it.

I'm not a joomla literate, so I like to get it nice and simple..

Re:suddenly 404 issues 17 years, 3 months ago #2984

Anyway, I think I posted that other message a little too soon. Even though my 'fix' allowed the homepage to load correctly, it caused other problems. So unfortunately it looks like we're going to have to find another solution.

For one thing my search wasn't working anymore. I guess it posted to index.php which didn't receive the values anymore. I also couldn't use the core Joomla SEF URLS in the form /content/category/5/74/86/.

But for the sake of completeness I'll outline how to do what I tried, let me repeat though that it doesn't work as I thought it did:
1. Go to the JoomSEF control panel.
2. Click on Edit/View SEF URLS
3. Click New URL
4. Where it says New SEF URL, put index.php.
5. Under Old URL put the address of the page you want as a home page, you can get this by disabling the SEF and visiting the page you want to use. It should be something like index.php?option=com_content&Itemid=86&id=22&task=view
6. In ItemID, put the corrresponding itemid, in this case 86.

Then I repeated the above process but leaving the New URL field blank (empty).


The developers obviously want to make it difficult to read their code which also makes it harder to debug and offer other solutions. My only option for today was to restore version 1.5.1 which was working fine. I was hoping to do the upgrade to improve the efficiency of the code.

Re:suddenly 404 issues 17 years, 3 months ago #3002

Hello,

I had the very same issues and now it seems resolved. I use JoomFish, and I had to change the JoomFish Related Configuration (Components > ARTIO JoomSEF > ARTIO JoomSEF Configuration; towards the bottom of the page). I changed the default settings to these:

Language integration: Do not add

Always use language? No

Translate URLs? Yes

Domain configuration
Language 1: www.mydomain.com
Language 2: www.mydomain.com

It remais to be seen whether it is the solution, but so far it seems to be working.

Cheers,

Laszlo
Přihlášení uživatele Prázdný