0

hello guys, its been a while since I used htaccess file, but I know how to use it.
but the only problem I face is when using in this way
I have page for view video
watch.php?v=qvLqn2NEsOE&title=Networkplus_tutorials.html
first I've create rewrite rule in .htaccess file
RewriteRule ^v-(.*)-(.*).html$ watch.php?v=$1&title=$2

so if the url is
v-qvLqn2NEsOE-Networkplus_tutorials.html
it will work perfectly.

but when I change it to
RewriteRule ^v/(.*)/(.*).html$ watch.php?v=$1&title=$2

the page shows but without CSS :( , what should I do before change for this rule in htaccess ?

e38cf778282331ccce1902a1ffce4061

3
Contributors
3
Replies
26
Views
3 Years
Discussion Span
Last Post by OsaMasw
0

whiteyoh may have it, but also you could try making exceptions for certain directories, e.g. your css directory, e.g.

RewriteCond %{REQUEST_URI} ^/(css|js|images)/
0

now its not found :(

Not Found
The requested URL /yt/v/PIfg1e0QbD0/Networkplus_tutorials.html was not found on this server.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.