R
R
ru_bender2013-11-14 19:44:18
htaccess
ru_bender, 2013-11-14 19:44:18

.htaccess extension removal

I want that when opening mysite/text.php , in the address there was the address mysite/text Google, everywhere they throw this piece of code: RewriteRule ^(([^/]+/)*[^.]+)$ /\$1.php [L]

But it doesn't help. As displayed in the address bar mysite/text.php , and is displayed.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Homer_Simpson, 2013-11-14
@Homer_Simpson

Try like this RewriteRule ^(([^/]+/)*[^.]+)$ /.php [L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question