View Single Post
  #5 (permalink)  
Old 03-07-2008, 02:58 AM
digitalpimp digitalpimp is offline
WebProWorld New Member
 

Join Date: Mar 2008
Posts: 3
digitalpimp RepRank 0
Default Re: 301 redirect problem?

Sorry about the double post I was trying to fix the urls so they wouldnt show up like that I dont understand why since I only put in the urls not my meta description.

I also would like to place a redirect on my site and redirect myspacelayoutspimp.com/index.php to myspacelayoutspimp.com/

Code:
Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ http://www.myspacelayoutspimp.com/$1 [R=301,L]
I used the above code in my .htaccess and it worked fine for that purpose untill I tried to access certain pages that have a string added on to index.php such as
Code:
index.php?app=comment-box-gen
These pages are now inaccessible.

Is there a way to redirect only the index.php page without screwing with the others.


Ive got another quick question if both the index.php and the home page has for example a PR 3 will it increase next time around the home page page rank if I redirect the index.php to the homepage?

Last edited by digitalpimp : 03-07-2008 at 03:01 AM.
Reply With Quote