Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 5 replies, 2 voices, and was last updated 8 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
12/30/2014 at 7:01 am #313668
Ciaran Lyons
ParticipantHi Steven,
I’m trying to disable the Single Entry view from being generated altogether.
We currently have a lot of short directory entries, so there is no benefit to being able to click through to the details page.
- Example category: http://ourlittlegreendot.com/marketplace/kids/
- Example detail page: http://ourlittlegreendot.com/marketplace/kids/name/simply-living/
I saw in another thread that is seems to be possible [http://connections-pro.com/support/topic/showing-date-entries-after-csv-import/#post-310896] but I don’t have that option in Settings. I am using the latest version of Connections.
Thanks,
Ciaran12/30/2014 at 10:13 am #313684Steven Zahm
Keymaster@ Ciaran
To disable the name link which leads to the single entry view, goto the Connections : Settings admin page and click the Advanced tab. Uncheck the Name Link option and save.
That will prevent the names from becoming links. Hope that helps!
12/30/2014 at 1:18 pm #313697Ciaran Lyons
ParticipantHi Steven,
Thanks, but I have already disabled all Links in the Advanced tab, including the Name links.
Even though you can’t browse to those pages, they still appear in Search somehow:
https://www.google.com/?gws_rd=ssl#safe=off&q=site:ourlittlegreendot.com+%22simply+living%22It’s this behaviour I want to prevent, but stopping Connnections from even rendering the Single Entry pages.
I don’t see anywhere in the templates where this logic fires. Maybe I’d have to hack the URL routing?
01/01/2015 at 10:16 am #313850Steven Zahm
Keymaster@ Ciaran
Right, this only disables the visible links, the underlying code still will function if you access the link directly. Since the links are in the Google index they’ll show up in the results and will work.
As Google re-crawls the site and updates its index, the links will be removed from its index.
To complete remove the ability from Connections you would have to remove the rewrite rules for the single pages from the
class.rewrite.php
in this file:../wp-content/plugins/connections/includes/
Hope that helps!
01/01/2015 at 12:19 pm #313853Ciaran Lyons
ParticipantThanks Steven. I decided not to hack the core plugin but you gave me the right idea with rewrites.
I created a new rule in my .htaccess which will redirect those detail pages back to the main category:
RedirectMatch 301 ^/marketplace/([a-zA-Z]+)/name/([a-zA-Z-]+)/$ /marketplace/$1/
That seems to do the trick and will survive any updated to the plugin you make.
Thanks,
Ciaran01/02/2015 at 9:29 am #313874Steven Zahm
Keymaster@ Ciaran
I didn’t think of doing a simple .htaccess redirect. That’ll work quite nicely!
If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections -
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.