Guest Posted January 28, 2011 Share Posted January 28, 2011 Hello, i wondered why you changed in the v2.3.1 the tep_href_link-Function and added code to replace all & in the url with & if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { $link = str_replace('?', '/', $link); $link = str_replace('&', '/', $link); $link = str_replace('=', '/', $link); } { $link = str_replace('&', '&', $link); } Kind Regards, Andy Tandler Link to comment Share on other sites More sharing options...
pdcelec Posted January 28, 2011 Share Posted January 28, 2011 Hello, i wondered why you changed in the v2.3.1 the tep_href_link-Function and added code to replace all & in the url with & if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) { $link = str_replace('?', '/', $link); $link = str_replace('&', '/', $link); $link = str_replace('=', '/', $link); } { $link = str_replace('&', '&', $link); } Kind Regards, Andy Tandler It is so that it will validate as W3C xhtml Link to comment Share on other sites More sharing options...
Xpajun Posted January 28, 2011 Share Posted January 28, 2011 I think you'll find that it is more of a SEO thing - 'special characters' must be excluded from urls with the exception of . - characters like & / ? % are all operators, notice the way this post has been changed in the url _ > & ; have all been removed and replaced with - Some programmers have taken this further and will remove 'special characters' from title descriptions - SEOs that read the title descriptions are also human - fortunately the writer of the SEO for this forum understands that... NOTE the title bar! My store is currently running Phoenix 1.0.3.0 I'm currently working on 1.0.7.2 and hope to get it live before 1.0.8.0 arrives (maybe 🙄 ) I used to have a list of add-ons here but I've found that with the ones that supporters of Phoenix get any other add-ons are not really neccessary Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.