Results 1 to 2 of 2

Thread: .htaccess 301 redirect

  1. #1
    cincydesign Guest

    .htaccess 301 redirect

    Ok,

    So I am having a simple problem that is driving me crazy.

    I have updated some page names on a site that I am working on and I am trying to execute 301 redirects for these pages through a .htaccess file.

    When I execute the first redirect the only code in my .htaccess file looks like this:

    Redirect 301 pagename.html (The URL goes here but I can't post it)

    Now this works fine for the first page, it redirects just fine.

    When I add another page my code looks like this:

    Redirect 301 pagename.html (The URL goes here but I can't post it)
    Redirect 301 pagenameagain.html (The URL goes here but I can't post it)

    And then when I re-upload the .htaccess file the whole site goes down and I get an internal server error message!

    I don't really know anything about 301 redirects so if anyone has any clue why this is happening I would appreciate feedback.

    Thanks!

  2. #2
    Join Date
    Mar 2007
    Location
    Werrington, England
    Posts
    1,315
    Why do you feel that you cannot post the url?

    I only have a limited knowledge of using .htaccess files. Can you post the actual file please.

Similar Threads

  1. 301 Redirect Question
    By robertuva in forum General Questions
    Replies: 0
    Last Post: 16 Oct 2008, 10:32 AM
  2. Help witn 301 non-www redirect
    By lightguy1 in forum Web Hosting and Domain Names
    Replies: 1
    Last Post: 15 Apr 2008, 09:51 PM
  3. No-WWW 301 Redirect
    By sprsprmman in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 15 Mar 2008, 02:15 PM

Posting Permissions

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