How to find and edit an .htaccess file?

I trying to set up a podcast/blog in WordPress, and I need to edit an .htaccess file.
I use Fetch as my FTP client to access my web site's hosting account, and I can see that there's an .htaccess file there. I need to get it and add a couple lines of code to it to do a URL redirect.
When I use Fetch to "Get" it, it appears to download okay, but then I can't see it on my desktop or doing a search. I just downloaded EasyFind, on the advice given in another thread, but now I'm wondering, even if I can find the thing, whether I'm going to be able to edit it.
Anybody got experience with this?
Dave

After I posted my inquiry, I solved the problem. Here it is, step-by-step, for somebody wanting a simple solution:
1. Download EasyFind from this location: http://www.versiontracker.com/dyn/moreinfo/macosx/11706
2. Launch EasyFind; make sure the option to show hidden files is checked on; and then search for .htaccess. It should show up in a list of all hidden files in wherever you're looking (Desktop or wherever).
3. I double-clicked on .htaccess in EasyFind, and this opened the file in TextEdit. I edited the .htaccess file by adding the command info I needed (in my case, a redirect command). Then I did a simple "Save" command (not Save As...). This saved the edited version as .htaccess (hidden).
4. I launched Fetch, and clicked "Put." In the Put dialog box, there's an option to show hidden files. When I checked that on, there was .htaccess, visible in the list. I selected that and FTPed it to my web server account.
5. I tested the redirect, and it worked like a charm!
Thanks very much to Matt Baya for talking me through some of this, including how to change the .htaccess to do my redirect.
Dave

Similar Messages

  • How to create and edit a .ini file using java

    Hi All...
    Pls help me in creating and editing an .ini file using java...
    thanks in advance
    Regards,
    sathya

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • How to upload and edit an eps file

    Hi all,
    I have just downloaded an eps file from shutterstock and they given me this free trial idea with adobe but unfortunately i have got no idea how to upload my file and edit it and save it as a jpg file for further work. can anyone help me please

    you can use adobe illustrator to open that file.

  • How to find and move just MP3 file types?

    Arrgggh! Windows user here increasing frustrated with "intuitive" imac.
    I just imported some CD music as MP3. This imported and inserted into my itunes library, but there does not seem to be any way that I can tell which of the files in the library are MP3. I want to move these files into a play list and burn them to a CDR.
    How do I tell which are the files that are MP3? The "view" menu does not have file type as a display option.
    Thanks for any help (info, prozac, whatever)
    -f-

    message deleted
    Message was edited by: VKX

  • How to open and edit a VBscript file?

    Hi,
    I'm fairly proficient with Dreamweaver CS3.  However, i'm finding one aspect of CS4 to be baffling to the extreme.
    I work with VBScript files.  When I open up a script file that includes other script files, the name of the parent file is seen on a tab (with an x to the right of it).  Below it are tabs for all of the files that are included (via an include statement in the code).  That's nice.
    When I click on one of the included files I see that file show up in my window.  However, I am unable at this point to get back to the file that included this one; i.e., the master file that is still above the other files.
    If I click on the tab for the master file, I don't see the contents of this file.  If I click on the small white paper icon (with the top right corner folded) on the left navigation bar, I see the name of the master file.  Selecting it still doesn't fill my editor window with the master file.
    There is a little symbol on the right side of the tabs for the included files.  (It looks like >>, except the arrows face down.)  This has the list of all of the files that I have open, minus the master file.
    It is very hard to believe that Dreamweaver would make CS4 this hard to use.  Unfortunately, I have no idea how to get the master file back in the editor window after I have clicked on one of the files it includes.  Can anyone point me in the right direction?  thanks.

    Hi,
    Use JDeveloper to import the mwp project .In Jdeveloper,File->Import->ToplinkWorkbench->Select the .mwp file and can work from JDeveloper in editing the tlmap.xml and session.xml.
    Regards,
    P.Vinay Kumar

  • How to find and edit the seeded invoice template from receivables

    Hi,
    I want to edit the seeded invoice template which comes from receivables. How can I see the name of the template, as I run the invoice from Transaction -> Transactions -> Open an Invoice and then click on the button next to the Transaction Number. I have tried finding it in XML Publisher responsibility, but I cannot find that particular template.
    Thank you in advance!

    Hi,
    I believe I have my answer now, or at least a good thread on the subject going hear:
    http://forums.java.net/jive/thread.jspa?threadID=45148
    Thanks,
    Mark

  • How to compare and edit Resource bundle file using java programe

    Hi All
    I have two resource bundle with key, value and some comments. I need to write a java code to compare both of the values of the keys and if the values are different then i want to replace the second value with the first value.
    Its a programe which will udpate the second file with the first file values.
    I tried using Properties class but it didnt worked because when i am saving the file using store method it removes all the comments and the order of text also got disturbed.
    How I need to do this any help appriciated.
    Please elt me know if someone needs more info.
    Thanks in advance.

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • How to find and clean out movie files?

    Keep getting the "startup disk almost full" memo. I've had this problem for a few months and I've done just about everything for temporary fixes. I've gone through downloaded files, iPhoto and iTunes and browser history- cleaned out huge chunks of each of these AND emptied trash multiple times. I uninstalled iMovie, deleted many precious videos I spent hours making, and my movies folder on finder (under favorites) only shows that its taking up 2.68 GB, but about this mac storage page shows that movies takes up 39 gig????? insanity, Is that even possible???????????? (I'm angry) i've searched for .mov, .m4v and .avi files on my mac and it shows that all 4 files i have for any of those categories don't even take up 2 gig. what is going on??????? i also have this "other" category showing up on about this mac as taking up another 30 gig of storage. i've read all the discussions and done everything but buy some stupid software that will tell me what i already know. i don't use time machine or icloud (but i will if it will give me more storage space, but i assume that it will do just the opposite).

    1. Start up in Safe Mode.
        http://support.apple.com/kb/PH11212
    2. Re-index Macintosh HD.
        Do this twice.
        Spotlight reindexing will take a while to finish.
        System Preferences > Spotlight > Privacy
        http://support.apple.com/kb/ht2409
        About “Other”:
        http://support.apple.com/en-us/HT202867
    8. Try  free  OmniDiskSweeper. This will give the storage size details of the items.
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       https://www.omnigroup.com/more

  • How to open and edit a TopLink .mwp file?

    I can not open the toplink_mappings.mwp file using JDeveloper tool.
    How to open and edit a TopLink .mwp file?
    Thank you

    Hi,
    Use JDeveloper to import the mwp project .In Jdeveloper,File->Import->ToplinkWorkbench->Select the .mwp file and can work from JDeveloper in editing the tlmap.xml and session.xml.
    Regards,
    P.Vinay Kumar

  • How to import and edit a 3D video made with Sony HDR-TD10E camcorder, with .MVC file?

    How to import and edit a 3D video made with Sony HDR-TD10E camcorder, with .MVC file?
    I have PremierePro-CS5 installed.
    This stereo 3D camcorder (Sony HDR-TD10E), output an .MVC (MultiViewCoding) file, coded in H.264 format.
    This format is already compatible with Bluray3D stereoscopic format.
    1) But, how to edit the .MVC in Premiere?
    2) What plugin should I use (if exists) for PremiereProCS5?
    3) Cineform Neo3D, can manage the .MVC format? Can convert it to Cineform format file, for import it into Premiere?
    4) What software should I use to convert an .MVC video to an AVCHD H.264 file, and import it into PremierePro CS5 or CS5.5 for editing?
    Thanks!
    Horsepower0171.

    Sorry, I am Italian, it is very difficult for me to understand what he says!
    I can just read the english text, or follow the actions of a videotutorial!
    Thus my question is the same:
    -What software can do that?
    -Sony Vegas 10 do the Bluray3D authoring?
    -For MVC editing, should I wait for Adobe CS6? Or is it planned an update for CS5.5?

  • When I connect my iphone to my itunes it says loads of space is being taken up by documents , however i have no documents saved on my phone to my knowledge. how do I find and delete these hidden files ?

    when I connect my iphone to my itunes it says loads of space is being taken up by documents , however i have no documents saved on my phone to my knowledge. how do I find and delete these hidden files ?

    I restored the phone so had no apps on it at all and there was still this certain amount of space used up by documents ! I've already had it in to the apple store and they didn't seem to have a clue either ! Ugh ! Wouldn't mind so much if the phone was free with a contract but I actually spent 450 quid buying this phone and it's always full of "nothing" so virtually unusable

  • HT2905 No Display Duplicates under File. How to find and remove duplicate items in your iTunes library

    I now have iTunes ver 11.0.4.4 under Windows 7. I lost all iTunes stuff when updating to Windows 7. I have loaded thousands amd thousands of music files from backup disks, but there are many duplicates. I am attemping to re-establish my old library. I used to be able to remove duplicates quickly with the old iTunes. The new iTunes doesn't seem to offer the same service. Is there any way to remove duplicates quickly, or must I do it one by one?

    When deduping use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    See also HT2905: How to find and remove duplicate items in your iTunes library
    tt2

  • HELP!! How can I find and delete duplicate mp3 files.

    I have a zillion copies of songs and I want to find and delete duplicate mp3 files. I have used MediaRage to find the duplicate files (16 thousand or so) but it can't delete them. It will take a million yrs to delete them manually. Does anyone know a way to do this quickly or a program that will do this for me. I have a 15 in Powerbook with OS 10.5.3
    Thanks so much if you can help.

    This site: http://dougscripts.com/itunes/ has hundreds of scripts (small programs that do stuff) for iTunes.
    Bound to be something there for you.

  • How can I find and edit my website on iWeb? It has disappeared

    I created my website on iWeb and published it on Google.  I have revised it a couple of times but now, when I open iWeb, the website is not there.  I just get a new templatae.  "Visit" is unavailable. If I try to open it from the Finder via iWeb, it goes to the same place.  PS-I just upgraded to Lion!

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • Video Format Total Solution: How to Convert and Edit Video on Windows/Mac

    More and More video formats are coming out with different video encoders and it makes our spare time more and more colorful. However, it is not to say that there is no problems. Actually, different video formats make it difficult to share video with others, even your own camcorder and iPod. Is there an easy way to convert videos effectively. Yes, there is.
    In this article, I will show you guys how to convert videos on windows and mac.
    Part 1. How to Convert and Edit Videos on Windows
    For Windows users, you need a Video Converter(http://www.aiseesoft.com/total-video-converter.html) to do that for you.
    Here I use Aiseesoft Total Video Converter(http://www.aiseesoft.com/total-video-converter.html)
    Step 1: Download and install Aiseesoft Total Video Converter
    After you download it to your computer, double click it and it is really easy to install.
    You just need to click “next” and it will complete it in seconds. It will automatically run after installation.
    http://www.aiseesoft.com/images/guide/total-video-converter/screen.jpg
    Step 2: Load Video
    Click “Add File” to find the video that you want to convert and click “open”. It will be loaded automatically.
    Step 3: Select the target to decode
    In the “Profile” drop download list you can find your target according the usage of your output video, such as if you want to put the video on your iPod touch, you can select the “iPod” in the first list and “iPod touch 2 MPEG-4 640*480(*.mp4)” in the second list.
    Step 4: Set Advanced Parameters
    After you select the right output profile, you can click “setting” button to set your advanced parameters. You can adjust video and audio settings separately. In video section, you can change “video encoder”, “resolution”, “frame rate”, “video bitrate”In audio section, you can change “audio encoder”, “sample rate”, “channel”, “audio bitrate”If you want to save this profile and settings and use it next time you can click “save as” button to give a name to it. And the next time you want to use it you can find it in the profile list named “user defined”.
    Step 5: Choose a Destination
    To browse and find a output folder for your output files or just the default one.
    Finally, Click “Convert” button to begin your conversion, here in the converting
    interface you can choose “shut down the computer when conversion complete” or “open output folder when conversion complete” or you just do not choose neither one.
    Tips: How to Edit the Output Video
    This video converter is also a video editor, you can use it to edit your output video as follows:
    http://www.aiseesoft.com/images/guide/total-video-converter/effect.jpg
    1. Effect:
    You are allowed to adjust the “Brightness”, “Contrast”, “Saturation” and you can choose the “deinterlacing” to make the video more enjoyable.
    2. Trim:
    In “Trim” section you can pick up any part of the video to convert.
    There are two ways to select the part of the video you want. One is set the start and end time in the box. The other one is to drag the start and end button in the processing bar.
    3. Crop:
    This function allows you to choose a certain play area to convert. That means you can choose a part of the screen you like to convert. For example, you just like the tv in the middle of the screen, then you can drag the frame around the preview window to select the tv and the output preview will show you the output video.In this section you can also choose the “zoom mode”, such as “keep original”, “full screen”, “16:9”, “4:3”.
    4. Watermark
    In the section, you can add a watermark on the output video to show people something, such as your name, website, studio name or other things. The watermark could be words and picture. You can adjust the transparent of the watermark easily to make it more beautiful.
    Part 2. How to Convert Video on Mac
    This time you need a Video Converter for Mac(http://www.aiseesoft.com/video-converter-for-mac.html)
    Step 1: Add File
    Click “Add File” button to load the video you want to converter
    http://www.aiseesoft.com/images/guide/mac-video-converter/steps.jpg
    Step 2: Choose profile and adjust settings
    You can find your output video format from a drop-list called “Profile”You can also adjust the specific settings of the output video, such as “Resolution”, “Bitrate”, “Encoder” and so on.

    @ Tamwini
    Your only goal is to sell software.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

Maybe you are looking for

  • How to get Current day and month value in Stk applets

    Friends please provide me the hint to get the Current Value of month and date from the Mobile equipment(ME). please send feedback to [email protected]

  • How do I setup users to create files in /Users/Shared with group permissions default to rw and not just r?

    I have setup my iMac with 4 user accounts (for the wife and kids).   Some files I would like them to all have access to and that access be read / write. I believe I should use the /Users/Shared directory but when a user creates a file there the permi

  • How to change marker size in line graphs

    Hello, I'm using line graph and i show markers for the user know where to see a tooltip. I observed that the line markers are very big and clutter my graph when points are very close one anothers. I would like to make them smaller, but I don't know h

  • Design Suggestion

    I am working for web based project which is being used by around 1000 users daily. We have a requirement in which we need to capture around 5000 fields through text box, combo boxes and around 300 attachments from end user and store them in DB I have

  • How can i make 'hide toolbar' the default in finder

    Want to get rid of the Finder toolbar aka "Hide Toolbar" as the norm.  If it is a matter of turning the feature off completely and never seeing the side bar stuff and all the buttons, so be it. In short instead of this: I would like this for every wi