Results 1 to 10 of 13
-
28th Aug 2010, 11:17 AM #1OPOH GOD!!!!!Website's:
HotNewHipHop.comDomain Redirect?
Let's say I have a domain name called
ILOVEKWWH.COM
and have pages already indexed on google, Example:
iloveKWWH.com/esoexposed
iloveKWWH.com/howtohackKWWH
iloveKWWH.com/welovewarez
etc.
but lets say i wanted to redirect that domain and its indexed pages to a new domain? ( I know how to redirect domain but not its indexed pages etc)
Lets say my new domain is ihateKWWH.com
For example if someone types in their browser/or click this link on google: iloveKWWH.com/esoespoxed I would like them to get redirected to ihateKWWH.com/esoexposed instead of redirecting just to the new domain.
what should i put on the .htacess file?
/noobbxflow Reviewed by bxflow on . Domain Redirect? Let's say I have a domain name called ILOVEKWWH.COM and have pages already indexed on google, Example: iloveKWWH.com/esoexposed iloveKWWH.com/howtohackKWWH iloveKWWH.com/welovewarez etc. Rating: 5
-
28th Aug 2010, 11:18 AM #2Member
Try from cPanel
-
28th Aug 2010, 11:20 AM #3OPOH GOD!!!!!Website's:
HotNewHipHop.comwow its a 301 redirect, I think
im a noob.
-
28th Aug 2010, 11:25 AM #4
-
29th Aug 2010, 04:24 AM #5OPOH GOD!!!!!Website's:
HotNewHipHop.comnot working through Cpanel..
anybody knows the exact code?
-
29th Aug 2010, 04:32 AM #6Member301 .htaccess redirect. The safest way to redirect to another domain.
Read it here:
http://www.tamingthebeast.net/articl...1-redirect.htm
-
29th Aug 2010, 04:34 AM #7OPOH GOD!!!!!Website's:
HotNewHipHop.comwouldnt that be redirecting just the /blahblah.html instead of iloveKWWH.com/sex to ihateKWWH.com/sex
-
29th Aug 2010, 04:48 AM #8Member
So, you are talking about other thing now, just add same mod_rewrite in the .htaccess file on the new server where are the new files.
At the first site, you have
blabla.html , but It's converted into a friendly URL via mod_rewrite.
RewriteRule ^whatthefuck([\/_-])?$ whatthefuck.html
-
29th Aug 2010, 04:54 AM #9OPOH GOD!!!!!Website's:
HotNewHipHop.comthere is no new server. i basically want to replace one current domain.
lets say my main site is iloveKWWH.com but i want to replace it to ihateKWWH.com
thats easy, but that means all my other indexed files will be gone so instead of losing them make them get redirected to ihateKWWH.com
so when someone clicks on google a link named iloveKWWH.com/ilikeyou i would like them to get redirected to ihateKWWH.com/ilikeyou, not just ilikeyou but every other single link under that domain to get redirected
EDIT: I got, the code that works is the one below. but i also must make a new directory etc, I thought i could of just replace the current directory but its all good
RewriteRule ^(.*)$ http://www.new.com/$1 [R=301,L]
-
29th Aug 2010, 05:10 AM #10Member
I really don't know, only safe way I know is 301 redirect. So basically, let me understand this.
You got.
ImmortalChickensAttack.com
There are 3 files on that site:
chicken.html
savior.html
drdre.html
And they are converted to pretty URL's via mod_rewrite, as I see you are always typing the "name" without .html extension. And you want to redirect ImmortalChickensAttack.com on:
DogsAreGods.com on which it will be same like on your site (with pretty URL's.)
This .htaccess should be on ImmortalChickensAttack.com:
RewriteEngine on
Options +FollowSymLinks
RewriteRule ^chicken([\/_-])?$ chicken.html
RewriteRule ^savior([\/_-])?$ savior.html
RewriteRule ^drdre([\/_-])?$ drdre.html
redirect 301 "/chicken.html http://www.dogsaregods.com/chicken.htmlredirect 301 "/savior.html" http://www.dogsaregods.com/savior.html
redirect 301 "/drdre.html" http://www.dogsaregods.com/drdre.html
And you need to have those files on another domain, if you just changed your sites link.
This should be .htaccess on DogsAreGods.com:
RewriteEngine on
Options +FollowSymLinks
RewriteRule ^chicken([\/_-])?$ chicken.html
RewriteRule ^savior([\/_-])?$ savior.html
RewriteRule ^drdre([\/_-])?$ drdre.html
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
how to redirect old domain to new domain in nginx? but...
By bachbell in forum Server ManagementReplies: 2Last Post: 29th Oct 2012, 02:14 PM -
Preferred Domain - 301 redirect - Question???
By shaun_shaun in forum Technical Help Desk SupportReplies: 2Last Post: 10th Feb 2012, 09:16 AM -
How to Redirect a Domain to Subdomain ? Help needed
By AJ Blacklisted in forum Webmaster DiscussionReplies: 6Last Post: 24th May 2011, 07:47 AM -
Does backlinks help if we redirect the backlinked domain to other domain?
By vorazeal in forum Webmaster DiscussionReplies: 4Last Post: 15th Nov 2010, 04:28 AM
themaLeecher - leech and manage...
Version 5.03 released. Open older version (or...