Cannot make .htaccess to work

I have placed an htaccess to the folder you see in the image

The content of the htaccess file is this:
RewriteBase /Appointments/Frontend/
Redirect 301 /test.html /test.php

As you it is a redirection…when the user goes to test.html he will be transferred test.php.
Both of these files are contained in the frontend directory.

I have restarted Apache numerous times.

No redirection takes place…
What am I doing wrong?

Can you upload the image directly to your post? The link you’ve included isn’t accessible to me, and I suspect it won’t be to others either.

You’ll find a comprehensive tutorial to mod_rewrite here

Fixed.

1 Like

I cannot understand how am I going to upload the image directly to the post.

You can just drag and drop an image file or paste a url.

Or use the ‘Upload’ option when you’re creating your post - it looks like an up arrow.

I’ve already done it for you, but for future reference, use either of the methods suggested.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.