|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
How exactly are you trying to redirect??
Can you paste your code here ? |
|
#3
|
|||
|
|||
|
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/ |
|
#4
|
|||
|
|||
|
Quote:
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. |
|
#5
|
||||
|
||||
|
Quote:
Search Engines do not follow meta redirects... |
|
#6
|
||||
|
||||
|
Quote:
You may need to contact your hosting provider and confirm that you have Apache's Mod-Rewrite Rules enabled. |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
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 |
|
#9
|
||||
|
||||
|
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.
|
|
#10
|
||||
|
||||
|
Quote:
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 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|