View Single Post
  #10  
Old 09-17-2015, 11:19 AM
Cirris's Avatar
Cirris Cirris is offline
Member
 
Join Date: Sep 2015
Posts: 3
Gender: Female
Credits: 365
Cirris is on a distinguished road
Default

Does anyone know what the proper way to write the location when your site is installed into a subfolder?

header( "Location: /" ); will redirect me to the root of my site. (Which is not where my install of mysidia is located.)

I tried header( "Location: subfolder/" ); but it only half works. When I login, it takes me to the correct page, but the url duplicates the subfolder. www.mysite.com/subfolder/subfolder When I logout, it duplicates the subfolder in the url so many times it breaks everything.
Reply With Quote