Deny acess to the homepage

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
Joseph777
Forum Members
Forum Members
Posts: 206
Joined: Wed Mar 16, 2011 9:13 am

Deny acess to the homepage

Post by Joseph777 »

How do i deny access to the homepage (only homepage) of CMSMS frontend?
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Deny acess to the homepage

Post by Wishbone »

What is it you are trying to do? Why would you deny access to the home page but allow other pages? Who are you trying to deny access to? Are you allowing FEU's to access, etc?

Did you mean deny edit access to the home page on the backend?
Joseph777
Forum Members
Forum Members
Posts: 206
Joined: Wed Mar 16, 2011 9:13 am

Re: Deny acess to the homepage

Post by Joseph777 »

I want, when I visit domain.com (homepage) I want to see error 403 (Forbidden), but other subpages (domain.com/contact/ ...) will be functional
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Deny acess to the homepage

Post by Wishbone »

You could probably do something fancy with .htaccess.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Deny acess to the homepage

Post by Dr.CSS »

Just put a blank index.html file in the root and most servers will show that instead of the index.php that would show the site, you will have to use mysite.com/index.php to see the actual home page and all other pages will still work...
Post Reply

Return to “The Lounge”