Jump to content

No "friendly Urls"


Recommended Posts

I do not see anything in the code that would keep this from displaying,  controllers/admin/AdminMetaController.php

 

does your have same date as other files?  Maybe someone changed it?

 

at line 75, we hope to see this:

        $mod_rewrite = Tools::modRewriteActive();
        $general_fields = array(
            'PS_REWRITING_SETTINGS' => array(
                'title' => $this->l('Friendly URL'),
                'hint' => ($mod_rewrite ? $this->l('Enable this option only if your server allows URL rewriting (recommended).') : ''),
                'validation' => 'isBool',
                'cast' => 'intval',
                'type' => 'bool',
                'desc' => (!$mod_rewrite ? $this->l('URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check your server configuration. If you want to use Friendly URLs, you must activate this mod.') : '')
            ),


Edited by El Patron (see edit history)
Link to comment
Share on other sites

 

I do not see anything in the code that would keep this from displaying,  controllers/admin/AdminMetaController.php

 

does your have same date as other files?  Maybe someone changed it?

 

at line 75, we hope to see this:

        $mod_rewrite = Tools::modRewriteActive();
        $general_fields = array(
            'PS_REWRITING_SETTINGS' => array(
                'title' => $this->l('Friendly URL'),
                'hint' => ($mod_rewrite ? $this->l('Enable this option only if your server allows URL rewriting (recommended).') : ''),
                'validation' => 'isBool',
                'cast' => 'intval',
                'type' => 'bool',
                'desc' => (!$mod_rewrite ? $this->l('URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check your server configuration. If you want to use Friendly URLs, you must activate this mod.') : '')
            ),


Hi El Patron,

 

sorry for late reply, I was traveling abroad.

 

I ain't a programmer at all. I did check your mentioned file through FileZilla and found the exact code there in the file. So, it is there. What else the reason could be?

 

Best Regards,

Link to comment
Share on other sites

  • 3 weeks later...

Check that mod_rewrite is enabled on your server.  If you need help doing this it's best to contact your hosting provider.  However I don't see that anything obvious that would keep the option from displaying.  

 

Thanks for the advice and sorry for late reply.

 

I did solve the problem b4 your advice. The problem created by some third party seo module. Removing that module enabled the "Friendly URLs".

 

BR.

Link to comment
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
×
×
  • Create New...