Making redirections .. need your help guys!

by Toon-c
0 replies
Hi ...

I need to make some redirections, I'm changing the script used in my website, and I need toclean some URLs as well ..


First,

I need to make a permanent redirection for about 300 pages (articles) ..

The old URLs are like
www.site.com/example-1/article-title-here.htm

with the new script installed , I would like all the URLs in that format to be redirected to
www.site.com/example-2/article-title-here


Second,

I need to make a permanent redirection ..


the old URLs are like:
www.example.com/page-title.php

I would like to rewrite these URLs to:
www.example.com/page-title


also, I would like to make a permanent redirection for all the old URLs to the new ones after making rewrite thing, because I don't want to lose all the backlinking done ..


the two manipulation are for the same website ..

my .htaccess file looks like

Code:
# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.com
AuthUserFile /home/mysite/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mysite/public_html/_vti_pvt/service.grp




Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301]

what can I add ?? will be extremely thankful ..

Best Regards.
#guys #making #redirections

Trending Topics