This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: 301 permanet redirect
Author
Message |
linkwavescom
Groupie


Joined: 28 March 2006
Location: United States
Posts: 52
Posted: 28 July 2010 at 12:38pm

I have a website with this structure directory

http://www.xxx.com/xxxinfo/index.php/$$$$$$

I was able to shorten this url become
http://www.xxx.com/xxxinfo/$$$$$$

how can i redirect 301 so my site won't lost ranking. or
duplicate penalty

b/c if the visitor goes to both links'structure

they have the same content


Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 28 July 2010 at 12:46pm

Hello,
Please try the following code:
Code:
RewriteEngine on
RewriteBase /
RewriteRule ^xxxinfo/index\.php(.*)$ /xxxinfo$1 [NC,L,R=301]


__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version