404 not found errors
#11
    Go To Post #1
Thanks! I hadn't thought of using a Google site search. Most of those results referred to lines that were typed into posts rather than links, but it did help me kill a couple more of these bugs.

For anyone wondering, my intention here is not to kill srkowners.com. When I took over the website, I made fuvowners.com the primary address due to the fact that the A Team is no longer using the SRK name for new vehicles. However, I want to keep the srkowners.com address pointing in the right direction to keep old links working. I have no intention of killing that domain in the forseeable future.

In technical terms, I've set all srkowners.com addresses to return a 301 response (permanent redirect) to let web browsers know that fuvowners.com will be the correct address going forward. However, when this website links to itself using the srkowners.com address, it can cause the 404 errors.

I believe there is also another source of these errors that I haven't tracked down yet, but I'm working on it. Thank you everyone for your help keeping this website in tip top shape.
Reply
#12
    Go To Post #1
(09-01-2018, 06:11 AM)Kepesk Wrote: Thanks! I hadn't thought of using a Google site search. Most of those results referred to lines that were typed into posts rather than links, but it did help me kill a couple more of these bugs.

For anyone wondering, my intention here is not to kill srkowners.com.  When I took over the website, I made fuvowners.com the primary address due to the fact that the A Team is no longer using the SRK name for new vehicles.  However, I want to keep the srkowners.com address pointing in the right direction to keep old links working.  I have no intention of killing that domain in the forseeable future.

In technical terms, I've set all srkowners.com addresses to return a 301 response (permanent redirect) to let web browsers know that fuvowners.com will be the correct address going forward.  However, when this website links to itself using the srkowners.com address, it can cause the 404 errors.

I believe there is also another source of these errors that I haven't tracked down yet, but I'm working on it.  Thank you everyone for your help keeping this website in tip top shape.

Here's a simple little program that may make this and the rest of your coding life easier.
It's called 'Actual Search and Replace' and it can be downloaded at http://www.divlocsoft.com/index.htm
With it you can find and replace every "http://srkowners.com*" with "http://fuvowners.com*" in an entire file or an entire directory with a couple clicks.

You can also batch append or trim lines of code in an entire file or directory along with many other batch functions.
It's safe. I've been using it for years and it's saved me hundreds of hours of manual searching and editing.
I love this program. It turns you into Super Programmer.

And... Here's one that will bulk/batch rename all the files in a directory as per your parameters.
'Bulk Rename Utility' Download it at https://www.bulkrenameutility.co.uk/Main_Intro.php

I've used it and I love it. It's also a lifesaver that's saved me long hours of mindless drudgery.
Required listening... House of Lords - Can't find my way home
This version kicks. There's just no other way to describe it. Shivers. Turn...it...up!
Disclaimer: No false statistics were supported, displayed or harmed in the making of this post.
[+] 1 user Likes DiscjockeyDale's post
Reply
#13
    Go To Post #1
A find and replace is pretty much out of the question. MyBB (the software behind the site) dynamically generated all the links.

But maybe I can at least use the find function to look for any remaining problem links so that at least I know where they are.

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)