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! 

 



 

 www.CustomReportSharing.com 

From the folks who brought you High Rankings!



Photo
- - - - -

Do I Need To Place A 301 .htaccess Here?


  • Please log in to reply
1 reply to this topic

#1 lister

lister

    HR 5

  • Active Members
  • PipPipPipPipPip
  • 416 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).

Thanks

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

#2 chrishirst

chrishirst

    A not so moderate moderator.

  • Moderator
  • 6,841 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

SPAM FREE FORUM!
 
If you are just registering to spam,
don't bother. You will be wasting your
time as your spam will never see the
light of day!