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 / Manage ads no longer available with 410 error

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

Manage ads no longer available with 410 error

More
10 years 10 months ago #17393 by fmassa
Hi,
today, after christmas, google webmaster tool give me increase of "soft 404" errors, since a most of ads was delete by owners.
Is possible manage ads no longer available "soft 404" with 410 code?
The following user(s) said Thank You: adarr
More
10 years 10 months ago #17410 by loic
Hello,

I will speack about that issue with my manager.
In the meantime, you can update the file robot.txt to stop the crawl of those URL.

Best regards.
The following user(s) said Thank You: adarr
More
10 years 10 months ago #17572 by fmassa
Hello Loic,
unfortunately I have more than 28'435 ads for each languages (for now I use 3 languages).
Actually I have more then 20 new ads by day from users.
I can not update the file robot.txt everytime one user delete one or more ads, even because I don't know when someone remove his ads.

regards
The following user(s) said Thank You: adarr
More
10 years 10 months ago #17580 by tompap
Which version are you using
3.1.4
Do you have any active 404 in views/details/view.html.php ?

Normally

//JError::raiseError(404, JText::_("Page Not Found"));
has been replaced by

$app->redirect( TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$catid));

code 303
The following user(s) said Thank You: adarr
More
10 years 10 months ago #17615 by fmassa
Hello,
I'm usisng Adsmanager 2.9.13

Yes, I foud on components/com_adsmanager/view/details

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

and

if ($content == null)
$app->redirect( JRoute::_('index.php?option=com_adsmanager&view=front&status=error'), JText::_('ADSMANAGER_ADS_NO_RIGHT'),'message' );

Now AdsManager are using the second method, because in front-end give back ADSMANAGER_ADS_NO_RIGHT message, but don't give back code 404 or code 410. Which is a problem for search engine.

How can I give back also the error code and not only message error?

regards
The following user(s) said Thank You: adarr
More
10 years 9 months ago #17749 by tompap
In this case, just uncomment

JError::raiseError(404, JText::_("Page Not Found"));
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.050 seconds
Powered by Kunena Forum