I gang

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.

Thanks

Færdigheder: AJAX, Apache, PHP, Script Installering, Web Hosting

Se mere: html ajax 301 redirect, ecwid htaccess, correct address, address correct, category php, 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

Om arbejdsgiveren:
( 6 bedømmelser ) Oregon City, United States

Projekt-ID: #4120776

Tildelt til:

RichardFry46

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. Mere

$30 USD in 0 dage
(5 bedømmelser)
2.6

14 freelancere byder i gennemsnit $35 for dette job

denisCh

Please check PM

$50 USD på 1 dag
(72 bedømmelser)
7.5
kirilpanchev

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 på 1 dag
(35 bedømmelser)
4.9
willwesley

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

$30 USD på 1 dag
(10 bedømmelser)
4.9
esafeguard

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

$50 USD på 1 dag
(15 bedømmelser)
4.7
phpopensource

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 Mere

$30 USD på 1 dag
(26 bedømmelser)
4.6
code827562

Hi, lets do this.

$30 USD in 0 dage
(23 bedømmelser)
4.4
diamond1027

Hi, I can do it perfectly. Regards.

$50 USD på 1 dag
(21 bedømmelser)
4.3
codelooms

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

$33 USD på 1 dag
(19 bedømmelser)
4.1
sujasheena

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

$50 USD på 1 dag
(14 bedømmelser)
3.6
tecsysindia

Can get this done right away!

$30 USD på 1 dag
(10 bedømmelser)
3.4
goelvivek

Best quality work will be provided.

$30 USD på 1 dag
(5 bedømmelser)
3.4
tkbeduvn

Hello Please read more than private message thank you

$30 USD på 1 dag
(1 bedømmelse)
1.8
skbly7

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 på 1 dag
(0 bedømmelser)
0.0
dreamsupports

Lets do this work.

$30 USD in 0 dage
(0 bedømmelser)
0.0