Forums

Cant get my 301 to work (1 post)

  1. TWD
    Member
    Posted 8 months ago #

    I have a form on a page (built using FormBuilder plugin).

    On successful submission the page refreshes with this URL
    http://www.mysite.com/dev/contact#formBuilderCSSIDGet_a_Quote

    and a message "Thank you for submitting.."

    But what I really want it to do is redirect to a completely new page, called http://www.mysite.com/success

    So I tried adding the following line at the bottom of my .htaccess file
    redirect 301 /dev/contact#formBuilderCSSIDGet_a_Quote http://www.mysite.com/dev/success

    Now if I understand correctly, the way to test this would be to enter the URL string http://mysite.com/dev/contact#formBuilderCSSIDGet_a_Quote into the browser bar and if the 301 is working it should automatically redirect to http://www.mysite.com/success

    But that isnt happening. It stays on http://www.mysite.com/dev/contact#formBuilderCSSIDGet_a_Quote

    It's on a LINUX server of course.

    Any ideas?

Reply

You must log in to post.

About this Topic