Results 1 to 9 of 9

 

Thread: .htaccess file urgent help needed

  1. #1
    Elaine's Avatar
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Redcar Cleveland North of Leeds
    Posts
    2,564
    Thanks
    120
    Thanked 86 Times in 62 Posts


    back off holiday totally jetlagged and need to put a 301 permanent redirect on my pages - revamped site, used SSI's, changed .htm to shtml, don't want to lose search engine placements - but having terrible problems getting the 301 to work and 1&1 help hadn't even heard of 'permanent redirects'!!!
    so can someone please take a look at this -

    redirect 301 /allkids.co.uk/childcare.htm http://www.allkids.co.uk/childcare.shtml

    and tell me where I've gone wrong - 'cos its simply not working - I've tried every variation I can think of but its no use.

    changing from Frontpage to Dreamweaver so I don't know if thats causing the problem - uploading it using ASCII.
    Been sat here since 8.30 and not even dressed yet - and not a pretty site - I would have put this request in the techie bit - but not many people seem to go down there.
    Cheers
    Elaine - Children's Rooms, Allkids & Toddler Beds
    email: info @ childrens-rooms.co.uk
    01642 440110

    Parent Centre - Parenting Blog

  2. #2
    getvisible's Avatar
    Moderator

    Status
    Offline
    Join Date
    Aug 2003
    Location
    My Neighbour is Elvis
    Posts
    4,562
    Thanks
    140
    Thanked 51 Times in 34 Posts
    are you on a linux server or MS?

    (aslo 1&1 have been a complete pain in the ar$e for me too)

  3. #3
    Elaine's Avatar
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Redcar Cleveland North of Leeds
    Posts
    2,564
    Thanks
    120
    Thanked 86 Times in 62 Posts
    Haven't got a clue - didn't have a choice when I joined - so probably linux.
    Elaine - Children's Rooms, Allkids & Toddler Beds
    email: info @ childrens-rooms.co.uk
    01642 440110

    Parent Centre - Parenting Blog

  4. #4
    Supercod's Avatar
    Super Moderator

    Status
    Offline
    Join Date
    Jul 2003
    Location
    Scotland, UK.
    Posts
    3,658
    Thanks
    14
    Thanked 26 Times in 12 Posts
    Hi Elaine, your on a Linux based machine running Apache/1.3.29 (Unix).
    Clarke - On Twitter @ClarkeDuncan

    Check out my Blog at www.affiliatemarketingblog.co.uk

  5. #5
    Licensed to Sell

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Wales
    Posts
    358
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You might need to put your full path name in 1&1 should tell your that.

    something like

    301... /kunden/site3/ht009289/htmldocs/allkids... http://www.allkids.co.uk/childcare.shtml

    Sorry its only a guess, but i had to find something similar for some one building a site for me on my one and one hosting

    Good luck
    <a target="_blank" href="http://www.racingshares.co.uk"><font color="#FF0000">
    Racing Shares UK</font></a></b> Race Horses Affiliate Program!

  6. #6
    Elaine's Avatar
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Redcar Cleveland North of Leeds
    Posts
    2,564
    Thanks
    120
    Thanked 86 Times in 62 Posts
    thanks for your help - I've got it sorted now-

    redirect permanent /childcare.htm http://www.allkids.co.uk/childcare.shtml

    - is working OK. Brushing your hair and getting a shower works wonders.

    Cheers
    Elaine - Children's Rooms, Allkids & Toddler Beds
    email: info @ childrens-rooms.co.uk
    01642 440110

    Parent Centre - Parenting Blog

  7. #7
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Bristol
    Posts
    89
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think that if you try:-

    redirect 301 /childcare.htm http://www.allkids.co.uk/childcare.shtml

    then that should do the trick, although I have been fiddling with 301's recently myself so i will have a root round for what i did if that doesn't work.

    [added]Damn, just too late to look clever![/added]

  8. #8
    Driving to win

    Status
    Offline
    Join Date
    Aug 2003
    Location
    If I'm not at home, I'm in hospital
    Posts
    7,370
    Thanks
    7
    Thanked 16 Times in 11 Posts
    This could be the answer for a problem since redeveloping one of our sites.

    Before I launch in to it am I correct in thinking that you need one line in the file for every page in the site - which raises another question - is there a maximum size for a .htaccess file?

  9. #9
    Elaine's Avatar
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Redcar Cleveland North of Leeds
    Posts
    2,564
    Thanks
    120
    Thanked 86 Times in 62 Posts
    the main problem was having spaces in the URL - wont work with spaces so have had to do a manual redirect on those pages and I had to change 'redirect 301' to 'redirect permanent'.

    I've done over 40 pages so far and its still working OK

    If you want to keep your position in the search engines you need to do every page or you can implement the 'redirect permanent' to point to your home page only - gets the page impressions up but loses SE placement for your popular pages.
    Elaine - Children's Rooms, Allkids & Toddler Beds
    email: info @ childrens-rooms.co.uk
    01642 440110

    Parent Centre - Parenting Blog



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. unable to restore backup file in PLESK
    By ukyellowpage in forum Web Hosting & Security
    Replies: 0
    Last Post: 10-05-05, 02:26 AM
  2. Spybots Spambots & .htaccess
    By will 68 in forum Programming
    Replies: 6
    Last Post: 05-04-05, 11:12 PM
  3. Redirecting ASP to another file on Apache
    By DanielCoe in forum Programming
    Replies: 1
    Last Post: 04-08-04, 03:14 PM
  4. Urgent Help Needed...
    By Clevant in forum Other Networks
    Replies: 3
    Last Post: 12-12-03, 09:08 AM
  5. .htaccess, does it really work at all?
    By ninsboak in forum Programming
    Replies: 4
    Last Post: 13-05-03, 09:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2