Thread: Help!
View Single Post
  #20  
Old 02-02-2018, 02:41 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 65,174
Dinocanid is on a distinguished road
Default

Quote:
Originally Posted by goofyunicorn View Post
I have done the show hidden files and can't find a htacess file. Where could I find it?
It should be located under public html. It's listed underneath the folders but above the php files:

(you won't have all of these exact files and folders, since they're mostly custom, but you get the idea)
If it isn't there, then you should be able to make one by creating a new file called ".htaccess" and add this inside of it:
PHP Code:
RewriteEngine On
RewriteCond 
%{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
#RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
#RewriteRule ^ http://%1%{REQUEST_URI} [L,R=301]
RewriteCond %{REQUEST_URI} !\.(js|css|gif|jpg|png|ico)$ [NC]
RewriteRule ^(.*)$ index.php [QSA,L]
RewriteRule ^get/([0-9]+).gif$ /click/siggy/$[L]
php_value error_reporting 1 
Or at least, I think you can make your own. I'm not sure if cPanel prevents this or not. If it doesn't let you make one, then you should be able to make one with notepad++ or something and uploading it.
__________________

Last edited by Dinocanid; 02-02-2018 at 02:46 PM.
Reply With Quote