Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

Subscribe to HRA Now!


Are you a Google Analytics enthusiast?

Share and download Custom Google Analytics Reports, dashboards and advanced segments--for FREE! 




From the folks who brought you High Rankings!

- - - - -

Redirect Problem

  • Please log in to reply
No replies to this topic

#1 itaym


    HR 1

  • Members
  • Pip
  • 1 posts

Posted 07 July 2010 - 04:19 PM

About 2 weeks ago I moved my client site to new domain.
The old site actually work on 2 differents domains that present the same site (strange no?).
I understood 301 is the best solution for redirecing the site.
The new domain is on new server with new IP address.

When I started the process I found out that I don't have access to the old server because the old web development company should not supposed to know about the new site.
So I decided to create the 2 old domains on my server and there to create the HTACCESS.
Only after I done to set the 301 rules I change the old domain DNs to point to the new DNS.

I was sure I made the process OK but today I found with "301 redirect checker" that I have problem:
Type of redirect: 302 Found

Here is the commands I put on HTACCESS:
RewriteEngine on
RewriteRule ^(.?)$ http://www.new-domain.co.il/$1
ErrorDocument 404 http://www.new-domain.co.il

RewriteCond %{QUERY_STRING} ^op=cat&id=5$
RewriteRule ^catalog\.php$ http://www.new-domain.co.il/organized-tour...o-south-america?
RewriteCond %{QUERY_STRING} ^id=20$
RewriteRule ^menu\.php$ http://www.new-domain.co.il/organized-tour...o-south-america? [R=301,L]

I have somethink like 150 pages that I make it like the sample above.

Someone can HELP me?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

We are now a read-only forum.
No new posts or registrations allowed.