WordPress.org

Ready to get started?Download WordPress

Forums

Blog name appears twice (9 posts)

  1. Dana
    Member
    Posted 2 years ago #

    Hi,

    For this site, which is on a multisite, the default Blog page taht shows all posts no matter the category appears with the word Blog twice in the browser page name and on the page itself, see here: http://cve.org/blog/. I am not sure why this is, haven't seen it before. Any thoughts on what could be causing this?

    Thanks!

  2. Are you using subdomains or subfolders?

    What's in your .htaccess?

    How did you set up yoru permalinks?

  3. Dana
    Member
    Posted 2 years ago #

    It's sub-domains

    Permalinks are set to:
    Month and name http://cve.org/blog/2012/02/sample-post/

    On the network New Blog settings, added that plugin, it says /blog by defaul for all before choosing the option.

    .htaccess file shows:

    # BEGIN MailPress
    RewriteRule ^mail/analytics/([l|o])-([0-9]+)-([h|p])-([0-9a-zA-Z]+).html   wp-content/plugins/mailpress/mp-includes/action.php?tg=$1&mm=$2&co=$3&us=$4 [L]
    # END MailPress
    
    #Begin WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    #End WordPress
    
    RewriteCond %{HTTP_HOST} ^imegreenclean\.org$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.imegreenclean\.org$
    RewriteRule ^/?$ "http\:\/\/imejanitorial\.com" [R=301,L]
    
    RewriteCond %{HTTP_HOST} ^imecve\.org$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.imecve\.org$
    RewriteRule ^/?$ "http\:\/\/imejanitorial\.com\/" [R=301,L]
  4. On the network New Blog settings, added that plugin, it says /blog by defaul for all before choosing the option.

    That's not right.... I mean, you only need /blog/ if you're using subFOLDERS.

  5. Dana
    Member
    Posted 2 years ago #

    But how do I remove the word Blog, I cannot edit in the Dashboard, it's only after the word blog that it lets me customize the permalinks.

  6. Dana
    Member
    Posted 2 years ago #

    I just realized it is sub-directories. The old dev site is sub-domains, which is why I was confused. By the live site I am talking about is sub-directories.

  7. Ah. Okay. Yes, you MUST use /blog/ in sub directories :)

    But anyway http://cve.org/blog/ isn't the default blog page. http://cve.org is. I'm looking for a subfolder site, but I think you're not supposed to see ANYTHING there...

  8. Look in your admin area. Did you create an actual PAGE called "blog"?

    If so, that is probably the issue. If you want to make something show up at /blog/ you need to use a page template that lists all posts.

    Like I did here: http://atypicalife.net/blog/

  9. Dana
    Member
    Posted 2 years ago #

    There isn't a page called Blog, so we are clear there.

    I am confused, why won't the default single.php work for the Blog posts? this is only to show all categories in one place, otherwise I am able to use category menu. I've never seen this on anything but multisite, I guess that's why I'm stumped. Maybe such a thing doesn't exist. The default category is blog, but that appears by going to: http://cve.org/blog/category/blog/ not http://cve.org/blog/.

    Not sure if I'm making any sense here.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.