Welcome Guest, Not a member yet? Register   Sign In
facebook adding ? to my URL's
#1

[eluser]FumarMata[/eluser]
Hello

I'm having a problem with a site and facebook. When people shares it in their walls or using my app, Facebook adds "?ref=nf" at the end

http://www.example.com/?ref=nf

and that makes my site show a 404 error - not found, probably related to the disallowed characters in the URL.

As that's the only place where the ? is added, do you know some way to redirect that to my homepage without having to allow special characters? I am a bit scared of the warning message in config.php

Code:
/*
|--------------------------------------------------------------------------
| Allowed URL Characters
|--------------------------------------------------------------------------
| .....
| As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible.  By default only these are allowed: a-z 0-9~%.:_-
|.....|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/

Thanks
#2

[eluser]Sbioko[/eluser]
No, it is not about disallowed url characters. Search for "using Pretty URLs and GET in Codeigniter".
#3

[eluser]laytone[/eluser]
Here you go:
http://ellislab.com/forums/viewthread/129318/




Theme © iAndrew 2016 - Forum software by © MyBB