1

I'm developing router to my custom component. Almost everything is working ok. But with one url I have problem. It seems to be build properly by build method:

dodaj-zdjecia/addphotos.html

But after following this url it is redirected to:

/%EF%BB%BF/dodaj-zdjecia/addphotos.html

And of course I get 404 error.

I tried almost everything... What could be the reason?

  • You're using special characters in your alias. Don't do that. – Seth Warburton Oct 6 '16 at 20:02
  • No, I was not using. – Tomasz Omeljaniuk Oct 27 '16 at 9:19
1

I found the answer. In my router file I was including model. And it's model file had BOM sygnature included. It was causing this error...

  • 1
    Thanks for coming back and putting the solution up. I'd go one step further and mark this as the accepted answer. – TryHarder Apr 25 '17 at 12:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.