![]() |
need help with .htaccess
dont know if this is possible ..
is there anyway to rotate 2 different index pages of a site using .htaccess ? |
you can just use this php code as your index
Code:
|
thanks.. tried it.. but it isnt rotating the url's its more redirecting to one of them ...
|
Quote:
I don't know what you mean by rotating ?? I assumed you want to shift between two pages ? ? so that you don't always get the same indeX ? with this code you can create as many index pages as you want |
I think he means it randomly picks one which is what the code says to do, instead of showing 1, then 2, then 1, then 2..
Why does it matter? Random should be good enough.. else use a cookie or something and if cookie=1, display 2 and so forth. |
ok i got it to work.. thanks man ..
|
You can always find some free scripts at
hotscripts.com There are lots of free resource sites like that, which have cool free scripts to have a play with. |
| All times are GMT -7. The time now is 09:35 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123