Total members 11894 |It is currently Thu Nov 21, 2024 8:19 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

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

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : How do you 301 redirect a dynamic URL?
 Dynamic Domain Name System (Dynamic DNS )     -  
 Redirect to a URL     -  
 redirect after countdown     -  
 redirect to another page     -  
 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     -  
 make Dynamic Bar Chart by php     -  
 How to generate dynamic 3d pie chart in php???     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com