Skip to main content
11 events
when toggle format what by license comment
Apr 7, 2014 at 15:06 comment added Liam Sorsby updated my answer
Apr 7, 2014 at 15:05 history edited Liam Sorsby CC BY-SA 3.0
added 134 characters in body
Apr 7, 2014 at 15:04 comment added Liam Sorsby also try adding RewriteCond %{REQUEST_URI} !^/(date) [NC] under the other rewrite conditions
Apr 7, 2014 at 15:02 comment added Liam Sorsby try adding just RewriteRule ^([0-9]+)/([0-9]+)$ /date/$1/$2 [R=301,L] but make sure it is inside the if statement but at the bottom
Apr 7, 2014 at 14:55 comment added Mayeenul Islam Updated my question
Apr 7, 2014 at 14:49 comment added Liam Sorsby i can't see any issue with the above rule and i have tested it using htaccess.madewithlove.be can you post where you have put the code above so i can take a look? Just a note, i'm try to help, you dont have to bold and capitalise
Apr 7, 2014 at 14:45 comment added Mayeenul Islam I mentioned that, it's taking me to 404 page. The URL is NOT changing to example.com/date/2010/10
Apr 7, 2014 at 14:43 comment added Liam Sorsby what is the resulting web page?
Apr 7, 2014 at 14:42 comment added Mayeenul Islam Not working. I tried example.com/2010/10 on the browser after writing my .htaccess, it's taking me to 404 page.
Apr 7, 2014 at 14:30 history edited Liam Sorsby CC BY-SA 3.0
added 19 characters in body
Apr 7, 2014 at 14:24 history answered Liam Sorsby CC BY-SA 3.0