Thread Rating:
  • 13 Vote(s) - 4.54 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Six Methods to Protect Your MyBB Forums
#21
Ingenious stuff Zash, thanks for sharing !
Reply
#22
This is very useful. Defenatly going to do the first method.
Reply
#23
(02-10-2009, 02:34 AM)Zash Wrote: .HTAccess Protect Your Admin Directory
Renaming the admin directory is just step 1 of 3 different processes you can use to rename your directory. The following code snippet will check for somebody's IP address. If their IP address does not match the one that you specify, they will be redirected to your index.

To do this, create a .htaccess file in your admin directory. Add the following code:

Quote:RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_HOST} !^68\.193\.195\.1
RewriteRule .* http://www.mybbstudios.com [R=301,L]

Change the green to your IP address (using the format specified), and the red to the domain you wish to redirect other people.

If you have multiple administrators, use the following code instead:

Quote:ErrorDocument 403 http://www.mybbstudios.com
Order deny,allow
Deny from all
Allow from 102.54.68.123
Allow from 102.54.68.123

Change the green to each of the IP addresses, and the red to the domain you wish to redirect other people.

Is possible to add the rule of the Google SEO there? LIke this it will give the 403 error in the site?
[Image: 468x602b.png]
Reply
#24
(01-06-2010, 02:32 AM)Skiilz Wrote: Is possible to add the rule of the Google SEO there? LIke this it will give the 403 error in the site?
What do you mean?
Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities
The world's only premium web host dedicated to MyBB forums.

Reply
#25
Just redirect to www.mydomain.com/404.php/html whichever yours is.
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#26
(01-06-2010, 02:38 AM)Zash Wrote:
(01-06-2010, 02:32 AM)Skiilz Wrote: Is possible to add the rule of the Google SEO there? LIke this it will give the 404 error in the site?
What do you mean?
Google SEO have its own 404 error. I want to add the google seo error to the code.

(01-06-2010, 02:47 AM)Mark.M Wrote: Just redirect to www.mydomain.com/404.php/html whichever yours is.
Didn't work.
[Image: 468x602b.png]
Reply
#27
I'm not very familiar with Google SEO, sorry.
Need web hosting? Try MyBBWebHost!
#1 for Running MyBB Communities
The world's only premium web host dedicated to MyBB forums.

Reply
#28
(01-06-2010, 02:55 AM)Zash Wrote: I'm not very familiar with Google SEO, sorry.
Ok Thank you anyway.
[Image: 468x602b.png]
Reply
#29
If i am correct, doesn't Google SEO override the normal 40/4/3/1 (Not sure about others)
I'm not here often, shoot a PM or whatever if you want my discord.
Reply
#30
I tried and it don't overwrite the error that is in the .htaccess.
[Image: 468x602b.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)