custom 301 redirects from old joomla (mambo) website to new drupal 7 website using .htaccess -


In the last few hours I am trying to create a custom redirect from an old mambo website that is new drupal with .htaccess 7 is on the website. The file that is present in my Drupal root What do I want to do ...

301 redirection

This is my .htaccess file ... Reviving On On Rule Rule ^ index.php? Option = com_content and task = blogsection and id = 11 & itemid = 54 $ http://mysite.com/this- is-the-new-page [R = 301, L] rewriter "(^ | /) \." - [F] Rewind Conduit% {HTTP_HOST} ^ www. (. +) $ [NC] rear array ^ http: //% 1% {REQUEST_URI} [L, R = 301] Rev.% {REQUEST_FILENAME}! -The revival code% {REQUEST_FILENAME}! -d Recovery code% {REQUEST_URI}! = / Favicon.ico rewrite rule ^ index.php [l]

I'm sure that this line has something to do .. ..

  revised rule ^ index.php [L]   

But I do not get it! If you use it you can see ...

  rewrite rule ^ option = com_content and task = blogsection and id = 11 & itemid = 54 $ http://mysite.com / This-is-the instead ...  
  Rewrite rules ^ index.php? Option = com_content and task = new page [R = 301, L]   

blog section & amp; ID = 11 & amp; Itemid = 54 $ http://mysite.com/this-is-the-new-page [R = 301, L]

and test it with Firefox < P> Thanks!

The query is not part of the string. If you want to create a rule base on the query string, you must do this

  RewriteCond% RewriteCond% {QUERY_STRING} option = com_content and task = blogsection & amp; Id = 11 & Itemid = 54 RewriteRule ^ index.php $ / is this new page? [R, L]    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -