deuscypher
Junior Member
- Jun 8, 2009
- 109
- 16
Hello,
I have a problem getting htaccess to work.
I had this
I saved that as .htaccess.txt and put that in one of my addon domains on public_html. I put it in my domain's folder and the cgi-bin. Nothing really happens. I thought the code didn't make any sense to me. I already redirected my link on cpanel. I just want to cloak/blank my link.
I saw inside /public_html/mydomain.com<---(Addon domain) that had a .htaccess file, and the code looked something like this
I searched the forum and saw alot of variations on this but it all seem to be different.
If i had to change the code, would i change the .htaccess.txt or .htaccess on /public_html/mydomain.com
I have a problem getting htaccess to work.
I had this
Code:
redirect / www.myaffiliatelink.com
I saw inside /public_html/mydomain.com<---(Addon domain) that had a .htaccess file, and the code looked something like this
Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.com$
RewriteRule ^/?$ "My affiliate link" [R=301,L]
If i had to change the code, would i change the .htaccess.txt or .htaccess on /public_html/mydomain.com