WordPress.org

Ready to get started?Download WordPress

Forums

If pretty permalinks are working does that mean mod_rewrite is working? (12 posts)

  1. michaeljloomis
    Member
    Posted 3 years ago #

    If pretty permalinks are working does that mean mod_rewrite is working?

    I ask this because I'm able to get the sub-directory version of multi-sites working, but not sub-domains.

    I'm on a vps running centos 5.

    I've tried Andrea's directions & WP codex directions 3 times over. And even once while standing on my head with both hands tied behind my back...LoL. Nada.

    I've got my wildcard dns set in my domain manager and in CPanel.

    I've looked through my httpd.conf file and cannot find these two lines to uncomment.

    - LoadModule rewrite_module libexec/mod_rewrite.so
    - AddModule mod_rewrite.c

    I've tried inserting them in a number of places with no luck. When I attempt to restart apache it says that there is an error at the inserted lines(above).

    If it's a matter of just adding these two lines...Exactly where do I add them?

    If it's a matter of using Easy-Apache in WHM, which checkbox do I check before I recompile? I don't see an option for "Mod_Rewrite."

    And I've spent the last two days "Googling" every posible permutation of a question on the subject I could imagine with no luck.

    The irony is I can do this on Godaddy's premium shared hosting environment but not on my brand new vps.

    Any ideas?

  2. I ask this because I'm able to get the sub-directory version of multi-sites working, but not sub-domains.

    you mean subdomains are showing but the pretty permalinks aren't working?

    mod_rewrite = pertty permalinks, yes.

    I've got my wildcard dns set in my domain manager and in CPanel.

    You need to put the wildcard subdomain alias in the Apche as well. not the mod_rewrite stuff.

  3. michaeljloomis
    Member
    Posted 3 years ago #

    Sheesh...And I thought this would be easy...8-)

    Thank you for the response Andrea. You certainly have a lot of love for this community to answer these questions over and over and over...LoL.

    I'd really like to get this all figured out on my own rather than simply paying someone else to do the dirty work for me.

    Thanks again.

  4. Setting it up in cPanel USUALLY sets it up in apache on a centOS VPS (did for me).

    What did you set up as? Should just be a subdomain called * and point it to public_html

  5. michaeljloomis
    Member
    Posted 3 years ago #

    Yes sir Ipstenu...I did. Twice. 8-)

    I'd love to do this myself but I may just have to throw someone a few bones to help me out...8-)

    Mike

  6. Liek I said above.

    You need to put the wildcard subdomain alias in the Apache as well.

    Did you do that?

    you can put a wildcard subdomain in cpanel a hundred time, but if you do not have a wildcard subdomain record on the Serveralias line in your vhost entry, then it will never ever work.

  7. michaeljloomis
    Member
    Posted 3 years ago #

    Not yet Andrea. Just got my vps back up and running this morning.

    Is there any advantage techniclaly using sub-domains vs. sub-directories, other than just the naming of the sites?

    Could I possibly hire you to walk me through that? I've got just enough ssh knowledge to be dangerous and don't want to screw that up. LoL

    Thanks again Andrea

  8. Could I possibly hire you to walk me through that?

    I'm booked thru the next 3 months.

    which is why I write these things up:
    http://wpebooks.com/2010/09/how-to-enable-multisite-in-wordpress/

    And honey, if I can figure this out, with ADD and 3 or 4 kids interrupting me, than I know you can do it too.

    The adding a wildcard subdomain is something multisite *uses* but it is Apache specific, not wordpress specific.

  9. michaeljloomis
    Member
    Posted 3 years ago #

    Hey Andrea...I think I'm just going to use sub-directories. That way I can leave sub-domains open for other things.

    In your opinion though...Do you think most average users would care one way or the other? I know I personally would prefer sub-domains...But that's just me.

    What has your experience been?

    By the way...8-) I'm a stay at home dad that runs a broadcast media network from home. I'm the father of two girls, 6 & 16. I homeschool the youngest and get to do all the househusbandry while my wife works outside the home.

    Now if someone could just make a plug-in that would do my dishes and laundry for me...8-)

  10. If it's all meant to look like one site, subfolders seems to work better. If they're all totally different, subdomains.

  11. Now if someone could just make a plug-in that would do my dishes and laundry for me

    I still haven't found it...

    re: subdomains vs. subfolders. Like Ipstenu says, folders if you want it all under one umbrella. Subdomains if you want them mostly separate.

    (from the viewer & search engine viewpoint)

Topic Closed

This topic has been closed to new replies.

About this Topic