avoid broken links
Permalink
I'm having a few sites where I periodically check (using a tool) broken links.
It looks that with c5 this happens several times. Something that never happened with the cms we've been using before.
Why? When we renamed a page it checked all the pages for links and modified them as well.
I'm not saying this is the best approach, especially for a big site, but I'm having a lot of broken things every once a while. Same problem with pictures. I can simply remove a picture from the file manager without knowing that it has been in use by several pages/blocks.
Has anyone a good idea how to avoid this?
If not, here's what I might do: Create a new maintenance job that checks all the links and logs bad links into a table which will then be displayed in the dashboard. This doens't fix the problem but at least I'd be able to see the broken links when I log into the dashboard...
It looks that with c5 this happens several times. Something that never happened with the cms we've been using before.
Why? When we renamed a page it checked all the pages for links and modified them as well.
I'm not saying this is the best approach, especially for a big site, but I'm having a lot of broken things every once a while. Same problem with pictures. I can simply remove a picture from the file manager without knowing that it has been in use by several pages/blocks.
Has anyone a good idea how to avoid this?
If not, here's what I might do: Create a new maintenance job that checks all the links and logs bad links into a table which will then be displayed in the dashboard. This doens't fix the problem but at least I'd be able to see the broken links when I log into the dashboard...
Yea this is really needed, if you rename a page though, lets say from /help to /help2
if you navigate to help it will automatically redirect you to /help2 unless there is a page there
if you navigate to help it will automatically redirect you to /help2 unless there is a page there
That's a different thing though and you can already do that, it's easy to assign a second or third url to a page, isn't it? Never really had that problem...
I only wish that there was an easy way to check links to other pages. If you link to a news page you can't be sure that the article is still there a year later. Having a job that checks that would be nice..
Michelle, if you're not into php and stuff you probably won't be able to create such a maintenance job on your own.. I certainly have to skills to do that but certainly not a lot of spare time right now. I might build that some day - but that day is not today and not the day after...
I only wish that there was an easy way to check links to other pages. If you link to a news page you can't be sure that the article is still there a year later. Having a job that checks that would be nice..
Michelle, if you're not into php and stuff you probably won't be able to create such a maintenance job on your own.. I certainly have to skills to do that but certainly not a lot of spare time right now. I might build that some day - but that day is not today and not the day after...
This sounds very helpful work-around. The trouble is, I'm a little weak technically.
How would you do this?
Thanks for your help!!
Michelle