Gauravk Posted May 25, 2016 Share Posted May 25, 2016 I wish to rewrite my forum urls from: /forum/8-audi-forum/ to /forum/audi/ is it possible...? Link to comment Share on other sites More sharing options...
ayuki Posted June 10, 2016 Share Posted June 10, 2016 yes Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 Can you please tell me how? I am desperately looking for a solution for rewriting w/o numbers Link to comment Share on other sites More sharing options...
ayuki Posted June 10, 2016 Share Posted June 10, 2016 .htaccess RewriteRule ^/forum/audi/ /forum/8-audi-forum/ [R=301] or acp=>system=>advanced configuration=>friendly url Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 Thanks Ayuki, I have edited htaccess but this url: https://carnity.com/forum/8-audi-forum/ is not redirecting to https://carnity.com/forum/audi/ Link to comment Share on other sites More sharing options...
ayuki Posted June 10, 2016 Share Posted June 10, 2016 Redirect permanent /forum/8-audi-forum/ https://carnity.com/forum/audi/ try Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 Thanks for helping, now page is redirecting but showing page not found Error code: 2T187/2 Link to comment Share on other sites More sharing options...
ayuki Posted June 10, 2016 Share Posted June 10, 2016 you have ip.page and forum in subdirectory Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 Yes I have IP Pages and not sure about forum in subdirectory, this /forum is existing since I first installed IPB 2 years back before adding the IP Pages. It's the default option for forum. Link to comment Share on other sites More sharing options...
ayuki Posted June 10, 2016 Share Posted June 10, 2016 delete htacces i think second solution in acp is better create url rewrite Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 Tried that as well already and not working. Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 This is the by default option showing in ACP. Tried your suggestion and it didnt work. Link to comment Share on other sites More sharing options...
Adlago Posted June 10, 2016 Share Posted June 10, 2016 try this //301 Redirect Entire Directory RedirectMatch 301 https://carnity.com/forum/8-audi-forum/(.*) https://carnity.com/forum/audi//$1 Link to comment Share on other sites More sharing options...
Gauravk Posted June 10, 2016 Author Share Posted June 10, 2016 Thanks Adlago for helping. I tried your suggestion and got Internal Server Error immediately. Link to comment Share on other sites More sharing options...
Adlago Posted June 10, 2016 Share Posted June 10, 2016 1. Create new friendly url - In the field of Friendly Url write audi - In the field of Real Url write app=forums&module=forums&controller=forums&id=8-audi-forum Save 2. Now address https://carnity.com/forum/audi/ will work. 3. Enter in the htaccess what @ayuki said Redirect permanent /forum/8-audi-forum/ https://carnity.com/forum/audi/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.