hello
i have this mod working on 1.3.02 which i'll explain how to do below...a few minor issues that i'm not sure are important
adds .html to every page so if you type in yourdomain.com/contact_us it'll take you to the custom page not found but if you type yourdomain.com/contact_us.html you'll get there
doesnt like ez pages
to get the page not found to appear instead of the home page try the setting in admin > config >my store > missing page check > page not found
it may be too simple to be the answer but its all i can think of seeing as it works for me
to get ultimate seo to work on 1.3.2 go to dreamscapes site
http://www.dream-scape.com/pub/zenca...mate_SEO_URLs/
download the mod and upload the files
go to installation on the dreamscape site
ignore the 2 instruction of changing application_top.php
instead go to the directory /includes/init_includes
edit the file init_templates.php
look for the location where a line which says:
----------------------------------------------------------------------
include_once(DIR_WS_LANGUAGES . *$_SESSION['language'] . '.php');
-------------------------------------------------------------------------
insert following lines immediate after this location:
--------------------------------------------------------------------
// line added for SEO v2.100
require_once(DIR_WS_CLASSES . 'seo.url.php');
if (!is_object($seo_urls)) {
$seo_urls = &new SEO_URL($_SESSION['languages_id']);
}
// end of line addition to SEO v2.100
------------------------------------------------------------------------
then go back to dreamscapes site and follow the instructions 3-8
dont forget to add the paypal fix to seo.url.php
----------------------------------------------------------------------------------------
The problem: the paypal payment mod is using zen_href_link to construct the notify url. We need to tell the SEO mod to skip modifying this url.
The solution: In the class file seo.url.php we just have to add a check for ipn_main_handler.php
Find the function function href_link()
The very beginning of the function has code like:
Code:
// don't rewrite when disabled
// don't rewrite images, css, js, xml, real html files, etc
if ( ($this->attributes['SEO_ENABLED'] == 'false') || (preg_match('/(.+)\.(html?|xml|css|js|png|jpe?g|gif|bmp|tiff?|ico|gz|zip|rar)$/i', $page)) ) {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
Immediately after that, add the following:
Code:
// don't rewrite the paypal IPN notify url
if ($page == 'ipn_main_handler.php') {
return $this->stock_href_link($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
-------------------------------------------------------------------------------------
and remember to compare and merge the html_output.php if your using imagehandler2
thats all i did...thanks to zenhorocks who worked it out in another achived thread somewhere out there
hope it helps....if anyone knows how of get rid of the .html it would be much appreciated as it doesnt seem right
good luck :smile: