Forums / General / How to ban content/view/full in the URL?
Nebojsa Eric
Friday 02 June 2006 3:56:05 am
I want to ban user to visit links like http://www.mysite.com/content/view/full/55. By doing this someone can acctualy see content. What is the best way to do that?
On the other side, registration info email, which user gets to confirm his account, contains link like this http://www.mysite.com/content/view/full/55.
Coulibaly Ibrahim
Monday 05 June 2006 12:54:34 am
Hi; you can take a look at this page:http://ez.no/products/ez_publish/documentation/building_an_ez_publish_site/the_news_page/news_archive
see this chapter: <b>Creating an URL alias for the News archive</b>
i think, it can help you. ;)
Marc Boon
Wednesday 07 June 2006 2:41:59 pm
You can block urls in a .htaccess file in your site root (when using the Apache web server):
<FilesMatch "^content/view/full"> Order Allow,Deny </FilesMatch>
See also: http://httpd.apache.org/docs/1.3/mod/core.html#filesmatchhttp://httpd.apache.org/docs/1.3/mod/mod_access.html#order