| :: |
| Author |
Message |
Sparrow

Joined: 03 Jan 2007 Posts: 36
|
Posted: Tue Jan 09, 2007 4:11 am Post subject: Suggest Me a Solution |
|
|
These are the Set of problems\confusions i am having and i would like some help Let me start:
1. As Suggested in another thread regarding the need of using 301 redirects for example.com to www.example.com
Would this in anyway affect my current listing ?
2.My Website is really forum but when i started it i used a sub folder for installing my forum ie www.dezibeatz.com is temporarily being redirected to
http://www.dezibeatz.com/forumdezibeatz using mod rewrite i think coz it was setup in C panel
That means a sample url after mod rewrite will look like :
| Code: | | http://www.dezibeatz.com/forumdezibeatz/xxxxxxx/xxxxx-xxx-xxx.html |
does the length of the URL matter in page rank ?
and does using forum in a sub folder matter in page rank ?
Should i Shift my forum to the main domain http://www.dezibeatz.com/
when i am going to change my hosting (very soon)
If i do shift could that zero redirection you mentioned on the other thread save my current listing ? |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
Posted: Tue Jan 09, 2007 11:56 am Post subject: Re: Suggest Me a Solution |
|
|
1) locking the www prefix in URLs won't affect you ranking, it will only make sure it is always used.
So as you're using it on your web site, the redirection will only concern the eventual links tested without it, preventing any duplicate of this type :
example.com/page.html vs -www.example.com/page.html
2) Your Cpanel redirection is very bad : http 302
You need something like :
| Code: |
RewriteRule ^([^forumdezibeatz /].+)(.*)$ http://www.example.com/forumdezibeatz /$2 [QSA,L,R=301] |
in your root's .htaccess to perform this redirection properly.
About moving your forum to the domain's root, well, there is no real need.
And you may need the root level to install a portal or something similar one day.
I advise you to wait a bit until the mod rewrite update, so that you'll be able to implement it easy, with proper http 301 redirection from old to new urls
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
Sparrow

Joined: 03 Jan 2007 Posts: 36
|
Posted: Tue Jan 09, 2007 3:39 pm Post subject: Re: Suggest Me a Solution |
|
|
| dcz wrote: |
| Code: |
RewriteRule ^([^forumdezibeatz /].+)(.*)$ http://www.example.com/forumdezibeatz /$2 [QSA,L,R=301] |
|
So Can I Implement this now ?
Or should i wait for the Mod Rewrite and then implement this with it ? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
Sparrow

Joined: 03 Jan 2007 Posts: 36
|
Posted: Tue Jan 09, 2007 7:02 pm Post subject: Re: Suggest Me a Solution |
|
|
| Code: |
RewriteRule ^([^forumdezibeatz /].+)(.*)$ http://www.example.com/forumdezibeatz /$2 [QSA,L,R=301] |
So I Should replace http://www.example.com with http://www.dezibeatz.com
right
thanx !! |
|
|
| Back to top |
|
 |
Sparrow

Joined: 03 Jan 2007 Posts: 36
|
Posted: Tue Jan 09, 2007 7:06 pm Post subject: Re: Suggest Me a Solution |
|
|
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dezibeatz.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at www.dezibeatz.com Port 80 |
|
|
| Back to top |
|
 |
Sparrow

Joined: 03 Jan 2007 Posts: 36
|
Posted: Tue Jan 09, 2007 7:13 pm Post subject: Re: Suggest Me a Solution |
|
|
I Set Up this in Cpanel instead for temporary use
| Code: | | RedirectMatch permanent ^/$ http://www.dezibeatz.com/forumdezibeatz/ |
My Current htaccess looks like this:
| Code: |
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://dezibeatz.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://dezibeatz.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dezibeatz.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.dezibeatz.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.malluhut.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.malluhut.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://malluhut.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://malluhut.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ http://www.dezibeatz.com [R,NC]
RedirectMatch permanent ^/$ http://www.dezibeatz.com/forumdezibeatz/ |
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
Sparrow

Joined: 03 Jan 2007 Posts: 36
|
Posted: Wed Jan 10, 2007 2:52 am Post subject: Re: Suggest Me a Solution |
|
|
Ok  |
|
|
| Back to top |
|
 |
|
|