Jump to content

How can I get product's pid URL? when I in the redirected URL?


malin

Recommended Posts

Every product has a pid link, but when I access it, it redirect to a new URL

 

 

You see my requests below:

[![enter image description here][1]][1]


[![enter image description here][2]][2]


  [1]: https://i.stack.imgur.com/pCD9y.jpg
  [2]: https://i.stack.imgur.com/Q2phV.jpg


----


There have two HTTP requests, in my browser I request the first URL, you can see there is `bw=20M` param I added in the URI. 

but in the website it redirect to the second URL(`cart.php?a=confproduct&i=4`). 

now, in the page `cart.php?a=confproduct&i=4`, how can I get the URL which redirect to current URL?(I mean find the `car.php?a=add&pid=8&carttpl=McSpace&bw=20M`) , I want to get the `bw=20M` param.

 

----

 

**EIDT-01**

In the cart.php?a=confproduct&i=4 link when I get document.referrer, it shows http://102.24.5.7/dedicated_servers, can not the URL cart.php?a=add&pid=8&carttpl=McSpace&bw=20M.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated