• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

limits to .htaccess 301 redirects -- too many parameters cause it not to work?

Hi

I have a few weird pages that I would like to redirect to a different page.

Below is an example of one of them.   When I put the following into the .htaccess file it still comes up with a 404 error, page not found.

I am assuming that it is because htaccess does not like so many parameters in the url.

Redirect 301 http://www.websitenamel.com/index.php?option=com_content&view=article&id=106%3Amonster-memory-microsd-&Itemid=1&tmpl=component&type=raw http://www.websitename.com/skus/4gb-microsdhc-class-4-memory-card-usd-0004.html

Open in new window

Perhaps this is a clue: When i paste in the old domain it seems to completely ignore the redirect and stays on the same page with the 404 error "page not found".    With this message "404 - Article #106 not found"

Since article 106 is in the url I think everything after "view=article&id=106" is being ignored????  

FYI  I am  redirecting to the same domain.  (I modified the domain for EE for security reasons.)

It's on a Linux box.  

Any thoughts?

Thanks

Rowby
0
Rowby Goren
Asked:
Rowby Goren
  • 2
1 Solution
 
Ray PaseurCommented:
Just curious... Have you tried replacing %3A with a colon?
0
 
Rowby GorenAuthor Commented:
Hi Ray,

The link is generated automatically by the content management system (Jooma) so I can't change the %3A to a colon, but that's a good thought! :)

I think I may have found a solution elsewhere -- that will take care of the problem without having to use htaccess.  

But stay tuned, and thanks for helping me troubleshoot this.


Rowby
0
 
Rowby GorenAuthor Commented:
Hi Ray,

As it turned out the the Joomla template itself was the culprit.  I  fixed that.  But I will keep your suggestion for future troubleshooting.


Rowby
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now