Peter David Pedrick
Forum Replies Created
-
AuthorPosts
-
Thanks Kiran – it’s great and working.
What about the slug issue?
How can I get it back to showing https://electrician.org.za/south-africa/xxxx as it was before?Thanks,
Hi Kiran,
Best place to check the links is from the home page
https://electrician.org.zaYou’ll see KwaZulu Natal repeated twice in the Province list and then all Province and City link have https://electrician.org.za/location/south-africa/xxxx
What I would like is https://electrician.org.za/south-africa/xxxx as it was before.
Thanks,
PThanks Kiran but nothing has already annoyingly.
It looks like page conflicts with country slug. Make sure you have not assigned “south-africa” slug to any page. If you have used “south-africa” for any page then change it.
There was a page there titles south-africa, however once I changed the name to ‘location’ the link just updated to: https://electrician.org.za/location/south-africa/limpopo/
I check the Permalinks and it is set it up to: https://electrician.org.za/%cpt_slug% /%region%/%city%/%postname%/
KwaZuluNatal links are also still doubling up
You can assign field in search from CPT(Places) > Settings > Search
Company Name isn’t in the list strangely. I should have been clearer pointing out that I tried that already.
Thanks,
PeterOK… 4 more things have altered since the rebuild and I’ll leave you all alone! (sorry, it’s been 6 months since I worked on this and so still scratching my head trying to get it back up)
– The page links are now replicating the country twice and I have tried editing in Permalinks to no avail.-
https://electrician.org.za/south-africa/south-africa/gauteng/randburg/– The lists of results arent showing in the list but are in the map (this is also true on the detail webpage):
https://electrician.org.za/south-africa/south-africa/gauteng/randburg/
[gd_loop layout=”3″]
[gd_loop_paging]– KwaZulu-Natal shows twice on the homepage Province list but shows no records when you click on either link: https://electrician.org.za/south-africa/south-africa/kwazulu-natal/
– Is there a way to search company name in the search bar?
Thank you Alex!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Apologies, I should have been clearer – the WordPress admin is working, however, the public website is no longer showing.
Hi Naveen,
Ran the code – it said it executed and geodir_places_detail was created. I then imported data and it went in to wp_posts but not in to geodir_places_detail.The result is that my WP admin site shows 1,054 records in the gs_places section but zero in the Dashboard and the website seems to have stopped working when previously it was just showing ‘No Records’ in the map area.
Thanks,
PeterThanks Naveen,
Your points about backups are understood and we ‘did’ have them until they were deleted by a 3rd party without my knowledge… hence the massive error with all of this. I have put in steps to ensure this doesn’t happen again.
Step 2: where must I put this code to run it?
Thanks,
PeterThanks for responding Alex,
As mentioned, there is no backup of the database tables, just the data that goes in the tables.
Therefore, I need to rebuild the table or start again by recreating the table. The table doesn’t recreate (even with default settings) when I uninstall and install the geodirectory plugin.
There also seems to be dependencies with wp_pages as well as the custom tables where these pages still work independently even without geodir_places_detail being present and so the plugin itself doesn’t seem to realise there’s an issue. So I’m a little stuck until I can reinstall / rebuild.
Thanks for your help gents, I know it was a silly thing to do.
This reply has been marked as private. -
AuthorPosts