Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

SEO Tycoon


You are currently viewing our SEO Tycoon as a guest. Please register to participate.
Login



Freelance Jobs

Reply
caconical error of domain
Old 03-02-2011, 12:11 AM caconical error of domain
Banned

Posts: 242
Name: Vijay.Seo
Location: Delhi,India
Trades: 0
Hi all,

there are some of my projects...
maxfortrelocation.com/
shainex.com/
internationalmoverspackersindia.com/
Now i want that my these sites should open only on this proper addresses..
if sumone type like this :- shainex.com/index.php or shainex.com

it should automatically redirect on this page:-
www shainex.com/

i mean the loading page should be only
www maxfortrelocation.com/
www shainex.com/
www internationalmoverspackersindia.com/

Can u pls give me that code by wich i can redirect them...
I want to apply the same on folders also...

Last edited by chrishirst; 03-02-2011 at 10:06 AM.. Reason: Live links removed for your own good!!
seo.vijay is offline
Reply With Quote
View Public Profile Visit seo.vijay's homepage!
 
 
Register now for full access!
Old 03-02-2011, 03:12 AM Re: caconical error of domain
Skilled Talker

Latest Blog Post:
Supa de cartofi
Posts: 61
Name: Alex
Trades: 0
Options +FollowSymLinks
DirectoryIndex index.php

RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.domain.com/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
crama09 is offline
Reply With Quote
View Public Profile Visit crama09's homepage!
 
Old 03-02-2011, 04:12 AM Re: caconical error of domain
StoneWilson's Avatar
Extreme Talker

Posts: 234
Name: StoneWilson
Trades: 0
You can set 301 redirection, write a .htaccess document, and upload it to your host(in root category). I recently met the same problem, and i fixed it.
__________________

Please login or register to view this content. Registration is FREE
→ My style Blog
StoneWilson is offline
Reply With Quote
View Public Profile
 
Old 03-02-2011, 09:14 AM Re: caconical error of domain
Average Talker

Posts: 17
Trades: 0
Quote:
Originally Posted by StoneWilson View Post
You can set 301 redirection, write a .htaccess document, and upload it to your host(in root category). I recently met the same problem, and i fixed it.

Also make sure that your hosting provider allows to modify the mod rewrite file.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
m112 is offline
Reply With Quote
View Public Profile Visit m112's homepage!
 
Old 03-02-2011, 10:02 AM Re: caconical error of domain
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
BTW it is NOT an "error" if you do nothing at all to redirect the various URI forms search engines will figure it out and only use one form.

http://www.highrankings.com/forum/in...showtopic=5644
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-02-2011, 10:05 AM Re: caconical error of domain
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
AND
to redirect where the file name is in the HTTP Request

Code:
# Force requests for named index files to drop the index file filename, and force www:
#
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]*/)*index\.(html?|php)(\?[^\ ]*)?\ HTTP/
RewriteRule ^(([^/]*/)*)index\.(html?|php)$  http://www.url.com/$1  [R=301,L]
#
# Redirect non-www to www:
#
RewriteCond %{HTTP_HOST}   ^url\.com                     [NC]
RewriteRule  (.*)           http://www.url.com/$1        [R=301,L]
Change "url.com" to your domain name
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-02-2011, 10:08 AM Re: caconical error of domain
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,385
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
AND

Don't come back in a few weeks asking "can my clients domain name be removed" because this thread is outranking their website!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to caconical error of domain
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26551 seconds with 12 queries