Cannot get Phoca SEF to work

Phoca SEF - redirect extension for Joomla! CMS
systeman
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Apr 2009, 14:32

Cannot get Phoca SEF to work

Post by systeman »

Hi,

I've installed Phoca SEF OK but it is not logging any of the error 404 pages. Also I edited the error.php file as an core override like this: templates/template-name/html/libraries/joomla/error/error.php

Thanks in advance.
Paul
Last edited by systeman on 07 Oct 2009, 11:11, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot get Phoca SEF to work

Post by Jan »

Hi, it is independend on legacy mode,

try to edit this file:
libraries/joomla/error/error.php

instead of this:
templates/template-name/html/libraries/joomla/error/error.php

https://www.phoca.cz/documents/42-phoca- ... stallation

see:

https://www.phoca.cz/documents/42-phoca- ... -phoca-sef
If you find Phoca extensions useful, please support the project
systeman
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Apr 2009, 14:32

Re: Cannot get Phoca SEF to work

Post by systeman »

Hi Jan,
OK, I reinstalled Phoca SEF and amended the error.php file to include the new code.

Am I supposed to see error 404 pages being listed in Redirect Site so that I can redirect them?

Paul
systeman
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Apr 2009, 14:32

Re: Cannot get Phoca SEF to work

Post by systeman »

Hi,

Still no luck with this component. It is set up OK but not adding error 404s to any database.

Has anyone else got the same problem or overcome this issue.

Paul
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot get Phoca SEF to work

Post by Jan »

Did someone go to Error site?
If you find Phoca extensions useful, please support the project
systeman
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Apr 2009, 14:32

Re: Cannot get Phoca SEF to work

Post by systeman »

Hi,

Yes, I followed the links from within Google Webmaster Tools and this showed error 404 pages. But nothing is being recorded to the database and thus showing in Phoca "Obsolete Site"
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot get Phoca SEF to work

Post by Jan »

Did you check the phoca sef tables in your database?
If you find Phoca extensions useful, please support the project
SEOserpent
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 14 Apr 2009, 18:06

Re: Cannot get Phoca SEF to work

Post by SEOserpent »

I am also having the same problem. It looks like mine was working after initial installation because there are 9 unpublished 404'd page in there, but ignoring those for a moment, when I try to manually create a redirect, I put the following into the form:

Obsolete site: sheep (for http://www.foo.com/sheep/)
New Site: archives/sheep-tales.html (for http://www.foo.com/archives/sheep-tales.html)
Published: Yes

(All parameters for component are set to "Yes" and the SEO settings under Joomla Global Config are all set to "Yes" and I have sh404SEF installed but not sure if that matters or not...)

I have edited the file mentioned above:
try to edit this file:
libraries/joomla/error/error.php
When I visit the site as http://foo.com/sheep or http://foo.com/sheep/ I just get a 404 error from Joomla, no redirect.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot get Phoca SEF to work

Post by Jan »

Hi, Phoca SEF works with standard Core SEF (I didn't test it with some other SEF component, maybe this can occur some problems because there can be some conflicts between two components which are taking care about redirects) Try to deactivate your sh404SEF (maybe uninstallation will be needed) to test it correctly.

Jan
If you find Phoca extensions useful, please support the project
Post Reply