Question

I am unable to remove a page of a component of Joomla site, due to dynamic nature of it as created. How is it possible that i can display 404 server error, if that exact url is opened or linked by by any one

The page is

  www.abc.com/index.php?option=com_forum&view=ask

May be through htaccess, if there is any possibility.

Était-ce utile?

La solution

Insert this code in your main .htaccess:

RewriteCond %{QUERY_STRING} ^option=com_forum&view=ask$ [NC]
RewriteRule ^index\.php$ - [NC,L,R=404]
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top