Reputation: 1
I have a site that gives you a random cat gif every time you refresh, and it works in image tags. Some forums won't let you put http://randomcat.tk in an image tag, so I was thinking I could use RewriteEngine so people can put http://randomcat.tk/cats.gif and have it redirect to index.php.
Sorry if that made no sense.
Upvotes: 0
Views: 48
Reputation: 88
Try this:
RewriteRule ^.+$ /index.php [L]
this will redirect any request to index.php
Upvotes: 0