mod_rewrite |
[eluser]ctc_media[/eluser]
its probably been discussed but how does one go from www.domain.tld/index.php/var1/var2/etc to www.domain.tld/wow/this/looks/better I have little experience on the subject but have implamented it before everything I try seems to throw an error or just not work cheeers ![]()
[eluser]Colin Williams[/eluser]
I imagine the User Guide and Wiki have some suggestions. I challenge you to seek those out.
[eluser]ctc_media[/eluser]
i have done i found the problem the mod rewrite wouldnt direct to my altered index.php which i changed to something else however changing it back worked but I am presented with another problem check it for yourselves at www.iamdj.co.uk/beta css isnt showing none of stylying is working ?????
[eluser]Gordaen[/eluser]
Can you post your current rewrite rules so we have a starting place to work with?
[eluser]ctc_media[/eluser]
sure below is htaccess file Options +FollowSymLinks <IfModule mod_rewrite.c> RewriteEngine On RewriteCond $1 !^(index\.php|uploads|css) RewriteRule ^(.*)$ index.php?$1 [L] </IfModule>
[eluser]Colin Williams[/eluser]
Might I suggest reading and learning about mod_rewrite. I wouldn't feel comfortable using a tool I didn't understand either. I'd rather you learn to fish than just give you a fish...
[eluser]ctc_media[/eluser]
true but as i said in previous posts I am at university studyin web development and I am going to be covering apache extensively in the start of second year later this year and since I will not be using it until then I was looking for a quick fix :p
[eluser]ctc_media[/eluser]
im getting there i have my css file working but no images how do i put them into my .htaccess file is it\.png or png ?
[eluser]ctc_media[/eluser]
waaay done al on by maself lol just errors in typing time to change the batteries and lay of the coffee ![]() |
Welcome Guest, Not a member yet? Register Sign In |