Hoping someone can help me.
I installed Utimate URL and the installation went fine and i could see the ultimate URL option under my config page. But the URLs were not changing. Then i pinpointed it to the includes/html_output.php file and changed the HTML href link wrapper function to
function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
global $request_type, $session_started, $http_domain, $https_domain, $zco_notifier;
// START alternative URLs patch
global $altURLs;
// END alternative URLs patch
$link = null;
$zco_notifier->notify('NOTIFY_SEFU_INTERCEPT', array(), $link, $page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
// START alternative URLs patch
if(isset($altURLs)) {
$link = $altURLs->href_link($page, $parameters, $connection, $add_session_id, $static, $use_dir_ws_catalog);
if($link !== null) return $link;
}
// END alternative URLs patch
The URLs work now but the problem now is when adding a product to cart. Adding a product to cart gives me a 403 Forbidden error.
I researched online and some suggested to modify the htaccess file in the admin folder and add a line at the end ```
e.g. SecFilterInheritance Off
or this: SecFilterScanPOST Off
Does anybody have a similar problem and a fix to it? Any help would be appreciated.
Thanks