Support Forums

Issue with redirect for SEO Module

This is a discussion on Issue with redirect for SEO Module within the Technical Support forums, part of the Technical Support Forums category; I have the SEO module installed on my v4, it works great but when you go to the rss (external.php) ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 06-26-2008, 06:13 AM   #1
Junior Member
 
Join Date: Jun 2008
Posts: 7
Rep Power: 0
cedano is on a distinguished road
Default Issue with redirect for SEO Module

I have the SEO module installed on my v4, it works great but when you go to the rss (external.php) you see that the title and image links to the old no-seofriendly url, so Iwant to know how to redirect

http://www.anuncla.com/viewlisting.php?view=ANYVALUE

to the optimized url

Regards
cedano is offline  
Old 06-27-2008, 05:15 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,666
Rep Power: 65
seymourjames is a jewel in the rough
Default

Do you have this in your external.php file

if(defined('SEO'))
{
$listing_title=$listing['title'];
$listing_title=str_replace(' ', '_', $listing_title);
$listing_title=preg_replace('/\W/e', '', $listing_title);
if(SEO_STRING == 'dash') {
$listing_title=str_replace('_', '-', $listing_title);
}
$link=URL ."/listing/".$listing['id']."/".$listing_title.".html";
}
else
{
$link=URL ."/viewlisting.php?view=".$listing['id'];
}
seymourjames is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Maps Module - Beta tester needed. Lhotch Technical Support 17 07-30-2008 12:30 PM


All times are GMT -4. The time now is 06:57 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0