Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-28-2012, 01:04 PM   PM User | #1
sadiqmalik
New to the CF scene

 
Join Date: May 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
sadiqmalik is an unknown quantity at this point
Rewrite URL issue

i need some help..

i have a page
search_result.php?make=NEW&id=23

i want to change it to /category/23/

i want to access the same page search_result.php but only the name of the page should be different in the url.. i tried writing rewrite rules but it is not working.. although the redirect page is working but changing page name is not working here is the code i am using in htaccess.

Options +FollowSymLinks
RewriteEngine on
RewriteRule search_result/make/(.*)/id/(.*)/ search_result.php?make=$1&id=$2
RewriteRule search_result/make/(.*)/id/(.*) search_result.php?make=$1&id=$2

it is not working on localhost neither on server

can anybody help me out to resolve it or any other sugguestion would be nice..
sadiqmalik is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:32 AM.


Advertisement
Log in to turn off these ads.