1 almanme Jan 12, 2011 23:37
3 almanme 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 almanme 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 almanme 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 almanme 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 sam2kb 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 cslepage 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 almanme 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.
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.