Forum Moderators: Robert Charlton & goodroi
e.g
if the url is
1stlink:www.example.com/post/post.php?post_id=12345&thread_id=&jtype=emailed
and i add permanent 301 redirect in .httaccess and url changes to
2ndlink:www.example.com/post/post.php?post_id=12345&thread_id=
means this string is removed from end of url
>>=&jtype=emailed<<
it means google will remove first link
i want to know will google add the 2nd link in search engine ?
which i dont want....
A 301 redirect to a page that actual returns a 404 http status (and not just the 404 message) would be better.
The logic to do this is very simple, and is based on detecting the requested URL for that page view and a simple IF statement.
Robots.txt can also be used to stop the crawling of certain types of URL. Google supports URL wildcards, as do some other search engines.
Google removed the content of the site but url of the site was still there
and i was in doubt that might google consider it as duplicate or it effects my rankings bcoz many unwanted urls crawled by google
and even after robots used , urls were still in google search and some one on another forum told me that google will never removed these urls which are indexed by google even u block them using robots.
The error page text and the 404 HTTP Status Code should be returned for the originally requested URL.
The browser URL bar should not change to some other URL. If it does, then it is likely that your site returns "302 Found" for the originally requested URL. That is not the right way to do this.
[spelling]
[edited by: g1smd at 12:21 pm (utc) on Dec. 27, 2008]