HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Using the Broken URLs feature

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#57658 (In Topic #12580)
Avatar

Fan in action

does this work with short urls? is there more info on how exactly to use it?

Hi,

I'm running 4.2.2 and using short urls. Curious what I should expect from using the Broken URLSs feature in the Website Cleanup Tools section. If this worked or if I understood how it should work I think it could be fantastically useful for me.

Gave it a run on our site and after ten minutes or so got back a list of around 2000 URLS. Some of them look like obviously incorrect URLs that could be causing problems, others don't. I'm running short URLs so what I got back was literally just a list of problem URLS, no real indication where they might be.

Nearly all of them had an exclamation mark prepended to them. The last 20 or so didn't. It says on the screen that "The database records of the content will be detailed in a coded format, from which you can determine the resource type and the resource ID." I can't see where or if this has happened. The help page referred to is ocPortal.com - ocPortal Tutorial: Cleanup tools which doesn't really say anything about the feature.

What should I be looking for here?

a
Back to the top
 
Posted
Rating:
#57736
Avatar

Very good points, here are fixes…

Attachment
sources/hooks/modules/admin_cleanup/broken_urls.php
» Download: broken_urls.php (6 Kb, 150 downloads so far)
Attachment
themes/default/templates/BROKEN_URLS.tpl
» Download: BROKEN_URLS.tpl (403 Bytes, 157 downloads so far)


The specification of where the URLs isn't great, but at least now it's better than nothing.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: