Frage

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.

War es hilfreich?

Lösung

Insert this code in your main .htaccess:

RewriteCond %{QUERY_STRING} ^option=com_forum&view=ask$ [NC]
RewriteRule ^index\.php$ - [NC,L,R=404]
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top