0

I am getting this error. I cant't run my other pages. just only homepage open with domain name. I am working with free domain and hosting.

When I try to access other page it's show me erro No input file specified.

here is my htaccess code

Options +FollowSymlinks
RewriteEngine on
RewriteBase /

AddType application/x-httpd-php .asp .py .pl

RewriteCond %{REQUEST_URI} !(\.|/$) 
RewriteRule (.*) http://domainname.ga/$1/ [R=301,L]
RewriteRule ^$ index.php [NC,L]

I check lost of question before post question here. but can't get success. any one can help me.?

1 Answer 1

2

Try This Code in .htaccess works for me........

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.