What version of 68 Classifieds are you running? v4.1.9 Developer What template are you using? Default (custom) Please describe in detail the issue you are having: Recently, I installed SEO module. At the view listing page, when I click the link "More ads from this Advertiser", the system displays all the listings of the Advertiser, but the URL is not SEO friendly. Example: http://mysite.com/searchresults.php?owner=123 I want to create a SEO friendly URL. Example: http://mysite.com/advertiser/john john=username I appreciate any help.
Since it is actually loading search results they are generally not treated as friendly urls, but that can be changed by modifying your .htaccess file and modifying your link in listingextras.tpl. For example, rewrite the url owner/id to searchresults.php?owner=id .htaccess Code: #owner results RewriteRule ^owner/([0-9]+)$ searchresults.php?owner=$1 [NC,QSA] listingextras.tpl HTML: <span class="moreads"><a href="owner/{$owner}">{$smarty.const.LANG_MORE_ADS_SELLER}</a></span>
Hi John, Thank you for providing me a solution. I just changed .htaccess file and listingextras.tpl by copy and paste the code from your reply. What a magic, it simply works. It is really amazing ! For the benefit of other users, I would like to add one more point. I noticed that member.tpl has a link "More ads from this Advertiser". I replaced the following line: HTML: <td colspan="2"><a href="searchresults.php?owner={$id}">{$smarty.const.LANG_SEE_ALL_ADS}</a></td> with the following line: HTML: <td colspan="2"><a href="owner/{$id}">{$smarty.const.LANG_SEE_ALL_ADS}</a></td> Thank you for helping.
Thank you John again for helping to add HTML code box and make my reply message looks great. I am very keen to learn how to add HTML code box. Any help is appreciated.
You have to click reply or go advanced, as the option isn't available in qyuick reply. You might also need to enable the wysiwyg editor in your control panel (http://www.68classifieds.com/forums/profile/options/ scroll to the bottom and choose enhanced interface). Then you will see buttons on the editor, 2nd row on the far right: # <> php. # is for a generic code box, <> is for html code box and the php button is for a php code box. This will add [...][/...] with uppercase text to the content you are writing. Anything between the 2 will appear in the code box.