Er. Anuj Saini
Er. Anuj Saini

Reputation: 37

Unable to pass HTML and CSS in web URL

I am working on a CodeIgniter based website. When I try to pass HTML/CSS in web URL it redirect to 404 page. For example, if the URL is http://geeksdemy.com/html , it goes to 404 page. It is a EduTech website, and due to above mentioned reasons, admin is unable to upload courses for HTML and CSS. Please help if anyone know the solution.

Thanks for your forthcoming response.

Upvotes: 1

Views: 67

Answers (1)

Tpojka
Tpojka

Reputation: 7111

Your page is available over

http://geeksdemy.com/?html

I would assume that solution in .htaccess file could be changing file line from this

RewriteRule ^(.*)$ index.php/$1 [L]

to this

RewriteRule ^(.*)$ index.php?/$1 [L].

Now, since are using IIS (correct?), maybe it would be working if you make similar in Rewrite action or url match of web.config file.

Upvotes: 1

Related Questions