Gauravk Posted May 25, 2016 Posted May 25, 2016 I wish to rewrite my forum urls from: /forum/8-audi-forum/ to /forum/audi/ is it possible...?
Gauravk Posted June 10, 2016 Author Posted June 10, 2016 Can you please tell me how? I am desperately looking for a solution for rewriting w/o numbers
ayuki Posted June 10, 2016 Posted June 10, 2016 .htaccess RewriteRule ^/forum/audi/ /forum/8-audi-forum/ [R=301] or acp=>system=>advanced configuration=>friendly url
Gauravk Posted June 10, 2016 Author 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/
ayuki Posted June 10, 2016 Posted June 10, 2016 Redirect permanent /forum/8-audi-forum/ https://carnity.com/forum/audi/ try
Gauravk Posted June 10, 2016 Author Posted June 10, 2016 Thanks for helping, now page is redirecting but showing page not found Error code: 2T187/2
Gauravk Posted June 10, 2016 Author 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.
ayuki Posted June 10, 2016 Posted June 10, 2016 delete htacces i think second solution in acp is better create url rewrite
Gauravk Posted June 10, 2016 Author Posted June 10, 2016 This is the by default option showing in ACP. Tried your suggestion and it didnt work.
Adlago Posted June 10, 2016 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
Gauravk Posted June 10, 2016 Author Posted June 10, 2016 Thanks Adlago for helping. I tried your suggestion and got Internal Server Error immediately.
Adlago Posted June 10, 2016 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/
Recommended Posts
Archived
This topic is now archived and is closed to further replies.