Recent Topics

1 Feb 05, 2011 00:21    

Are clean urls possible with Godaddy and b2evolution? I am running b2evolution 4.0.3 and cannot for the life of me get clean urls to work. If I set permalinks to use the "dirty url" it works fine.

I know it's something about godaddy because my other hosts support clean urls with b2evolution just fine.

I tried editing .htaccess with no success.

Anyone have experience with this?

Thanks all.

2 Feb 17, 2011 13:59

Post your .htaccess to see what you've got there.

What kind of failure are you getting?

Do you get anything on your error_log? if yes, what?

3 Feb 17, 2011 19:17

Thanks for your response!

I basically get a page cannot be found message. If I set single post URLs to "Use param: post titleE-g: http://www.domain.com/blog/index.php/blog/?title=post-title&more=1" it is fine, but anything else will give me the page cannot be found error.

I've tried the default for my .htaccess and some other non working combinations:

# Apache configuration for the blog folder
# Lines starting with # are considered as comments.

# PHP SECURITY:
# this will make register globals off in the evo directory
<IfModule mod_php4.c>
	php_flag register_globals off
</IfModule>
<IfModule mod_php5.c>
	php_flag register_globals off
</IfModule>

# PHP5
# This may need to be in each folder:
# AddHandler application/x-httpd-php5 .php

# CLEAN URLS:
# If you're using Apache 2, you may wish to try this if clean URLs don't work:
# AcceptPathInfo	On


# DEFAULT DOCUMENT TO DISPLAY:
# this will select the default blog template to be displayed
# if the URL is just .../blogs/
<IfModule mod_dir.c>
	DirectoryIndex index.php index.html
</IfModule>


# CATCH EVERYTHING INTO B2EVO:
# The following will allow you to have a blog running right off the site root,
# using index.php as a stub but not showing it in the URLs.
# This will add support for URLs like:  http://example.com/2006/08/29/post-title
<IfModule mod_rewrite.c>
	RewriteEngine On

	# This line may be needed or not.
	# enabling this would prevent running ina subdir like /blog/index.php
	# This has been disabled in v 4.0.0-alpha. Please let us know if you find it needs to be enabled.
	# RewriteBase /

	# Redirect anything that's not an existing directory or file to index.php:
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteRule ^ index.php
</IfModule>

edit
Added [code] tags

¥

4 Feb 17, 2011 21:47

well, i don't know what else to ask, except: are you sure you are running under apache?

5 Feb 17, 2011 22:00

Was uncommenting the 'AcceptPathInfo On' line one of the non-working combinations you tried?

# CLEAN URLS:
# If you're using Apache 2, you may wish to try this if clean URLs don't work:
# AcceptPathInfo   On 

Is mod_rewrite loaded?

Check Apache's error and access logs for clues as to what's going on.

6 Feb 17, 2011 23:40

Thank you both for your replies and help.

Yes, it is apache, but it does not seem to be flexible as cpanel. I'm using Godaddy's backend and am not sure if apache error logs are available to me.

mod_rewrite is loaded.

I think it's most likely a host issue with Godaddy, and I was seeing if anyone else has worked around this issue.

7 Sep 12, 2011 03:40

First make sure you are using PHP 5, then create php5.ini in document root and add this line in it

cgi.fix_pathinfo = 1

8 Sep 28, 2011 02:47

Hi There

I have spent days on this one and i cant get this to work
any help will be appreciated

I have the following on my .htaccess file

<IfModule mod_rewrite.c>

RewriteEngine On
AcceptPathInfo On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
#RewriteRule .+ - [L]
RewriteRule ^play/([0-9]+) /play.php?id=$1 [QSA]

</IfModule>

I want to use friendly url
My links are in this format

www.yyy.com/play.php?id=1&name=some_name

I want to present the following url instead

www.yyy.com/some_name.html

But i cant get even a simple rewrite to work
What is my problem??

My website is hosted on godaddy linux server
Thanks,

9 Dec 06, 2011 21:04

I was never able to get this to work on Godaddy. I went with inmotion hosting and lunar pages, installed b2evolution, and everything worked automatically and beautifully. No extra tweaks needed.

10 Jan 15, 2012 21:06

pol901pol wrote:

I was never able to get this to work on Godaddy. I went with inmotion hosting and lunar pages, installed b2evolution, and everything worked automatically and beautifully. No extra tweaks needed.

I had the same experience...

11 Jan 22, 2012 05:09

well, i don't know what else to ask,


Form is loading...