Hi,
does anybody know how to not show a webpage from the url, if I don't want to use that page.
Thanks
Hi,
does anybody know how to not show a webpage from the url, if I don't want to use that page.
Thanks
|
Could you explain that in a little more detail? It's not clear what you want to do. My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
well, let's say that on my site, i don't want to use all of the dolphin pages.
Like maybe the contact page or the search page, or the browse page....
If someone types the url example: www.mysite.com/browse.php they will see that page.
I don't really want that... is it possible to delete or hide those pages ( from the url )
Thanks for your reply |
use an .htaccess file (google it) or rename them without a php extension. |
What I do is rename the actual file such as: filename.php filename.php.ORG.xxxxxxx The ORG stands for original and the xxxxxx being whatever you want to name it so no one can 'guess' it.
I need to restore it later but anyone would have a VERY hard time guessing it.
filename.php. xxxxxxxx
into the browser.
|
Hi, does anybody know how to not show a webpage from the url, if I don't want to use that page. Thanks Try this solution : Add these lines below at the top of your inc/header.inc.php just below this string <? $disabledpages[] = "faq.php"; see it here http://www.dolphinbugfixing.com/614_MODS/faq.php Live Support http://dolphinbugfixing.com |
if ( strpos("EXPERTX".$_SERVER[REQUEST_URI],$value) > 0 ) Shouldn't the "EXPERTX" be changed to the users account name? |
if ( strpos("EXPERTX".$_SERVER[REQUEST_URI],$value) > 0 ) Shouldn't the "EXPERTX" be changed to the users account name? its a dummy text just to make sure the strpos function returns a value greater than 0 Live Support http://dolphinbugfixing.com |
Aaaaaaahh OK I get it now. |