WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Subdomains] Can't make it works (11 posts)

  1. levani01
    Member
    Posted 4 years ago #

    Sorry but I can't make this plugin work. What does this warning mean?

    Warning: you do not have permalinks configured so this plugin cannot operate.

    Thanks

    http://wordpress.org/extend/plugins/wordpress-subdomains/

  2. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    Neat plugin. Default permalinks will not work for this plugin. You will need to have your "pretty permalinks" configured at Dashboard > Settings > Permalinks. That way, your category names will show up.

  3. fafamonge
    Member
    Posted 4 years ago #

    I have my linux hosting with Save-Solutions and I have a CPanel admin.

    I activated the plugin and already created my categories and then go to my Cpanel for setup the subdomains including the forward as following:

    http://elsalvador.blogobierno.com/ -> http://www.blogobierno.com/$1

    I have pretty permalinks: /%year%/%monthnum%/%day%/%postname%

    I see my links in the browser's status bar are pointing to:
    A.
    http://elsalvador.blogobierno.com/2009/09/03/aumentan-indices-de-homicidios

    When I click on it I go to:
    B.
    http://www.blogobierno.com/2009/09/03/aumentan-indices-de-homicidios

    I want to maintain the URL with my subdomain (A). And I want to have all posts filed under category "El Salvador" slug -> "elsalvador" when I go to http://elsalvador.blogobierno.com

    I dont get this plugin works completely.

    Help please. Thanks.

  4. blanasa
    Member
    Posted 4 years ago #

    I'm having the same issue as fafamonge. I have a page set up and everything looks great when I navigate directly to that page. If I click any links on that page it goes back to the main domain and subdomain is gone. If you happened to figure it out fafamonge...would love some help. Thanks!

  5. casualgenius
    Member
    Posted 4 years ago #

    Forwarding will not work.

    When you create your subdomain and it asks for the document root of your website you need to set it to the same document root as the main wordpress install (e.g ~/public_html/).

    If your subdomain creation doesn't ask for a document root then you should ask your technical support.

    If you forward all that does it take the page and forward you to the same page on the target address. Which is exactly what it seems to be doing.

  6. casualgenius
    Member
    Posted 4 years ago #

    Here is a picture of the section where you set the document root:

    http://casualgenius.com/wp-content/uploads/2009/07/cpanel-add-subdomain.jpg

  7. Zambrano Sergio
    Blocked
    Posted 4 years ago #

    I manually created a forwarded domain and it didn't work (yet) because I didn't included the /category/ base in the final url. While I wait for the new forwarded domain propagates, I realized the plugin will still not work properly because it will end up showing the domain/category/categoryname/post url instead of keeping always the same subdomaintocat/domain/post structure.

    But I found the following script at http://www.webmasterworld.com/apache/3438288.htm

    # if requested subdomain is not "www"
    rewriteCond %{HTTP_HOST} !^(www\.)?example\.com [NC]
    # and we have not already rewritten this request to the subdomain's subfolder
    rewriteCond %{THE_REQUEST} !/folder/.
    # extract requested subdomain to %2
    rewriteCond %{HTTP_HOST} ^(www\.)?([^.]+)\.example\.com
    # rewrite the request to the subdomain's subfolder
    rewriterule (.*) /folder/%2/$1 [L]

    and I'll give it a try.

    Can you help me to integrate it with the wordpress default rules?

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule> 
    
    # END WordPress

    This would help so many people that are pushed to upgrade their hosting package to a more expensive one.

    Thanks.

  8. blanasa
    Member
    Posted 4 years ago #

    I'm having the problem that once on a subdomain, I can't get back to the main domain when selecting "Home" However, the breadcrumbs option of "Home" works. I have both a page and a category with the slug blog that create this sub domain. I feel like I'm looking right past the solution.

    Main

    http://lanevatile.com/

    Sub

    http://blog.lanevatile.com/

    Once in this subdomain only selecting Home from breadcrumbs or the back button will get user back to the main home.

    Any help is appreciated. It otherwise is working great! Thanks!

  9. dvawolk
    Member
    Posted 3 years ago #

    Hi!
    Plugin installed correctly.
    Added cathegory "obzorje"
    Added subdomain "obzorje"...

    Here (i guess) comes the problem... I am using parked domain on hostmonster.com
    So, my primary domain is http://www.pizzabrickoven.com, but my add-on domain is http://www.jaya.si '<---' this is the one that has wordpress installed.
    On the server it is '/public_html/jaya' and not '/public_html'. so i wrote '/public_html/jaya' for the document root.
    But it does not work:
    http://obzorje.jaya.si/

    My guess is, there is a problem with parked domains.. ?!
    What can i do?!?

    Otherwise i like the idea of this plugin!

    Look forward to your reply, Klemen

  10. dvawolk
    Member
    Posted 3 years ago #

    It works now!
    Looks like i was too fast - servers probably need a minute or two to make a subdomain ready?!?

  11. Arash
    Member
    Posted 3 years ago #

    @dvawolk

    So did you get it to work on WP 3.0?

Topic Closed

This topic has been closed to new replies.

About this Topic