php - htaccess issue - not rewriting url -


i know question has been asked lot of times before need help. have spent hours on , cant figure out heck wrong in following htaccess code.

options +followsymlinks  rewriteengine on  rewriterule services/z/(.*)/ services.php?z=$1  rewritecond %{server_port} 80  rewriterule ^(.*)$ https://rcunlocks.com/$1 [r,l] 

i trying re-write url

https://rcunlocks.com/services.php?z=spus3

to

https://rcunlocks.com/services/spus3

if wrong htaccess file please tell me.

your appreciated. thank you.

try one

options +followsymlinks rewriteengine on # check request url neither file nor directory rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d  rewriterule ^services/(.*) services.php?z=$1 [nc] 

Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

android - How to create dynamically Fragment pager adapter -