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

Posted on 2012-08-12
Last Modified: 2012-08-14

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

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?


Question by:Rowby Goren
    LVL 107

    Accepted Solution

    Just curious... Have you tried replacing %3A with a colon?
    LVL 9

    Author Comment

    by:Rowby Goren
    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.

    LVL 9

    Author Closing Comment

    by:Rowby Goren
    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.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now