Jump to content

mode rewrite/htaccess question


louis_coetzee

Recommended Posts

Hi, I use mod_rewrite in htaccess

as follows:

RewriteEngine On
RewriteRule .(php|html)$ index.php

works fine, but when the person for instance types in www.mywebsite.co.za/whatever.php/kaas.php I want him to be redirected back, because now the images are not found...any solutions? and I want when the person types in www.mywebsite.co.za/whatever/ must still go to index, maybe also correcting the url to www.mywebsite.co.za/index.php

Link to comment
https://forums.phpfreaks.com/topic/154343-mode-rewritehtaccess-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.