Recent Topics

1 Mar 14, 2008 04:38    

My b2evolution Version: Not Entered

Howdy.

I have a question. I need to change up the format of one of my blogs, which in turn will result in all the urls changing. A real drag for SEO and pages bookmarked. Does b2evo have any internal redirect for this sort of thing? I tried htaccess, but haven't had any luck redirecting urls like

/slug.php/this-posts-permalink

... any suggestions?
thanks
LE

2 Mar 14, 2008 04:58

Basically yeah it does, but I've no doubt that one might be able to find situations where b2evolution can't figure out what an old permalink is really pointing to.

Recently, to test this out a bit, I moved a post to a different category in a different blog and the old permalink still found the post, so yeah it'll happen. In that case it must have gone by the title.

So as long as there is *something* in the old permalink that clearly identifies the post as a unique item it should be able to handle it. Way back in the days of p=NNN that'd always work. Anything with the post title in it should also work assuming you don't edit post titles.

3 Mar 14, 2008 05:17

thanks for the input.

I tried the htaccess again... and found a tip (quoted below) on the net that you have to put the FULL folder path to the page... I neglected to include the top folders up to the www, thinking that the folders up to the htaccess folder was sufficient... which obviously was not. So, it works now!

Back to the 301 Redirects and .htaccess
Basically the format of each 301 redirect line in your .htaccess file is:
redirect 301 /old/old.htm http://www.you.com/my-new-page/

where

/old/old.htm

is the now outdated file (the leading / says to start right at the top of the domain/www root to find the file)
and

http://www.you.com/my-new-page/

if the full URL to the new location.

Notice there is a SPACE between each of the four components, and the line ends with a return.

thanks again!


Form is loading...