-1

I need to rewrite a URL using a .htaccess file. For example:

http://www.nettsky.live/register.php --to--> http://www.nettsky.live/registrer

How can I achieve that using .htaccess file.

0

1 Answer 1

0

You can write the below code in .htaccess and then call URL: http://www.nettsky.live/registrer. It will point to the register.php page

RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L] 
Sign up to request clarification or add additional context in comments.

1 Comment

"registrer" is not the same as "register".

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.