Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

.HTACCESS redirect

Comments

  • Closed Accounts Posts: 1,200 ✭✭✭louie


    RewriteRule ^yes/?$ otherpage.html [L]


  • Registered Users, Registered Users 2 Posts: 1,127 ✭✭✭smcelhinney


    Do you have to turn the RewriteEngine on in htaccess?

    You can also do this through httpd.conf if you have access to it. Personally, I keep all my redirects in one file called redirects.conf, and include this in httpd.conf. Handy if you're not used to editing httpd.conf, or you want to prevent changes to it (assuming you've already put the include directive in it!).

    Should use httpd.conf if your hosting provider allows you access to it.


  • Closed Accounts Posts: 1,200 ✭✭✭louie


    yes you do


  • Registered Users, Registered Users 2 Posts: 568 ✭✭✭phil


    If it's a simple redirect, simply use Apache's Redirect directive.

    http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirect


Advertisement