php programmer needed for url redirection

Status
Not open for further replies.

blogseoexpert

Newbie
Joined
Nov 18, 2009
Messages
8
Reaction score
0
some one good in php need to redirect url redirection
well old site is in asp and new site is in php magento.

old link is like item.asp?id=14 and it should redirect to new site to same product which has seo friendly url with .html at the end.

the asp page on the new server is defined to accept php code, so the code will be written in php
on the new server the .asp file will be treated as a .php file
 
if request.servervariables("QUERY_STRING") = "id=14" then
response.redirect "newpage.html"
end if


Would something like that not work?


or even,

if request.querystring("id") = "14" then
response.redirect "newpage.html"
end if

would only work in an asp page tho.
 
OP said it was in ASP, not ASP.NET, also its not to hide things from his AM, it's to make his URL SEO friendly.

You cant use GET or POST without submitting a form, or using JS to submit it for you (but it still requires you visit the page in the first place), and you cant use cookies or set a session without visiting the page anyway, so im not quite sure what your on about.

Theres a lot of ways to hide your BH page from your IM, and i'm pretty sure making your URL SEO friendly isnt one of them.
 
Status
Not open for further replies.
This thread has been auto closed due to the forum's thread age policy. Read more.
Back
Top