Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 7, 201014 yr Hey everyone. Here is what I want to do... I have an URL like this: http://www.domain.com/page/page_name and I want to make it look like this: http://www.domain.com/my_new_name This is what I have been trying (i know it worked before): RewriteRule ^my_new_name/?$ page/page_name [NC] But, obiously, it doesn't work. Thank you in advance for your answers.PS: I'm using:Redirect to new friendly URL format Use "301" for friendly URL redirects? URL Type - Query String Use .htaccess mod_rewrite Incorrect Permalink Handling - 301 header
May 9, 201014 yr Author Found the solution: A rule like this:RewriteRule ^my_new_name/?$ page/page_name [NC] will never work, dunno why... The rule should be like this:RewriteRule ^my_new_name/?$ index.php?app=ccs&module=pages§ion=pages&page=page_name [NC,L] Jut in case someone need this...
July 2, 201014 yr I'm sorry, I get what you're trying to do, I'd like to see if I can do the same. Remove /page/ from the URL, how did you do this again?
Archived
This topic is now archived and is closed to further replies.