: Rewrite rule for clean URLs using .htaccess isn't working for ID after "latestnews" I am trying to implement clean URLs using .htaccess. Basically after searching for some time I found out this
I am trying to implement clean URLs using .htaccess.
Basically after searching for some time I found out this code
RewriteRule latestnews/([a-zA-Z0-9]+)/$ thinkmovie.in/index.php/latestnews/?nid= [L]
RewriteRule latestnews/([a-zA-Z0-9]+)$ thinkmovie.in/index.php/latestnews/?nid= [L]
so when I try to access the following URL
thinkmovie.in/index.php/latestnews/272
it redirects to
thinkmovie.in/index.php/latestnews?nid=272
But what I want is to retain the URL in the browsers address bar as
thinkmovie.in/index.php/latestnews/272
More posts by @Smith883
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.