Recent Topics

1 May 15, 2008 01:44    

My b2evolution Version: Not Entered

With my latest upgrade of B2Evolution, I decided to consolidate a couple areas of my website. Therefore, the blog directory is no more, and I migrated the blog itself over to another folder.

The site is working fine, but now I'm wondering about the old pages archived in google and other sites. I've set up a 301 redirect for the old directory to the new one, but that doesn't help with specific page links.

For instance, I'd like old links like this...

http://maddogmovies.com/blog/index.php/2006/11/01/h_p_lovecraft_film_festival_report

to forward to new locations like this...

http://mikeboas.com/index.php/2006/11/01/h_p_lovecraft_film_festival_report

I shouldn't have to set up a separate 301 for every single blog post, should I?

3 May 15, 2008 17:29

slamp wrote:

One solution its to use .htaccess to define a 301 permanent redirect for all site.

I'm not sure, but I think I'm already doing this. http://maddogmovies.com/blog has been redirected to http://mikeboas.com

But the individual page addresses from the old site don't redirect to their counterparts on the new site.

4 May 15, 2008 18:00

Your redirect should look soomething like this :

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/blog/
RewriteRule blog/(.*) http://maddogmoveis.com/$1 [R=301,QSA,L]

¥

5 May 16, 2008 20:44

Okay, I changed the domain you had written (maddogmoveis.com) to mikeboas.com, which was my intention.

Now it works! I uploaded the new .htaccess and the old posts listed in google forward correctly.

Thanks!

6 May 18, 2008 03:26

¥åßßå wrote:

Your redirect should look soomething like this :

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/blog/
RewriteRule blog/(.*) http://maddogmoveis.com/$1 [R=301,QSA,L]

¥

will that work for the same domain? i.e. moving from domain.com/blog/* to domain.com/*

7 May 18, 2008 09:18

Yep, just make sure you have the correct domain name on the second line ;)

¥


Form is loading...