Alias is not working

MoMo's picture
MoMo
Fri, 10/21/2016 - 15:04
#1
Alias is not working

Hello Team, 

it looks there is a bug with the Alias.  I configured it under Home » Administration » Configuration » Search and metadata

and also under the blog node

However, when I click on the blog button, it shows me the natif drupal link

http://estarregistry.com/v2/node/49

I can see the alias is working as when  I type the link as I configured it, it works:

http://estarregistry.com/v2/blog/10-incredible-star-inspired-sweets

How can I solve this issue please?

MoMo's picture
MoMo
Fri, 10/21/2016 - 15:19

It is actually the issue I see it when I click Read More

MoMo's picture
MoMo
Fri, 10/21/2016 - 15:22

So I need when I click On 'Read More' Button is to get the alias instead of the natif drupal link. This is not described in your site document

MoMo's picture
MoMo
Fri, 10/21/2016 - 15:22

So I need when I click On 'Read More' Button is to get the alias instead of the natif drupal link. This is not described in your site document

phuonght's picture
phuonght
Sun, 10/23/2016 - 23:11

Hi,

In file md_magnum/template/views/blog/views-view-fields--blog--block.tpl.php, please replace code

<a class="button outline smoothscroll" href="<?php print url(base_url().'/node/'.$row->nid);?>"><?php print t('Read more');?></a>

with

<a class="button outline smoothscroll" href="<?php print url('node/'.$row->nid);?>"><?php print t('Read more');?></a>
MoMo's picture
MoMo
Mon, 10/24/2016 - 16:03

Many thanks. Case closed

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.