Recent Topics

1 Jan 08, 2007 20:15    

I installed B2Evo and then Autoblog and followed the documentation and did this about 6 times and I'm so close! I cannot understand why when a user registers and creates a blog I have "u/username" in the url instead of just blog.sitename.com/username.

I've linked to two images of my general settings and also Autoblog settings. I am at my wits end. What else can I do?

My website: http://blog.theworshipjournals.com (try registering and see the "u/")

Images
General Settings:
http://blog.theworshipjournals.com/files/general_settings.gif

Autoblog settings:
http://blog.theworshipjournals.com/files/autoblog_settings.gif

Thanks!

2 Jan 08, 2007 22:42

Have you asked it at the plugindevelloper ?

3 Jan 08, 2007 22:58

I tried but I could not understand his language :'( and I saw that he answered quite a few posts here in english.

4 Jan 08, 2007 23:31

Try http://forums.b2evolution.net/viewtopic.php?t=8146 because it's possible that the author of (any given) plugin doesn't pay attention to all the topics in the forums. The author might be using the "watch this topic" to know when a user has a question, or might have seen this thread but didn't think it was related to his/her work because the subject line doesn't say it is an autoblog issue.

5 Jan 09, 2007 18:15

Yes, EdB s right, I saw this message only because conradical sent me a PM. :)

From your detailed info's I see that autoblog is working as it should.
There are only 2 settings that you must be sure you have set right to fullfill your needs. See the [url=http://www.fralenuvol.com/autoblog_settings.gif]following picture as reference[/url]

With your CURRENT settings, you should also have copied the included "sample.htaccess" file in your own .htaccess file in root of b2evolution. This way the REAL blogs will be stored in http://blog.theworshipjournals.com/u/username/ , but will have as address http://blog.theworshipjournals.com/username/ as you wish.

The "sample.htaccess" file works on most (but not all) servers.
if you have already done this and it does not work, you can not have autoblog's clean urls option.

In this 2° case, first disable "Clean Urls with mod_rewrite" (2 arrow in picture). This way your urls will be http://blog.theworshipjournals.com/u/username/

if you want anyway to have urls like http://blog.theworshipjournals.com/username/ you could also leave empty the field "Use storage folder" (1 arrow in picture), but this way your blogs should be created in root folder and you should make it writable, which may be dangerous.

But, I repeat, all this can be accomplished with your current settings if, copying the sample.htaccess file in your own, it works right.

6 Jan 09, 2007 18:42

Oh Wow! Thank you so much for that detailed explanation. I will get back home and try what you have said. I have copied the sample.htaccess to the existing .htaccess. so i'm guessing my server does not allow...

it's the media temple grid server.

I appreciate your help.

7 Jan 10, 2007 02:45

I'm wondering if the sample.htaccess is correct. Below is the copy that i have.

# Apache configuration for clean urls with Autoblog plugin
# Credits: thanks to Iran Necho who fixed the code - Website: http://www.obloggator.com
#
# Add the following directives to your .htaccess file
#
# This will allow you to have clean urls such as
# http://www.mysite.com/username/2006/09/21/first_post
# instead of http://www.mysite.com/u/username/index.php/2006/09/21/first_post
#

RewriteEngine On
Options +FollowSymlinks

# Replace "u/" with whatever your Stub Storage Folder is called in Autoblog Plugin.
# Example: "mystorage/"

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)(/(.*))?$ /u/$1/index.php/$3 [L]

8 Jan 10, 2007 12:29

Yes, it is.
What I can tell is that it was tested and works on most server configurations. But I am not an Apache guru. So maybe there could be some easy change to adapt it for you, but unfortunately I can be of no help on that.

9 Jan 10, 2007 12:50

I'm even worse at htaccess, but see if this rewrite rule works :-

RewriteRule ^(/*[^/]+)(/(.*))?$ /u/$1/index.php/$3 [L]

¥

10 Jan 10, 2007 19:32

Doesn't work but thanks. I know the server permits it because i have Joomla installed and it uses the clean urls.

I'm going to try installing B2 as the main site and Joomla in the subdomain and see if it works! Or does the .htaccess have to be done differently if B2 is installed in a sub domain (blog.website.com)?

Oh well --- just gotta keep trying!


Form is loading...