Search form View is now producing a page not found 404 error

By: Yasmin Shaheen-Zaffar | Asked: 10/18/2022
ForumsCategory: General questionsSearch form View is now producing a page not found 404 error
Yasmin Shaheen-Zaffar asked 2 years ago

Been using my search form for the past year with no problem - today when we search between 2 dates it is producing a 404 error - page not found.  Anyone have any ideas what could be wrong? 

Rob LeVineRob LeVine replied 2 years ago

What's the URL that's getting produced that results in the 404 error?

1 Answers
Yasmin Shaheen-Zaffar answered 2 years ago

Hi Rob its (ive removed the first part of the url as its behind a membership  =     /book out quantitive data/?start=[3660 format=Y-m-d sanitize_url=1]&end=[3661 format=Y-m-d sanitize_url=1]   Thanks this hasn't been changed 

Rob LeVineRob LeVine replied 2 years ago

The spaces in "/book out quantitive data/" ... are bad, What does the URL look like when it appears in the browser location bar?

Yasmin Shaheen-Zaffar replied 2 years ago

thanks for that the url reads /book-out-quantitive-data/ so I've added the "-" back again and it works im wondering why the dash removed itself? ........ I'm the only admin so i know know ones been changing things and it had been working fine for over a year. a mystery ............

Rob LeVineRob LeVine replied 2 years ago

I can't explain it because it seems odd that someone would manually go in and replace the dashes with spaces, unless it was just to drive you crazy...

Yasmin Shaheen-Zaffar replied 2 years ago

haa haaa yes exactly ... and my ex doesn't have access to any of my websites. Just totally bizarre!

Yasmin Shaheen-Zaffar replied 2 years ago

and thank you @Rob LeVine

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right