WordPress.org

Ready to get started?Download WordPress

Forums

MiniMU
how do I fix www. redirect? (2 posts)

  1. Rhand00
    Member
    Posted 1 year ago #

    Hey first of all I love this plugin, it was exactly what I was looking for and luckly I found it after a not too long of a search.

    I got a question/problem tho.

    I got 3 domains setup domain.com, product.domain.com, artikel.domain.com

    now product. and artikel. work fine and so does domain.com

    But somehow this plugin messes your http://www.domain.com redirect to domain.com up

    when I go to domain.com all is fine but when I got to http://www.domain.com i get this

    Fatal error: Out of memory (allocated 279969792) (tried to allocate 39 bytes) in /home/admin/domains/domain.com/public_html/wp-includes/functions.php on line 2331

    Now I could probly make a http://www.domain.com setup in minimu but this cant be good for seo, seems like your than basicly creating to different sites with the same content

    http://wordpress.org/extend/plugins/minimu/

  2. shelkie
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm,

    You could try something like this in your .htaccess, to redirect visitors to www:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com$1 [L,R=301]

    Cheers,
    Eric

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags