| abdulbasit :) | |
Posted: 11/24/2007 4:54 AM |
|
|
|
|
Citation |
Posts |
1253 |
Word Cnt. |
68,166 |
BDay |
Nov 9 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Jan 06, 2006
Local time: 5:32 PM
|
|
|
|
|
|
Hi!
I wonder if you would be able to help me.
I read about setting up a permanent redirect / "301" redirect.
I've read it can be done using .htaccess but I'm not sure what i need to put, the examples I read aren't very clear.
Thanks |
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/24/2007 10:47 AM |
|
|
|
|
Citation |
Posts |
1017 |
Word Cnt. |
64,643 |
BDay |
Apr 18 |
Sign |
Aries |
Sex |
|
|
|
|
Joined: Apr 01, 2007
Local time: 9:32 PM
Location: UNITED ARAB EMIRATES
|
|
|
|
|
|
I have done with the help of MOD-REWRITE which changes the normal URL into search engine friendly / SEO URL's
If you need that MOD for your phpBB, I can provide you
If you are trying to redirect on some other website, then I would recommend you to read this article which will almost help you out from this problem.
http://www.gnc-web-creations.com/301-redirect.htm
|
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/24/2007 11:23 AM |
|
|
|
|
Citation |
Posts |
1253 |
Word Cnt. |
68,166 |
BDay |
Nov 9 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Jan 06, 2006
Local time: 5:32 PM
|
|
|
|
|
|
Using the site RB posted it suggested redirecting links that go to babydreamz.net to www.babydreamz.net or vice versa, so its not actually going to a different site, just pointing all my links to the full url - if that makes sense?
Quote:
|
Search engines often regard www.babydreamz.net and babydreamz.net as two different websites unless you take specific measures to signal to them that they are the same site.
The best way to handle this situation is to setup what is known as a permanent redirect (or a "301" redirect) from one of these sites to the other. This way, any links that are pointing to the secondary site benefit the primary site, from an SEO perspective.
|
|
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/24/2007 12:55 PM |
|
|
|
|
Citation |
Posts |
1017 |
Word Cnt. |
64,643 |
BDay |
Apr 18 |
Sign |
Aries |
Sex |
|
|
|
|
Joined: Apr 01, 2007
Local time: 9:32 PM
Location: UNITED ARAB EMIRATES
|
|
|
|
|
|
For the same purpose I am talking to my host for my website www.funwadi.com and they did redirection but got some problem in between.
Once they have done it successfully and it's working fine, I will let you know what exactly the codes you have to add in .htaccess file because the redirection will happen through .htaccess
The same above message comes for my site too! |
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/24/2007 1:15 PM |
|
|
|
|
Citation |
Posts |
1017 |
Word Cnt. |
64,643 |
BDay |
Apr 18 |
Sign |
Aries |
Sex |
|
|
|
|
Joined: Apr 01, 2007
Local time: 9:32 PM
Location: UNITED ARAB EMIRATES
|
|
|
|
|
|
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/24/2007 2:01 PM |
|
|
|
|
Citation |
Posts |
1253 |
Word Cnt. |
68,166 |
BDay |
Nov 9 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Jan 06, 2006
Local time: 5:32 PM
|
|
|
|
|
|
Ooh I just looked and I have this in my .htaccess already
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?babydreamz\.net/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
What do I do now, is it ok to add your code as well or will that mess everything up? |
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/24/2007 11:37 PM |
|
|
|
|
Citation |
Posts |
1017 |
Word Cnt. |
64,643 |
BDay |
Apr 18 |
Sign |
Aries |
Sex |
|
|
|
|
Joined: Apr 01, 2007
Local time: 9:32 PM
Location: UNITED ARAB EMIRATES
|
|
|
|
|
|
The code which is already there in your .htaccess file is different from the one I gave you. Make a backup of your .htaccess file and then add my code in your .htaccess file to see if it works or not and let me know what happens |
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/25/2007 6:15 AM |
|
|
|
|
Citation |
Posts |
1253 |
Word Cnt. |
68,166 |
BDay |
Nov 9 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Jan 06, 2006
Local time: 5:32 PM
|
|
|
|
|
|
Thank you I will! I wasn't sure if I coud add your too, but I will and let you know what happens |
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/25/2007 6:47 AM |
|
|
|
|
Citation |
Posts |
1017 |
Word Cnt. |
64,643 |
BDay |
Apr 18 |
Sign |
Aries |
Sex |
|
|
|
|
Joined: Apr 01, 2007
Local time: 9:32 PM
Location: UNITED ARAB EMIRATES
|
|
|
|
|
|
Okay, good |
|
|
|
|
Back to Top |
|
|
| Re: abdulbasit :) | |
Posted: 11/25/2007 1:51 PM |
|
|
|
|
Citation |
Posts |
1253 |
Word Cnt. |
68,166 |
BDay |
Nov 9 |
Sign |
Scorpio |
Sex |
|
|
|
|
Joined: Jan 06, 2006
Local time: 5:32 PM
|
|
|
|
|
|
AFAIK its working perfectly! I ran my site through RB's link and I didn't get that message so it must be redirecting
Thank you! |
|
|
|
|
Back to Top |
|
|
| Information | |
|