Recent Topics

1 Jan 12, 2011 23:37    

My b2evolution Version: 4.0.3

I am running 4.0.3
Blog URL: http://www.beanscorner.org/blogs/blog2.php

Just upgraded from 3.0
Everything going well Except:
When I create a post I get a warning: "the URL slug has been changed to << "post title" >>
When it posts to my twitter account it includes a short three character addition to the URL instead of the title. <like aA3>
Under Tools>Slugs a search of the title brings up two slugs with same id; one matching title, the other being the three characters.

I have searched the forums, Google, and all the menus on my b2 setup. Find nothing that relates to this or explains it. When I create a post in Advanced view, the slug matches the title.

Why is it creating a separate 3 character slug and sending that to Twitter? The resulting URL on Twitter cannot be followed, bringing up a "not found" page.

How do I correct this behavior? Very happy with b2evolution. Been using it for several years now.

I have left the posts on my twitter account. AlmanME

2 Jan 15, 2011 04:36

It's a short URL to your post. You should be able to access a post by either URL.

You may need to enable Apache mod_rewrite module for these URLs to work. Ask your hosting support if mod_rewrite is enabled.

3 Jan 15, 2011 05:41

I checked. mod_rewrite is enabled.
The short URL, when clicked on from the slugs page, does open the post. When used in the full URL (like on twitter) does not go to the post but instead 404.

4 Jan 15, 2011 05:43

I'll also mention that I updated my .htaccess to the one from b2evo 4.0.3 and tried enabling the lines suggested if you had problems with short URL's.

5 Jan 15, 2011 05:57

Ok
I went back and adjusted the .htaccess again, removing an entry.
This changed the result of the short URL from a 404 to bringing up a php stub file.
You can see the result below.
http://beanscorner.org/blogs/blog2.php/aB1
I'm lost as to where I go from here.
Any help is appreciated.

6 Jan 15, 2011 07:05

Ok, I've worked on this a lot.
In the URL tab in Blog Settings, I have:
Relative to baseurl:http://beanscorner.org/blogs/blog2.php
selected. I have two blogs (plus 1 link blog) running on the site. The other one is blog4.php.
It seems that the short url slug is using that entire URL which causes the 404. I don't want to mess up the structure of the whole blog.
Really rather lost here. Sorry.

7 Jan 15, 2011 20:03

Are you on GoDaddy hosting? If so, create/edit php5.ini (blank) in hosting root directory /htdocs/ or whatever with the following:

cgi.fix_pathinfo = 1 

See if you can login after that, if not, come back here :)

8 Jan 16, 2011 03:14

I'm not on GoDaddy, and I used the B2e twitter function for the first time tonight, and ran into the same issue.

9 Jan 16, 2011 04:59

Yes, I'm on GoDaddy.
Added file with code you mentioned. It did improve things. It now goes to the blog but then says there is nothing to display. The page title says invalid request.
Thanks for the help so far. it's appreciated.
http://beanscorner.org/blogs/blog2.php/aB8
Latest result.


Form is loading...