Sorry if this is the wrong category. I don't know what it applies to. I'm making a site with a search form, but I want it to be search engine friendly/user friendly. I want the keyword used to appear in the url. I can do a "Get" method form but it isn't very effective. Too messy, index.php?stuff=otherstuff.. Pixel2Life.com has a different system, and that is what I am after. When you search, it goes to http://www.pixel2life.com/search/all/Keyword/1/ How is this done????
you could always use search.php?k=keyword instead of search=keyword, kind of makes it shorted, but if you want search/keyword/1 then i really dont know,
Yes, Nicangeli is right. If you have WordPress or MovableType set up to use SEO friendly URLs the .htaccess file should have an example of how to set that up for the url. Q...
You can use apache to decide how you want to deal with the url, but I am more concerned about how the form outputs such a url. if u search on wordpress its http://domain.com/index.php?s=KEYWORD&x=0&y=0 if u search on http://pixel2life.com its http://www.pixel2life.com/search/all/KEYWORD/1. I want that! Its submited like that to the search/ directory . (action="search/")
It looks neater, but it does not make your site better SEO wise... (Google is smarter now..) Pretty nice tute here: h ttp://edrackham.com/apache/beginners-mod_rewrite-tutorial/