Home .htaccess link css is not linking
Reply: 0

.htaccess link css is not linking

user598
1#
user598 Published in June 20, 2018, 12:05 am

I am new to .htaccess so bear with me.

I am trying to have my URL look like:

http://example.com/login

Using .htaccess it uses:

http://example.com/index.php?url=login

My .htaccess looks like this:

RewriteEngine On
RewriteRule ^(.*)$ index.php?url=$1 [L,QSA]

The problem with this is that when I try to access http://example.com/asset/style.css it just shows my index.php without being able to use my css. How can I change this to be able to use my css files?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.311129 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO