Switch to full style
HTML,DHTML,Javascript,XML,CSS
Post a reply

How do you 301 redirect a dynamic URL?

Sun Oct 19, 2008 4:00 pm

One of my webpages has been hijacked, and of course as always
google has rewarded the hijacker by REMOVING my top ranked 10
year old URL from their index and then ADDING the bogus URL in
their index, which shows for no searches! The URL now has a
strange thing appended to the rear:

?ref=pislikcs.com

I have been trying to do a 301 redirect from that URL to the
REAL URL, but I can't! I've tried through cPanel's URL
Redirect area and it won't work. It won't even get added! I
then tried manually adding it in my htaccess file, but it still
won't work! So obviously the "?" is screwing up something, so
can anyone please tell me how I redirect:

domain.com/page.html?ref=pislikcs.com

TO:

domain.com/page.html



Re: How do you 301 redirect a dynamic URL?

Sun Oct 19, 2008 4:03 pm

The problem is because you forgot to include the url= part of the meta
http-equiv tag that actually tells the browser what URL to redirect
to. Apparently Firefox is being more forgiving than IE is.

It's supposed to be content="0;url=http..."

Post a reply
  Related Posts  to : How do you 301 redirect a dynamic URL?
 Dynamic Domain Name System (Dynamic DNS )     -  
 Redirect to a URL     -  
 redirect to another page     -  
 redirect after countdown     -  
 redirect webpage using meta tag     -  
 How can i redirect to a one servlet from a two jsp page?     -  
 Redirect to a New Page javascript code     -  
 redirect page based on user selection radio button     -  
 DYNAMIC DATES IN MYSQL     -  
 Dynamic Array Allocation     -