Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 




From the folks who brought you High Rankings!

- - - - -

Do I Need To Place A 301 .htaccess Here?

  • Please log in to reply
1 reply to this topic

#1 lister


    HR 5

  • Active Members
  • PipPipPipPipPip
  • 426 posts

Posted 08 October 2012 - 09:26 AM

OK I have many directories that have one file in them called index.php

The extension for all those index pages have changed from .php to html - so - this is what I mean:

OLD ------------> /folder/index.php

NEW ------------> /folder/index.html

Should I place a .htaccess 301 file in the /folder/ to redirect traffic from the index.php to the index.html?

Can you do that or should .htaccess only be at the root level?

(I host on Apache Linux).


PS I guess I can just try but I want to hear your thoughts first thanks

#2 chrishirst


    A not so moderate moderator.

  • Moderator
  • 7,718 posts
  • Location:Blackpool UK

Posted 08 October 2012 - 02:02 PM

Are both extensions listed as index files?

If yes and unless there are links specifically pointing the directory/index.php URI not you don't need to redirect.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

We are now a read-only forum.
No new posts or registrations allowed.