Jump to content

How do I prevent people from using links I do not want to deal with?


mnymkr

Recommended Posts

Hi,

 

I see hostgator uses WHMCS

 

however theirs defaults to the order page

 

like this

 

http://www.simplyjoomla.com/billing/order.php'>http://www.simplyjoomla.com/billing/order.php

 

 

my default page is

 

http://www.simplyjoomla.com/billing/

 

how do I only show the things I want to use

 

for example I am not going to use the affiliate feature. I know I could remove it from the php but someone could still access it if they know what the file name is

 

so how can I prevent all this other stuff from being accessed?

Link to comment
Share on other sites

either remove the files (not sure if this will cause issues), or restrict http access to them in a .htaccess file:

 

<FilesMatch "^(dontallow1|dontallow2|dontallow3)\.php$">

Order allow,deny

Deny from all

</FilesMatch>

 

Very simple and crude but it would work. Replace dontallow# with your php filenames.

Link to comment
Share on other sites

You could just remove any visible links to certain pages.

 

Edit the .tpl files and take out any links you don't want people to see and able to click on. This will keep the pages active and accessible if people type in the URL into their browser, or if you send the link in an email.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated