Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 05-19-2007, 11:34 AM   #1
Member (5 bit)
 
Join Date: Dec 2006
Posts: 26
htaccess redirect not working

hello,

can anyone plz offer suggestions as to what i'm doing wrong when trying to edit my htaccess file to redirect affiliate links? i'm new at this but thought that the steps were simple enough even for me to do, BUT .... after testing my changes, i still see my affiliate URL in the browser window.


i've created a sub-folder called, "Temp" and that is the htaccess file i'm editing (not the one in my root directory). in this sub-folder, i have multiple files that i wish to re-direct, but i'm not having much luck out of the gate. what am i missing? ...


the syntax i'm using is:
redirect 301 /[filename] [full affiliatelink]

my html editor is FrontPage 2003 and i've also edited the following folders to read "Options +FollowSymLinks" (not that it seems to matter)

_vti_bin
_vti_bin / _vti_adm
_vti_bin / _vti_aut


anyone ....?
plz ... ?
usanyou is offline   Reply With Quote
Old 05-25-2007, 03:18 PM   #2
Member (7 bit)
 
Join Date: Dec 2005
Posts: 87
I only mess around with the .htaccess file when I need to use search engine friendly urls. All that means is when you want to pass a variable without using the questionmark, like

http://forum.pcmech.com/showthread.php?t=180911

will become http://forum.pcmech.com/t/180911/showthread.php

That is the only reason why I ever used .htaccess files, and actually I don't do that too often because I simply SEO the first page of the site. I always liked coding redirects in PHP or ASAP or even Javascript. I think it is easier that way.
hartken is offline   Reply With Quote
Old 05-25-2007, 03:55 PM   #3
Member (5 bit)
 
Join Date: Dec 2006
Posts: 26
yes, php has its own set of benefits that i also use, but additionally, i'm experimenting with some different methods and would like to be able to create a working redirect with my htaccess file.

by chance, have you any experience in rewriting your urll with mod_rewrite?
usanyou is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS PC Probe - Fans not working?? Maxwell_5000 Build Your Own PC 1 09-09-2005 04:40 AM
Confused Siberian Bear Distributed Computing 15 06-16-2005 06:42 AM
Working days in Excel pillainp Software Discussion & Support 0 12-18-2004 11:49 AM
IE not working Big_Eazy17 Networking & Online Security 1 09-08-2004 11:57 AM
Scheduled Task-quit working in XP bozo Windows Legacy Support (XP and earlier) 4 11-07-2002 04:07 PM


All times are GMT -5. The time now is 07:29 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2