www.webdeveloper.com
Results 1 to 3 of 3

Thread: Urgent help - Redirect old URLs

  1. #1
    Join Date
    Aug 2013
    Posts
    1

    Urgent help - Redirect old URLs

    Hi,

    We got our website done by a local company and they made a mess, There were multiple URLs to a single page and Google Webmaster Tool popped errors, showing duplication in title tags.

    We immediately informed the company who did our website, They fixed the problem - created a unique url for each page, But now old urls won't work. Its been 3-4 days.

    We've been trying to use .htaccess to 301 redirect each old url to new url manually, but its not working.

    We're using the following .htaccess code

    Code:
    RewriteRule ^http://carsizzler.com/news-detail/001831090/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html$ http://carsizzler.com/news-detail/00183/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html [NC,R=301,L]
    But this doesn't seem to work. The redirection isn't working at all.

    Code:
    Old URL's
    http://carsizzler.com/news-detail/001831090/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html
    http://carsizzler.com/news-detail/001837389/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html
    
    New URL
    http://carsizzler.com/news-detail/00183/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html
    Please help.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,156
    Your rule should be something like:
    Code:
    RewriteRule ^/news-detail/001831090/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html$ http://carsizzler.com/news-detail/00183/Hindustan-Motors-Inaugurates-Mitsubishi-Range-Dealership-In-Haryana.html [NC,R=301,L]
    I wouldn't put too much effort into redirecting all of the old URLs just for Google or the other search engines. I'd only redirect the URLs that have incoming links from other websites, and let the rest go 404. If the old URLs now return 404 errors, they'll soon fall out of the index. The 'duplicate titles' warning in Webmaster Tools is just a notification. You're not going to be penalized for duplicate content within your own site in a situation like this. If you want to speed things up, you can use the URL Removal Tool to remove the old URLs.

  3. #3
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,500
    Google crawls websites regularly so I wouldn't worry too much about it.

    This happens when there has been significant change in any website.

    What she will need the URL rewriting for his people's browser bookmarks.
    Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
    Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
    I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
    I laughed that hard I burst my colostomy bag... (\\.\ May03)
    Life for some is like a car accident... Mine is like a motorway pile up...

    Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles