68 Classifieds Forums
Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Suggestions and Feedback > Search Engine Friendly URL search string
v3.1 Suggestions and Feedback Please use this forum to post feedback and suggestions for v3.1

 
Thread Tools Display Modes
(#1)
Old
CHRD CHRD is offline
Member
CHRD is on a distinguished road
 
Posts: 43
Join Date: Nov 2006
Default Search Engine Friendly URL search string - 02-20-2007, 07:30 AM

How can I make a search string into a SEF url using .htaccess
so I can make this:
http:// mysite com/searchresults.php?searchtext=golf&type=16&minprice =&maxprice=&opt9=&opt10=&opt5=&opt4=&opt12=&opt16= &opt17=&Submit=Search

into:
http:// mysite com/golfing_holidays_spain.html

also how would I change the word "listing" to "owners" in the viewlisting url

Thanks for any help


Costa del Sol
Spain
v3.1.4b Developer
�Powerful you have become, the dark side I sense in you.�
Reply With Quote
(#2)
Old
suzkaw suzkaw is offline
Help you, I will.
suzkaw has a spectacular aura about
 
Posts: 1,696
Join Date: Mar 2006
Location: Belmont, NC
Default 02-20-2007, 11:21 AM

I would recommend taking a look at the seo modules "mod_user.php" file and also the .htaccess file.

The mod_user file handles changes the links and the .htaccess file handles where to send it.

So for the golfing_holidays_spain.html you would add this to the .htaccess file:
Code:
RewriteRule ^golfing_holidays_spain\.html$ searchresults.php?searchtext=golf&type=16 [NC]


--
Thanks,
Eric Barnes
68 Classifieds
Documentation - Modifications - My Blog

Reply With Quote
(#3)
Old
CHRD CHRD is offline
Member
CHRD is on a distinguished road
 
Posts: 43
Join Date: Nov 2006
Default Yesterday, 05:52 AM

I knew that one, just needed confirm on code.
I just added it to .htaccess and it works fine.

Other matter, I have golf as an extra field selection but when I search my properties under cat, then golf, I only get 2 results when they are 19 that should show in that cat.


Costa del Sol
Spain
v3.1.4b Developer
�Powerful you have become, the dark side I sense in you.�
Reply With Quote
(#4)
Old
Lhotch's Avatar
Lhotch Lhotch is online now
Moderator
Lhotch has a spectacular aura about
 
Posts: 1,447
Join Date: Mar 2006
Default Yesterday, 10:08 AM

Quote:
Originally Posted by CHRD View Post
I knew that one, just needed confirm on code.
I just added it to .htaccess and it works fine.

Other matter, I have golf as an extra field selection but when I search my properties under cat, then golf, I only get 2 results when they are 19 that should show in that cat.
Was the extra field golf added after the other 17 results that dont show up, if so then try opening the other 17 ads in admin to modify them and make sure the field appears and fill it out as needed and save changes.
Reply With Quote
(#5)
Old
CHRD CHRD is offline
Member
CHRD is on a distinguished road
 
Posts: 43
Join Date: Nov 2006
Default Today, 02:45 PM

The golf option comes under an extra field called Holiday type, I have check boxes to best describe what type of holiday rental it is..
the field has been there from the start, but it doesn't seem to work,
when I use Advance search and only search in one category and only select golf, nothing comes up.
When I type in golf on the text search box and don't select the golf option only a few come up.
When I put golf in the text search box and select the golf option nothing comes up.

also the holiday type displays as drop down menu not check boxes like in listing process


Costa del Sol
Spain
v3.1.4b Developer
�Powerful you have become, the dark side I sense in you.�
Reply With Quote


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search engine friendly? Unregistered Pre Sales 2 12-22-2006 12:01 PM
Modification: Search Engine Friendly URL suzkaw v3.1 Modules 32 12-06-2006 05:50 AM
Search Engine Friendly urls Mikael v3.1 Questions & Support 1 06-23-2006 09:43 AM
Search engine friendly urls SkGold v3.1 Questions & Support 3 06-15-2006 12:40 AM
Search Engine Friendly URL's suzkaw v3.1 Questions & Support 2 04-26-2006 01:16 PM



Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com