forum||community redirect

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #98000
    phenoms
    Participant

    Lingster,

    I see that you have changed the forum index to the top level and placed all inner content under “community” now rather than under “forum”.

    I discovered the links inside my profile still link to the old addresses.

    Not sure of everywhere that is affected but you might just want to use an Apache Redirect.

    I would go with a 301 Permanent Redirect but thats your call. For reference if needed:

    http://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirect

    For example:
    http://amaz0ns.com/forum/Art-QA/97488-Making-desktop-wallpapers
    needs to be
    http://amaz0ns.com/community/Art-QA/97488-Making-desktop-wallpapers

    Apache rewrite code example:
    http://pastebin.com/8h2aB2y5

    A 301 will act correctly but will keep “forum”. It would be correct syntax. But a 302 Temporary Redirect will change “forum” to “community” which is probably what you will want.

    I’m rusty on rewrites. If the above rewrites dont behave as described, blame it on my rust. :blink:

    PS- When writing this post, the preview did not seem to work. Not sure if thats related to the URI changes. Admittedly I did not look into it.

    My Deviant Art Page (old stuff):
    phenoms.deviantart.com

    My Booru Gallery (new stuff):
    phenoms.booru.org

    Also
    www.thevalkyrie.com/picthumb/p/phenoms/index00.htm
    www.thevalkyrie.com/picthumb/p/phenom_fett/index00.htm

    #98013
    Lingster
    Keymaster

    Thanks – I forgot about that. Will do.

    #98014
    Lingster
    Keymaster

    I took care of it using Joomla menus – better than adding lines to an already very complex htaccess file.

    #98017
    phenoms
    Participant

    Lingster wrote:

    I took care of it using Joomla menus – better than adding lines to an already very complex htaccess file.

    Glad I could help draw your attention to an oversight.

    As for how you did it. Whatever works for your back end. I don’t presume to have the slightest idea of what you have going on to make the site work.

    Every now and then its nice to blow some dust off my rewrite skills. Of course at this rate I’ll have more dust than skill left.

    My Deviant Art Page (old stuff):
    phenoms.deviantart.com

    My Booru Gallery (new stuff):
    phenoms.booru.org

    Also
    www.thevalkyrie.com/picthumb/p/phenoms/index00.htm
    www.thevalkyrie.com/picthumb/p/phenom_fett/index00.htm

    #98132
    Lingster
    Keymaster

    I changed it back – too many problems.

    #98133
    TC2
    Participant

    Ah well, was nice while it lasted.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.