Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Custom 404 error for Adsmanager

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Custom 404 error for Adsmanager

More
9 years 1 month ago #19107 by sinasile
Custom 404 error for Adsmanager was created by sinasile
Is it posible to create custom 404 error for Adsmanager because there is bunch of soft 404 errors in my google webmaster tool.
And how to do it ?
I have already tried joomla custom 404 don't work ,.htaccess 404 don't work I don't know what to do,and number of errors are just growing and growing.I try to disable joomla SEF and leave only sh404 but neither that work .
HELP
More
9 years 4 weeks ago #19128 by loic
Replied by loic on topic Custom 404 error for Adsmanager
Hello,

What are the links that display a 404 error ?
Usually, there is no 404 error caused by adsmanager, so I think the cause might be a configuration problem.

Best regards.
More
9 years 4 weeks ago #19149 by sinasile
Replied by sinasile on topic Custom 404 error for Adsmanager
Hello
when the Ad is expired or is deleted and user find it through Google search or just type URL there is no 404 page not found and it returns to home page .
HTTP status returned is 200 OK
And this I have in Google Webmaster tool - The target URL does not exist, but the server does not returns a 404
and they call it soft 404 since we talking about classified ads then there is many such links .
And it is bad for SEO and user experience on website
More
9 years 3 weeks ago #19185 by tompap
Replied by tompap on topic Custom 404 error for Adsmanager
in views/details/view.html.php

You will see

} else {
//JError::raiseError(404, JText::_("Page Not Found"));
$app->redirect( TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$catid));
}
}

Just uncomment JError
and remove the redirect.
More
9 years 2 days ago #19683 by sinasile
Replied by sinasile on topic Custom 404 error for Adsmanager
Hello

It just won't work or am I doing something wrong.If I uncomment JError nothing happened it still return me to home page without 404 error ,if I try to put my custom 404 page instead of index.php?option=com_adsmanager&view=list&catid='.$catid then it show Parse error: syntax error, unexpected T_VARIABLE or Parse error: syntax error, unexpected T_STRINGE on line that is when I click on nonexistent link in google webmaster tool

This is how it look now in my views
//JError::raiseError(404, JText::_("Page Not Found"));
$app->redirect( TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$catid));
}
}

if ($content == null) {
$app->redirect($_SERVER, JText::_('ADSMANAGER_ADS_NO_RIGHT'),'message' );
}
More
9 years 1 day ago #19691 by loic
Replied by loic on topic Custom 404 error for Adsmanager
Hello,

If you put an exit(); just before the redirection, is it executed ?
If not, that means you don't pass in the condition.

Best regards.
Moderators: perry
Time to create page: 0.132 seconds
Powered by Kunena Forum