1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 I want redirect URL.

Discussion in 'XenForo Questions and Support' started by nguyenhuuhung, May 15, 2014.

  1. nguyenhuuhung

    nguyenhuuhung Active Member

    Hello everybody !!

    I need help from you
    Before I use useralbum addon. Address form : http://domain.com/useralbum/

    Now,i unstalled it and use other add-ons.So,i need redirect URL
    Because i unstalled "useralbum addon",so Route Filters don't work.( i tried )
    ...........

    I want rewrite URL.
    domain.com/useralbum/.... --> domain.com/list/photos/......

    Ex: http://domain.com/useralbum/my-photo.1 ---->> http://domain.com/list/photos/my-photo.1
    http://domain.com/useralbum/my-forum.2 ---->> http://domain.com/list/photos/my-forum.2

    And domain.com/useralbum/albums/.... -->>domain.com/list/albums/....

    Ex: http://domain.com/useralbum/albums/my-friend.1 -->> http://domain.com/list/albums/my-friend.1
    http://domain.com/useralbum/albums/my-house.2-->> http://domain.com/list/albums/my-house.2


    I think i need to create folder " useralbum" on hosting and use .htaccess

    Can you help me???
     
    Last edited: May 15, 2014
  2. nguyenhuuhung

    nguyenhuuhung Active Member

  3. Brogan

    Brogan XenForo Moderator Staff Member

    You don't need to create a folder, just add rewrite rules to the .htaccess file.
     
    nguyenhuuhung likes this.
  4. nguyenhuuhung

    nguyenhuuhung Active Member

    Don't need to create folder??
    Can you guide me??
    Thanks you.
     
  5. Mike

    Mike XenForo Developer Staff Member

    I'm not sure why you can't use route filters. Set them up as they would work normally, then select the incoming URL conversion option.
     

Share This Page