Jump to content
gytske

Find if friendly url is set

Recommended Posts

I'm trying to make my module more seo friendly, 

 

the module places small content block in footer/header/etc. Its has link to the module page, but its not very 'friendly' 'fc=module&module=modulename&controller=function1'

 

Is there any way to check if friendly url exists for this path from inside the module (and then assign it to smarty)?

 

Share this post


Link to post
Share on other sites

Hi,

 

how do you get this link? Try the Presta-way: 

$this->context->link->getModuleLink('moduleanme', 'controllername', array('param1' => '1', 'param2' => 2)); //php

$link->getModuleLink('moduleanme', 'controllername') {*use $link variable for SMARTY*}

Regards

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More