Drupal throws 404 error after sharing a link on Facebook [Solved]

I had a strange error today. Lukily, a friend of mine warned me about it. I could hardly be aware of it without his help. (Thanks, Iosif!) So...

Why does Drupal 7 throws 404 error (Page not found)?

There could be plenty of reasons, but I guess the reason here is a bit stranger. All urls looked absolutely normal to me. I am using Pathauto with clean urls on. So why only SOME users get the page not found error? While looking at access logs, it seemed absolutely random to me. Of course, I had no 301 or 302 redirection component in case of errors.

I also didn't display a nice and friendly page for 404 errors (I thought I hadn't any). Pretty ignorant, huh? Visitors were discouraged and left away without even bothering to use the search box.

DirectProprietar.ro implicat intr-un scandal FARA PRECEDENT in Romania!

Alerta de scam pe Facebook

Umbla vorba printre americani ca se incearca tepuirea utilizatorilor de Facebook printr-o reclama care socheaza la prima vedere. Textul tradus suna cam asa: Nu vei mai folosi samponul Head & Shoulders dupa ce vei vedea acest video

De fapt nu este niciun clip, ci doar o imagine contrafacuta care arata ca o pictograma de videoclip. 

Pages

Subscribe to Marius Carneala RSS
 

Portfolio

Samples of work done for me or my customers, for free or not, like websites, repairs, photography etc.
View all my recent work

 

Tutorials

I'm giving away some knowledge in my areas of expertise. Did you like something here? Share it please!
View all tutorials

 

Snippets

Useful Linux commands or other code snippets I often use.
View my useful shortcuts

 

Resources

Few bookmarks I find useful. Do you want website here? Give me a good reason and I can help you.
View my favourite web resources

About me

Hi there! My name is Marius Cârneală.

About me?

Loving husband, dad of two, drone pilot, web designer and administrator, SEO specialist, IT support guy, electronic hobbyist and content writer. This list is open.