*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #15 on: July 25, 2025, 11:02:46 AM »
Ok will have to check when I'm home(later), as this will be blocked as I'm working in a school...so anything relating to that domain will be blocked.

OK. Thanks!

Re: Links to listings not working
« Reply #16 on: July 25, 2025, 11:04:41 AM »
Just checked on my mobile, you have one listing, with no filters choosen

Is the category you refer to enabled ?

*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #17 on: July 25, 2025, 11:08:13 AM »
Just checked on my mobile, you have one listing, with no filters choosen

Is the category you refer to enabled ?

Everything is enabled.

Re: Links to listings not working
« Reply #18 on: July 25, 2025, 11:12:08 AM »
I'm at a loss,
You have all enabled
No errors logged
You've tried disabling the permalinks
Yet when I search with no filters, it brings one ad up, so ad number ID 258 is your clue
What is different on this ad to all the others.
Lets go that route


*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #19 on: July 25, 2025, 11:14:24 AM »
I'm at a loss,
You have all enabled
No errors logged
You've tried disabling the permalinks
Yet when I search with no filters, it brings one ad up, so ad number ID 258 is your clue
What is different on this ad to all the others.
Lets go that route

This new add is added recently. All other ads are in the db from 2022. I didn't us the system for 3 years because of my health and now I want to continue with the project.

Re: Links to listings not working
« Reply #20 on: July 25, 2025, 11:25:26 AM »
Okay is the ad in a category where any of the other ads from 2022 are ?
Try
Tools > Category stats, then click calculate category stats, this helps a lot of problems

Next
Check all listings you previously had are not expired, or the category they are in are not expired,
Settings > Categories > Edit > check expiry date, if need be changed to zero (0) - If the value is zero, it means this category doesn't have an expiration
Then check again


*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #21 on: July 25, 2025, 11:39:42 AM »
Okay is the ad in a category where any of the other ads from 2022 are ?
Try
Tools > Category stats, then click calculate category stats, this helps a lot of problems

Next
Check all listings you previously had are not expired, or the category they are in are not expired,
Settings > Categories > Edit > check expiry date, if need be changed to zero (0) - If the value is zero, it means this category doesn't have an expiration
Then check again

I've 'Calculate category stats' again, but nothing changed.

Expiration days are all set to 0, so no expiration.

As you can see in the attached screenshot the listings are counted and when you check the listings from the admin or from the advertiser's dashboard the listings are visible.


Re: Links to listings not working
« Reply #22 on: July 25, 2025, 11:52:59 AM »
So if when you are in admin and you click a listing to show it in the front, it works okay? you can see the listing ? Or is that when you get the error?
Also, try one listing that is old and amend the listing, a lot has happended since you last had a look at this site, then check
Also, have you changed themes since original 2022, maybe try going back to an original theme and checking, it might be theme related.

Seems very strange

*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #23 on: July 25, 2025, 01:52:14 PM »
So if when you are in admin and you click a listing to show it in the front, it works okay? you can see the listing ? Or is that when you get the error?
Also, try one listing that is old and amend the listing, a lot has happended since you last had a look at this site, then check
Also, have you changed themes since original 2022, maybe try going back to an original theme and checking, it might be theme related.

Seems very strange

When I click the ad from the admin it works perfect. Also when I click the ad from the advertiser's dashboard it works fine.
In both cases it shows the correct breadcrumbs with the categories and subcategories.

Only when I select a category on the homepage it always says that the category is empty.

I renewed an old listing but still the same result.

I also tried with switching to the default template but again with the same result.

Re: Links to listings not working
« Reply #24 on: July 25, 2025, 01:55:16 PM »
Have you got this in permalinks
See snippet

Also do you have an age limit plugin ? if so disable it and try

*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #25 on: July 25, 2025, 02:01:35 PM »
Have you got this in permalinks
See snippet

Also do you have an age limit plugin ? if so disable it and try

I disabled the Age plugin without result.

I have this in Permalinks:

*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #26 on: July 25, 2025, 02:07:59 PM »
Have you got this in permalinks
See snippet

Also do you have an age limit plugin ? if so disable it and try

I changed my Permalinks to:
Static page URL: {PAGE_SLUG}
Category page URL: {CATEGORY_NAME}

But now I get a 404 error visiting a Category-page.

Re: Links to listings not working
« Reply #27 on: July 25, 2025, 02:13:13 PM »
Yeah not wise to copy mine...
Either Accepted keywords: {PAGE_ID}, {PAGE_SLUG}, but when you use page_slug you might need something infront link info/{PAGE_SLUG}
Category page should still work fine though, whats in your htaccess file, is that standard ?

Re: Links to listings not working
« Reply #28 on: July 25, 2025, 02:14:27 PM »
Also what do you have here
see image

*

Lucky

  • ***
  • 66 posts
Re: Links to listings not working
« Reply #29 on: July 25, 2025, 02:16:20 PM »
Yeah not wise to copy mine...
Either Accepted keywords: {PAGE_ID}, {PAGE_SLUG}, but when you use page_slug you might need something infront link info/{PAGE_SLUG}
Category page should still work fine though, whats in your htaccess file, is that standard ?

.htaccess is standard:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>