Jump to content
Mopar1973Man.Com LLC
  • Welcome To Mopar1973Man.Com LLC

    We are a privately owned support forum for the Dodge Ram Cummins Diesels. All information is free to read for everyone. To interact or ask questions you must have a subscription plan to enable all other features beyond reading. Please go over to the Subscription Page and pick out a plan that fits you best. At any time you wish to cancel the subscription please go back over to the Subscription Page and hit the Cancel button and your subscription will be stopped. All subscriptions are auto-renewing. 

500 Server Error that should been 404 server errors


Recommended Posts

  • Owner

This is something you end user wouldn't normal see on your end but I've been trying to figure out for a little while. I've been using Mod Rewrite commands on the server to simplify the URL or web address so it user friendly also Google friendly. Well Google has been constantly complaining about old links from long ago (3-4 years ago) when I was still using PHPbb 3.0.4 software. Well Google continues testing those links and getting 500 error code for the page. Finally I took the time kick the server logs in to gear and looked it over. Come to find out I've been missing the code to redirect 404 pages somewhere. Now they redirect back to forum index page. So I added to my .htaccess this line below and no more 500 error codes... :thumbup2:

# 404 FilterRewriteRule ^(.*)$ - [R=404,L]
Then I ran back over to Google and cleared out all the listing of 500 error codes and the links. Now let Google wander the site now and see if it can find any problem now... :evilgrin:
Link to comment
Share on other sites

×
×
  • Create New...