but before that how can i view my current .htaccess file
i am hosted with hostrocket but as they have set it so users cant view the file for reasons such as deleteing it
by mistake etc its a hidden file which ftp softeare do i need to use to view that file?
also as i have some long links how can i set a script so i inster the actula link but i only link to that script so it would look something like this goto.php?id=advert and it redirects to the url!
I saw somehing on thing or another board but forgot to make a note of it on how it was done!
Run a search on Download.com for an FTP program...basically any standard FTP program should work.
As for redirection...URLs are usually stored in a database and linked with the ID number...there are pre-made banner rotators that should be able to help you out.
Actually Chris, not all FTP programs will show you the .htaccess file. I know, because I kept getting the login window when trying to access my main page on my site once and using WS_FTP, CuteFTP, LeechFTP among others, none would show the file.
Eventually I had to run ftp from the run line in wondows and ftp into my site that way. Then go into the folder where you think the file is and type ls -al. That will show you all files including hidden ones. If it's there type delete .htaccess and hit return. That should delete it )
Hello,
You can view .htaccess through your Control Panel, just go to the directory where it is, and type in .htaccess in the "Edit/Create File" text field, then click the submit button right next to it, and then you'll be able to view your .htaccess file.
To view more information on the .htaccess file, visit the newest thread in our KnowledgeBase: .htaccess Thread
Bookmarks