2
2
2slide2015-04-21 11:07:50
PHP
2slide, 2015-04-21 11:07:50

How to configure .htaccess for url like site.ru/post/33?

How to configure .htaccess for url like site.ru/post/33 ?
For example, there is a post.php file. The following url segments are to be get parameters.

<php
if isset('GET[Segment1']){
 view_post(GET[Segment1']);
}
?>

And so for each file in the application.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay, 2015-05-27
@iNickolay

It is not clear what exactly you need, but try to google the CNC.
I understand that you are completely green, judging by the code? :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question