SEO Tools 15 Minute SEO NEW SEO Tutorial SEO Articles SEO Quiz SEO Forums SEO Comics SEO Crossword Puzzle Web Tools Text Links SEO Backlinks
Create quality, relevant backlinks to your web site - textlinks.com - 21 Day FREE Trial

Go Back   Webconfs.com's SEO Forums > Search Engine Strategies > Search Engine Optimization
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-05-2007, 05:55 PM
modine modine is offline
Junior Member
 
Join Date: Jun 2007
Posts: 3
modine is on a distinguished road
Default redirect 301 not working need help

Hi,

No matter what I do my redirect is not working correctly. I have the main site working but have 2 other directories which have their own domain name and they are getting redirected to the main domain. Please help

Thanks,
modine
Reply With Quote
  #2  
Old 06-05-2007, 08:03 PM
amit's Avatar
amit amit is offline
Administrator
 
Join Date: Apr 2006
Posts: 409
amit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud of
Default

How exactly are you trying to redirect??
Can you paste your code here ?
__________________
Amit Bhawnani
http://www.webconfs.com
Reply With Quote
  #3  
Old 06-05-2007, 08:14 PM
modine modine is offline
Junior Member
 
Join Date: Jun 2007
Posts: 3
modine is on a distinguished road
Default

Hi, Thanks for responding. I have done the redirect for 1 site but the other 2 site with their own domain names are being redirected to the first site. Below is the code I have in the .htaccess file... at one point I had my first site in the store2 folder then I moved them to the root folder

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.example.com
AuthUserFile /www3/example/_vti_pvt/service.pwd
AuthGroupFile /www3/example/_vti_pvt/service.grp

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

Redirect 301 /store2/ http://www.example.com/
Reply With Quote
  #4  
Old 06-06-2007, 02:22 AM
indianadministrator indianadministrator is offline
Senior Member
 
Join Date: Jul 2006
Location: India
Posts: 112
indianadministrator is on a distinguished road
Send a message via MSN to indianadministrator
Default Simplee do this

Quote:
Originally Posted by modine
Hi,

No matter what I do my redirect is not working correctly. I have the main site working but have 2 other directories which have their own domain name and they are getting redirected to the main domain. Please help

Thanks,
modine

Hi there is no needs to become so upset
<META HTTP-EQUIV="refresh" content="0;URL=http://www.newwebsite.com">
just after the your <head> tag
all the best this will work very well and experinced by myself.
Reply With Quote
  #5  
Old 06-06-2007, 02:26 AM
amit's Avatar
amit amit is offline
Administrator
 
Join Date: Apr 2006
Posts: 409
amit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud of
Default

Quote:
Originally Posted by indianadministrator
Hi there is no needs to become so upset
<META HTTP-EQUIV="refresh" content="0;URL=http://www.newwebsite.com">
just after the your <head> tag
all the best this will work very well and experinced by myself.

Search Engines do not follow meta redirects...
__________________
Amit Bhawnani
http://www.webconfs.com
Reply With Quote
  #6  
Old 06-06-2007, 02:28 AM
amit's Avatar
amit amit is offline
Administrator
 
Join Date: Apr 2006
Posts: 409
amit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud of
Default

Quote:
Originally Posted by modine
Hi, Thanks for responding. I have done the redirect for 1 site but the other 2 site with their own domain names are being redirected to the first site. Below is the code I have in the .htaccess file... at one point I had my first site in the store2 folder then I moved them to the root folder

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.example.com
AuthUserFile /www3/example/_vti_pvt/service.pwd
AuthGroupFile /www3/example/_vti_pvt/service.grp

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

Redirect 301 /store2/ http://www.example.com/

You may need to contact your hosting provider and confirm that you have Apache's Mod-Rewrite Rules enabled.
__________________
Amit Bhawnani
http://www.webconfs.com
Reply With Quote
  #7  
Old 06-06-2007, 09:08 AM
modine modine is offline
Junior Member
 
Join Date: Jun 2007
Posts: 3
modine is on a distinguished road
Default

Thanks. I knew the meta stuff was not good for search engines. My Apache's Mod-Rewrite Rules are enabled. There must be something in the code that is redirecting every directory to the main site. The other 2 sites have their own domain names but when typed in the address bar, they pull up only the one site. I'm not sure what I'm doing wrong.

modine
Reply With Quote
  #8  
Old 06-06-2007, 10:43 PM
indianadministrator indianadministrator is offline
Senior Member
 
Join Date: Jul 2006
Location: India
Posts: 112
indianadministrator is on a distinguished road
Send a message via MSN to indianadministrator
Default are you sure for meta redirect

Hi dear friends
that meta tag i give you for the redirection are worked well with me and new redirect site is index very easly by the search engine, so i think this was good but the htaccess is more better then meta redirect as i listen by my seniors but they not told me whay htaccess is better can you give me some knowledge about the benefits of this redirect.

Thanks
Wind Ventilators
Reply With Quote
  #9  
Old 06-07-2007, 12:37 AM
motoxxx's Avatar
motoxxx motoxxx is offline
Evangelist
 
Join Date: Nov 2006
Location: WA State USA
Posts: 791
motoxxx has a spectacular aura aboutmotoxxx has a spectacular aura aboutmotoxxx has a spectacular aura about
Default

Can you just do it in the registrar? I do 301 redirects all of the time and don't have any problems doing them that way. I am even able to mask the domains and be indexed. Just a thought.
Reply With Quote
  #10  
Old 06-10-2007, 05:26 AM
amit's Avatar
amit amit is offline
Administrator
 
Join Date: Apr 2006
Posts: 409
amit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud ofamit has much to be proud of
Default

Quote:
Originally Posted by motoxxx
Can you just do it in the registrar? I do 301 redirects all of the time and don't have any problems doing them that way. I am even able to mask the domains and be indexed. Just a thought.

hmmmmmmmmmmmmm
For URL Making. these domain registrar;s justr open the destination URL in a frame. Thats not really SE friendly, as in it would not pass PR to the destination domain.

Give you give me an example of 1-2 of your domains? I'll get it checked up..

You should always try to check your redirection with the below tool
http://www.webconfs.com/redirect-check.php
__________________
Amit Bhawnani
http://www.webconfs.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 10:04 AM.

SEO   SEO   SEO Company  
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.