Need help with .htaccess / 301 redirects

I am trying to 301 redirect product pages from my old store to my new ecwid store using htaccess. When I try to go to the old page it basically comes up with a 404 error and takes me to my main new store page.

When I look at the address the redirect has placed most of my old address just before the &id number in the new store address. The page id from the old address is then placed after the &id number. I have no idea why the old address is even being placed in the new address at all. I am not very knowledgeable with htaccess. I am using the old one from my site and just adding the lines I want manually. Maybe I should just start fresh.

Old address

[url removed, login to view]

New address

[url removed, login to view]!/~/product/category=43997&id=1878820

Redirected address

[url removed, login to view]!/~/product/category=43997/shopcart/product_name-p-4993.htmlid=1878820?products_id=4993

It seems to actually replace the "&" symbol in the new address with the entire old address path. Then it adds a "?" to the end and extracts "products_id=4993" from the end of the old address "p-4993" and inserts it after the "?".

My new store is an AJAX store. I have NO ability to change the structure of the product address/permalink. This means that I must find the correct syntax to use to redirect.

I am in search of two things. First someone that can make this redirect work correctly and second someone that can cleanup my htaccess file and make sure it is built with the correct structure and security measures.


Kemahiran: AJAX, Apache, PHP, Memasang Skrip, Pengehosan Web

Lihat lagi: html ajax 301 redirect, ecwid htaccess, my correct address, my address is correct, category php id, htaccess, ecwid, find product script, htaccess permalink, php redirects, redirects error, htaccess replace, search replace script, htaccess category, htaccess 301, script 404, syntax error html, 301, script find address, php htaccess help, ajax address search php, htaccess redirect page php, redirects, need fresh look, need someone correct

Tentang Majikan:
( 6 ulasan ) Oregon City, United States

ID Projek: #4120776

Dianugerahkan kepada:


Hello! I'm ready to start when you are. I'll need either 1) remote access to the server hosting the .htaccess or 2) a copy of said .htaccess. #1 would be preferred as it'll allow me to test & verify the changes. Lagi

$30 USD dalam 0 hari
(5 Ulasan)

14 pekerja bebas membida secara purata $35 untuk pekerjaan ini


Please check PM

$50 USD dalam sehari
(72 Ulasan)

Dear sir, I have over 10 years of experience in Web Development including PHP, Smarty, MySQL, jQuery, etc. Also I am Zend Certified PHP Developer (ZCE). I can help you out with your project. Let's do it!

$30 USD dalam sehari
(35 Ulasan)

Have you tried escaping the ampersand? I can clean up your htaccess file. Thanks!

$30 USD dalam sehari
(10 Ulasan)

Hi. I'm a PHP web developer with Apache server configuration experience. Ready to start. Regards.

$50 USD dalam sehari
(15 Ulasan)

Hi, I am a ZCE having around 6 years of experience in PHP Technology with some frameworks/cms i.e. Symfony, Joomla, Wordpress, Jquery, Ajax & javascript. As I am a ZCE, My main focus is on quality delivery to Lagi

$30 USD dalam sehari
(26 Ulasan)

Hi, lets do this.

$30 USD dalam 0 hari
(23 Ulasan)

Hi, I can do it perfectly. Regards.

$50 USD dalam sehari
(21 Ulasan)

We can give you the solution in few mins!!!

$33 USD dalam sehari
(19 Ulasan)

Ready to start, FTP and escow required to start work immediately

$50 USD dalam sehari
(14 Ulasan)

Can get this done right away!

$30 USD dalam sehari
(10 Ulasan)

Best quality work will be provided.

$30 USD dalam sehari
(5 Ulasan)

Hello Please read more than private message thank you

$30 USD dalam sehari
(1 Ulasan)

your work would be done professionally, if i get a chance to work for you. Looking forward to get positive reply from your side.

$30 USD dalam sehari
(0 Ulasan)

Lets do this work.

$30 USD dalam 0 hari
(0 Ulasan)