301 redirect problem

im using .htaccess for my 301 redirects, i cant seem to get ti to work still anyone be willing to talk me through it?

Thanks

Andy
 
You need to implement the DirectoryIndex Directive settings in your htaccess file from the link I posted earlier. Assuming you have a mixture of html and php files then this should work:

Code:
 DirectoryIndex index.html index.php
 
He has solved his problem. It was down to him not specifying a specific file.

He was redirecting /page instead of /page.html. Because he missed the extension Apache assumed he was redirecting from a folder and therefore adding a trailing slash to the new url.
 
Back
Top Bottom