php - Saved browser links prepend a period -



php - Saved browser links prepend a period -

i maintain old web app built procedural php. (read spaghetti)

in order trigger mobile style sheets etc, pre-prended url 'm'.

all of sudden, saved bookmarks , home screen icon links not working properly.

inspection of url appears proper. but...

instead of loading

http://m.mysite.com

it loads

.m.mysite.com

and fails.

like said, editing , inspecting url looks proper, no matter try, "http://" gets replaced period.

i tried inserting little function in first loaded file check first character. if it's period, replace 'http://', doesn't nail page. clicking mobile url shortcut in desktop browser works fine.

i have iphone6 test with, i'm beingness told android devices doing same thing.

enviroment: intovps apache/2.2.16 (debian) php version 5.3.3-7

does have thought why of sudden change? haven't touched code in years , affecting mobile users. if create new link in note or email, works fine. affects bookmarks saved in browser, or shortcut links on home screen, newly created shortcuts. bizarre.

.htaccess

errordocument 404 /notfound.php options -indexes

php html apache http

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -