2

Using Joomla 3.9.11 and AMM 2.7.1

I have a blog with the url www.example.com/news

I need to display some modules on the right hand side of this page, but only on that exact URL.

If the URL contains anything after /news then the modules should not be displayed. For example www.example.com/news/my-great-story should not display the modules.

How can I achieve this?

2 Answers 2

3

In URL assignments section:

  • Set the option to Include
  • In URL matches enter /news/?$
  • Enable Use Regular Expressions

*The /? part is used for the case your /news page is also loading via /news/ and you need to show the module in both cases.

1

This seems to work, add URL include regex

news($)

1
  • This post has been automatically flagged as Low Quality. Please be more generous with your answers. I personally do not see why capturing the end of string anchor would be advantageous. Commented Sep 25, 2019 at 20:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.