Welcome Guest, Not a member yet? Register   Sign In
.htaccess to remove /index/ action from URL
#12

[eluser]n0xie[/eluser]
[quote author="Ben Edmunds" date="1254280721"]The reason was that we had some old links floating around with the /index/ so the idea was that this would be a quick and easy solution to that problem.
[/quote]
Aah now THAT makes sense. Now I see why you would do that.

Well if you are worried you could always just write a rewrite rule. Off the top of my head (so probably not working) but just to give you an idea:
Code:
Rewriterule ^(.*)/index /$1 [R=301,L]

It should be something like 'redirect all url's which end with /index to the same url without index'.


Messages In This Thread
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 08:53 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 08:58 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 09:15 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 09:17 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 09:19 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 09:58 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 10:01 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 10:07 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 10:20 AM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 04:05 PM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 04:18 PM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 04:47 PM
.htaccess to remove /index/ action from URL - by El Forum - 09-29-2009, 05:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB