wahdude316 0 Newbie Poster

If I'm not posting this right please excuse me I'm new to this board. I'm trying to edit my htaccess file, so that I can hide my affiliate links. I copied the code from an internet marketing forum.


<ifmodule mod_rewrite.c>
RewriteEngine On

RewriteRule greensmoke.html http://www.greensmoke.com/13745.html [R=301,L]

</ifmodule>

<ifmodule mod_rewrite.c>
RewriteEngine On

RewriteRule blucigs.html http://affiliate.blucigs.com//idevaffiliate.php?id=6044 [R=301,L]

</ifmodule>

<ifmodule mod_rewrite.c>
RewriteEngine On

RewriteRule premiumecigarette.html http://www.premiumecigarette.com/667.html [R=301,L]

</ifmodule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


Thanks in advance,

Mr. G

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.