url rewrite for XPress

michael was seeking seo’ed short/beautiful url rewrite for XPress and I was not able to make a practical one.

Today I happened to pass through a site that could have done the job. Here you go:

http://mudiweb.com/blog

Yes, it is a XOOPS site with XPress.

14 Comments

  1. Comment by JulioNC:

    openid ?

  2. Comment by michael:

    Yes, looks promising, but no way to contact that guy
    what is openID? hm … will ask google …

  3. Comment by david:

    According to his blog - mudi [at] mudiweb.com

  4. Comment by beduino:

    I didn’t find the post….
    beduino

  5. Comment by Stephen Arseneau:

    Mudi can be located at the mudi [at] mudiweb.com. He is my co-administrator at Animutationportal.com (he can also be located there)

  6. Comment by michael:

    Thanks to all for your help. Mail is send and i will report when there is a result

    happy xoopsing
    michael

  7. Comment by Mudi:

    Hi there… wow, did I do something useful? :D

    Here is the mail I sent, though I would note that I haven’t done this for awhile and I may have gotten something wrong, and also that on my site I am using a fairly old v1.52 of the Wordpress module:

    Very first thing is to install the Wordpress module normally, just use /modules/wordpress.

    Then go into the Wordpress options in Options->General. The WordPress address (URI) option should remain the same (at [your site]/modules/wordpress) but change the Blog address (URI) to [your site]/blog.

    Then, go to the Options->Permalinks menu, set the virtual structure you want, and grab the .htaccess data that it gives you.

    On your webserver, make a /blog directory, and make a .htaccess in that with the data it gave you in Options->Permalinks. Near the top of the .htaccess file, after the “RewriteEngine On” line (before the “RewriteBase” line, insert this:
    RewriteRule index.php ../modules/wordpress/index.php

    At this point, it should work… if not, you’ll have to modify your kernel/module.php, but this wasn’t necessary for me. As far as I can tell it has no adverse side-effects on your XOOPS installation… If you have any problems, please feel free to contact me again.

  8. Comment by michael:

    thanks mudi

    one problem i have in this case following your instruction is, that changes on URI, both WordPress address (URI): and Blog address (URI) in General Options of wp-admin are not saved or updated.


    michael

  9. Comment by michael:

    looking into my database in “wp_options” siteurl is set to what i have changed (in this case tld/blog what is intended) but in general options of wp-admin there is still tld/modules/wordpress and ofcourse rewrite does not work though.

    any ideas?

  10. Comment by Mudi:

    “siteurl”, on my working installation, is “/modules/wordpress”, while “home” is “/blog”. “home” appears on the second page of the database browser in phpMyAdmin, have you tried that?

  11. Comment by michael:

    yes, .. did that.. still showing modules/wordpress in wp-admin options and … of course in all links of xoops like mainmenu and urls of wordpress posts etc.

    yes … i did update module wordpress+ system and killed templates_C

  12. Comment by Mudi:

    Well, I think that the “modules/wordpress” option must have been hardcoded into 2.x somewhere, I don’t have time to look for it at the moment.

  13. Comment by michael:

    thanks mudi hope that perhaps phppp or others can now help on this

  14. Comment by Yngve Stein:

    So… Any progress on a solution?

Leave a comment