![]() |
htacess question
Ok need some help with htaccess, I have now:
RewriteEngine on RewriteCond %{TIME_DAY} >1 RewriteRule ^.*index\.html$ %{TIME_DAY}.html This use the html of the current day(01.htm...31.html) and convert it into: http://www.bitches-in-heat.net/index.html But, the problem is that it doesn't work for: http://www.bitches-in-heat.net/ and all my traffic is pointing there Any idea how can I fix this? |
Quote:
i prolly misunderstood the question though, a bit tired ATM lol |
cannot do that I will loose trades "ri" information
|
I would do it like this....
RewriteEngine on RewriteCond %{TIME_DAY} >1 RewriteCond %{REQUEST_URI} ^/index.html$ [OR] RewriteCond %{REQUEST_URI} ^/$ RewriteRule .* %{TIME_DAY}.html |
worked thanks a lot dude :thumbsup
|
np :thumbsup
|
Hey Swed,
Never noticed that before... Cool if I add it to my htaccess info page? http://www.webpimps.com/scripts/htaccess/ -Ben |
Quote:
|
All times are GMT -7. The time now is 05:14 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123