문제

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.

도움이 되었습니까?

해결책

Insert this code in your main .htaccess:

RewriteCond %{QUERY_STRING} ^option=com_forum&view=ask$ [NC]
RewriteRule ^index\.php$ - [NC,L,R=404]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top