The MU forums have moved to WordPress.org

Categories have wrong link (13 posts)

  1. tvictory
    Member
    Posted 16 years ago #

    When I click on a category, it has the following URL

    http://127.0.0.1/blogmu/blog/category/test-cat/

    I want it to look like this..http://127.0.0.1/blogmu/?cat=9

    When I try to change the settings in the permalinks, it WILL NOT keep my changes.

  2. tvictory
    Member
    Posted 16 years ago #

    Let me add to that...If I manually make the link look like this, the category link works.

    http://127.0.0.1/blogmu/index.php/blog/category/test-cat/

    It wants to have the index.php in the URL

  3. lunabyte
    Member
    Posted 16 years ago #

    Either you're hosting on IIS, which isn't "supported", or Apache doesn't have mod_rewrite enabled.

    If it's the first, you're stuck. If it's the second then you need to rebuild apache and ensure mod_rewrite is compiled with it. Then again, it may just be turned off.

    But, 99 times out of 100, /index.php/whatever/... is an indication of IIS. Which, for the record, on the download page for MU it does say it "requires" Apache with mod_rewrite enabled.

  4. tvictory
    Member
    Posted 16 years ago #

    I have been assured that I am not hosting on IIS..

    I have tried several fresh installs and have had the same problem on all :-(

    I will try again to make sure that apache has mod_rewrite enabled.

    Is there a quick check for this?

  5. andrea_r
    Moderator
    Posted 16 years ago #

    You're on localhost. Your local machine. It makes all kinds of things wonky, especially if you're looking in the wrong spot for files. Even if you just subbed an IP in there for whatever one you're really hosted at, I can tell you it does wonky things without a 'real' domain to work from.

  6. tvictory
    Member
    Posted 16 years ago #

    The links straight out of the box do not work....Here is the link for "Hello World"

    http://127.0.0.1/megan/blog/2007/06/14/hello-world/

    And it does not work either....

    When I use regular wordpress, the links all work fine...

    For my wordpress, I am able to use localhost instead of the 127.0.0.1 I don't know if that makes a difference

  7. lunabyte
    Member
    Posted 16 years ago #

    Ask your host, or create a file named test.php and put this in it...

    <?php
    phpinfo();
    exit;
    ?>

    Then look through it and see what's available.

  8. drmike
    Member
    Posted 16 years ago #

    Actually you should be using 'localhost.localdomain' as a base URL or fake a domain name locally. The IP address won't work (Been discussed before as there's no way to do http://username.127.0.0.1) nor will just using localhost. (Same reason)

  9. tvictory
    Member
    Posted 16 years ago #

    here is the apache information....I am pretty sure it shows mod_rewrite loaded

    Apache Version Apache/2.2.3 (Ubuntu) PHP/5.2.1
    Apache API Version 20051115
    Server Administrator webmaster@localhost
    Hostname:Port 127.0.1.1:0
    User/Group www-data(33)/33
    Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
    Timeouts Connection: 300 - Keep-Alive: 15
    Virtual Server Yes
    Server Root /etc/apache2
    Loaded Modules core mod_log_config mod_logio prefork http_core mod_so mod_alias mod_auth_basic mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_mime mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_status

  10. drmike
    Member
    Posted 16 years ago #

    Please read up a post. I don't think you can do IP addresses.

  11. tvictory
    Member
    Posted 16 years ago #

    Thanks...I am working on that right now...

    I just have to see where to set it as localhost.localdomain in the setup

    I did another install, but it didn't like me replacing my IP with localhost.localdomain

    If anyone knows where that is at, I could use a push in the right direction :-) Just not to hard, I don;t want to go flying by it.

  12. tvictory
    Member
    Posted 16 years ago #

    I went into the etc/host file and added the line that I found in the forums to make localhost.localdomain.

    I am trying, I promise :-)

  13. drmike
    Member
    Posted 16 years ago #

    Check out this thread as we have someone go into detail on teh subject:

    http://mu.wordpress.org/forums/topic.php?id=2624

About this Topic