Sandeep_Mookerjee Posted December 12, 2014 Share Posted December 12, 2014 Good day all My site is hosted on yahoo server. Due to security reason, .htaccess is not allowed. I need to hide (or mask) actual url, or atleast .php file name. Can anyone help. Warm regards. Shonali Quote Link to comment https://forums.phpfreaks.com/topic/293054-hiding-actual-url-in-browser-without-using-htaccess/ Share on other sites More sharing options...
maxxd Posted December 12, 2014 Share Posted December 12, 2014 You could create a folder with the desired name, then insert an index.php file into that folder. So, if you want http://www.mydomain.com/gallery/pictures you'd place index.php inside the pictures directory, which is inside the gallery directory, which is in your webroot. Then make the links point to the directory, not the actual file. Quote Link to comment https://forums.phpfreaks.com/topic/293054-hiding-actual-url-in-browser-without-using-htaccess/#findComment-1499410 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.