Recent Topics

1 Nov 20, 2007 07:09    

I changed the location of my blog from site.com/blog to simply SITE.com

is there an easy way to redirect site.com/blog/*.* hits to site.com/*.*?

I got this from google:



redirect 301 /blog/index.php http://www.theChristianalert.org/index.php
# -basic redirects
redirect 301 /blog/ http://www.theChristianalert.org/index.php
redirect 301 /blog http://www.theChristianalert.org/index.php

# -b2evo redirect links begins
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# - more redirects
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} title=([^&]+)
RewriteRule ^index\.php /%1? [r=301,nc]


This works great.

This LINK: www.thechristianalert.org/blog/index.php/TheNews/2007/02/20/meet_baby_amillia_taylor
is now redirected to
http://www.thechristianalert.org/index.php/2007/02/20/meet_baby_amillia_taylor?blog=6

However, I really don't know what I'm talking about. any help is highly appreciated. Is there anything else I should be doing?

Edgar


Form is loading...