PDA

View Full Version : .htaccess 301 redirect



cincydesign
22 Apr 2010, 10:04 AM
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!

Jason
22 Apr 2010, 10:14 AM
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.