phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
301 redirects for old urls

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
::  
Author Message
krishmk



Joined: 04 Mar 2007
Posts: 6

301 redirects for old urlsPosted: Thu Mar 08, 2007 6:12 am    Post subject: 301 redirects for old urls

I installed seo mixed mod rewrite a couple of days back.
My site is a new one. Infact I submitted to search engines 10 days back. Yahoo, google and msn have indexed my home page along with 3 or 4 sub pages. The indexed page have the session ID.

As now I had taken off the session IDs for guest and blocked it from robots.txt, do I still need to install Zero duplicate mod?

If so, how to I download the zero duplicate mod, it doesn't allows to download, though i could see a download image.

By the way, I also have added sitemap (145 urls without session ids - and all html pages) which is been downloaded by google without any errors.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

301 redirects for old urlsPosted: Thu Mar 08, 2007 2:27 pm    Post subject: Re: 301 redirects for old urls

And welcome Very Happy

Have you tried while logged in ?

_________________
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
Visit poster's website
krishmk



Joined: 04 Mar 2007
Posts: 6

301 redirects for old urlsPosted: Fri Mar 09, 2007 9:04 am    Post subject: was able to download it.

Hi,
I was able to download the zero duplicate mod now.
I read in google help that I could create static copies of dynamic urls, as far as I block them using robots.txt, it wont consider them as duplicate contents.

Do I still need to use this zero duplicate mod?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

301 redirects for old urlsPosted: Fri Mar 09, 2007 2:28 pm    Post subject: Re: 301 redirects for old urls

Well yes, because the zero duplicate is doing a lot more than a robots.txt can.

First, it's absolute, no matter how well bots will deal with your robots.txt, they just won't be able to index any duplicate.
For example, if someone posts a links to a forum, with typos in the url, the created duplicate will be taken care of : http://www.phpbb-seo.com/boards/many-duplicate-vf45/ which would not be the case without it.

Additionally, it wil redirect links with SIDs for guests, will check the pagination parameter consistency, unlike here for now (Laughing still need to install the last version here) http://www.phpbb-seo.com/boards/phpbb-seo-mods-vf32-27/ would be redirected to http://www.phpbb-seo.com/boards/phpbb-seo-mods-vf32-25/ eg the closest valid start parameter.

And, it's the only way to keep all previous backlinks and indexed url while implementing a new url standard. If you add the vanilla url indexed, the zero dupe will tell bots what is the new url to consider on a per case basis so that bots won't have any trouble to deal with the new urls.

Last but not least, it's kind of a great security enhancement, as the principle is to only allow some POST and GET vars, if someone tries to add POST and/or GET vars to try to inject some code, it's will be in most cases http 301 redirected very early in the script.

So all together this makes this mod a must IMHO.

++

_________________
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
Visit poster's website
krishmk



Joined: 04 Mar 2007
Posts: 6

301 redirects for old urlsPosted: Sat Mar 10, 2007 6:29 am    Post subject: Thanks

Thanks for the explanation. Will make a try!
Back to top
krishmk



Joined: 04 Mar 2007
Posts: 6

301 redirects for old urlsPosted: Sat Mar 10, 2007 8:22 am    Post subject: problem with zero dup. mod

I successfully installed the zero duplicate mod. (mixed seo mod) for my forum
HostingsIndia[dot]com

Everything seems to work fine. I checked my indexed pages in google which have the session id, they are being redirected as expected.

But I am having a major problem when I try to log in to my account using Mozilla Firefox 2.0. As a guest I can view the (home page). When I log in its just a blank page. If I hit the back button, and click on the top menus (eg. member list, profile or user groups) I see that I am in "logged in" mode.

2) If I type mysite.com/index.php >>> its again a blank page. (in firefox)

Amazingly both seem to work fine in IE
Logging in (and)
mysite.com/index.php >>> points to >>> mysite.com/

how do I correct this?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

301 redirects for old urlsPosted: Sat Mar 10, 2007 12:47 pm    Post subject: Re: 301 redirects for old urls

It's a problem with the index.php redirection : http://www.hostingsindia.com/index.php

As you can see, the redirect location is empty.

The headers are correct : http://www.hostingsindia.com/big-duplicate-f1.html, but again the redirect location does not mention the full url.

Looks like the $phpbb_seo->seo_path['phpbb_url'] is either empty or not present in index.php

So double check the code changes in index.php, and make sure about the code change you've made in common.php when installing the mod rewrite, the code position is very important here, if you have doubts, just past the code at the very end of common.php, just before "?>".

++

_________________
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
Visit poster's website
krishmk



Joined: 04 Mar 2007
Posts: 6

301 redirects for old urlsPosted: Sun Mar 11, 2007 5:34 am    Post subject: It works now

I checked the common.php and index.php files. Everthing appeared to be fine.
Finally I looked in phpbb_seo_class.php. Under the URL settings

changed 'index' => ' '

to

'index' => 'index.php'

Now it works fine.

mysite.com/ redirects to mysite.com/index.php (301 redirect - hope that ain't a problem)

It also resolved one more error. Previously in topic and forum pages, the "forum index" link was pointing out to the same page instead of the home page. (only in firefox). But now it works fine as well.

Finally I am able to login to my account thru firefox.

Thanks for your support.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

301 redirects for old urlsPosted: Mon Mar 12, 2007 2:48 pm    Post subject: Re: 301 redirects for old urls

So yes, everything is working now, but you still have $phpbb_seo->seo_path['phpbb_url'] empty.

The index link :

Code:
<a href="index.php" class="nav">HostingsIndia.com Forum Index</a>


Should here mention the full URL, and that's the same with the redirection, they here work, but do not mention the full URL.

It's no big deal, but still, you should check you forum acp settings : domain name (should be "www.hostingsindia.com") and script path (should be "/").

If it's not enough, just open phpbb_seo/phpbb_seo_class.php and find :

Code:
      $this->seo_path['phpbb_url'] = $this->seo_path['root_url'] . $this->seo_path['phpbb_script'];


replace with :

Code:
      $this->seo_path['phpbb_url'] = 'http://www.hostingsindia.com/';


It will still be better to keep the url hard-coded than empty.

++

_________________
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
Visit poster's website
krishmk



Joined: 04 Mar 2007
Posts: 6

301 redirects for old urlsPosted: Fri Mar 16, 2007 9:56 am    Post subject: Gotcha!

Thanks for guiding me on that.
I did see that it points only to the file name "pagetitle.html" as pointed out by you.
Now I made the necessary changes as suggested by you and shows the full url:
-http://site.com/pagetitle.html (with 301 redirection)

Now it works fine (finally......)

BTW, last week sunday, my ftp account was compromised and some of the files were replaced. I had to replace all those things.

Thanks a lot.
Laughing
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15414

301 redirects for old urlsPosted: Fri Mar 16, 2007 1:18 pm    Post subject: Re: 301 redirects for old urls

You're welcome Wink

As well, I think you should take care of the www prefix duplicate, it simple and really useful Wink

++

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Mixed mod rewrite
Page 1 of 1

Navigation Similar Topics

Jump to: