2uzhan.com
Advertisement
Now Place:2uzhan.com » Unable to convert url to seo freindly url

Unable to convert url to seo freindly url

Web Development @ December 25, 2009   Views:0

I want to convert url using GET method from

http://localhost/demo/index.php?keyword=sap&Submit=Search

TO

http://localhost/demo/sap

but i am getting problem in rewriting url i.e unable to rewrite url to

http://localhost/demo/sap

i have written my htaccess as

RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?keyword=$1

Please help me to get the proper htaccess code...

Thankyou

<form name="frmSearch" method="GET" action="">

        <div class="input">
            <label for="SearchKeyword">Search Results:</label>
            <input name="keyword" id="SearchKeyword" type="text" value="<?php echo $_GET['keyword']; ?>">
        </div>
        <div class="submit">
            <input value="Search" type="submit" name="Submit">
        </div>
    </form>

--------------Solutions-------------

Do you want to convert

http://localhost/demo/sap

or

http://localhost/demo/search/sap

???

Try this...
http://arunss.wordpress.com/2009/12/26/rewrite-search-url/

I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like ...

I have a list.php which displays all the records that is in the database with 2 options Edit or Delete. When clicked its suppose to delete by id but instead ...

I'm attempting to simplify my fundraising page, and would like to show exactly how much each donation would help us out. I've listed the options below, but I would like ...

Tags:php
© 2018 2uzhan.com Contact