[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 1134: Undefined array key "S_ABBC3_RESIZE"
IntegraMOD • View topic - SEO
Page 1 of 2

SEO

PostPosted: Sat Apr 12, 2008 11:45 am
Author: Helter
Here is an SEO (Search Engine Optimization) mod that is compatible with IM1.4.x
Due to the many requests for this, I have been looking for a basic SEO mod that is easy to install and compatible with CH. I found and edited one that may suit your needs. As always, please backup all files to be modified before adding this mod.

*I have also included premodified files - these are not necessary if you do the file edits yourself

*EDIT* for the first two users who dl'd this. there is an error in includes/page_header. You will notice this on logout. I have fixed the premodded files. If you used the file edits, you will be unaffected

Re: SEO

PostPosted: Tue Apr 15, 2008 2:13 am
Author: obiku
Nice one, and I will get into this.
But, this one only has affect on the forum, and postings. How about the album mod, Knowledgebase, statistics and other mods. Is it hard to use this MOD for the other Mods?

Re: SEO

PostPosted: Tue Apr 15, 2008 6:13 am
Author: Helter
i have not looked into expanding the mod to other areas. The only one im aware of that currently works for fap is here
http://downloads.phpbb-seo.com/smartor- ... ap-30.html
this mod a different mod, but might be usefull for comparison

Re: SEO

PostPosted: Wed Apr 16, 2008 7:58 am
Author: CaNNon
I have one of those dl's, thanks I'll get fresh copy before i try it. <img>

PostPosted: Thu Apr 17, 2008 4:51 am
Author: sanji
Has anyone tried that SEO stuff? I tried to install it, but half of the modifications are done in parts of the files that are commented! There must be a problem here...

sanji

Re: SEO

PostPosted: Mon May 12, 2008 8:27 am
Author: dropstarz
since i havn't added any mods to my site except the interga mod i just used your premoded files which seems to be fine but i think theres a site structure problem when i click on a topic on the forums i get a file not found

http://www.dropstarz.com/index.php if you can take a look please it seems to be the only problem.

Re: SEO

PostPosted: Mon May 12, 2008 11:24 am
Author: obiku
It looks like your SEO Mod is not working correct.

Either, you did the edits, and forgot something. Or if you only downloaded the IntegraMOD pack over here, and installed it, there maybe a part of code which is missing.

I do not know if the SEO was already added to the code.

Re: SEO

PostPosted: Mon May 12, 2008 4:10 pm
Author: dropstarz
i never moded the code i just used the premoded files and uploaded them <img>

Re: SEO

PostPosted: Mon May 12, 2008 5:35 pm
Author: sanji
"dropstarz";p="33104" wrote:since i havn't added any mods to my site except the interga mod i just used your premoded files which seems to be fine but i think theres a site structure problem when i click on a topic on the forums i get a file not found

http://www.dropstarz.com/index.php if you can take a look please it seems to be the only problem.


I would say that the error is in the .htaccess file... Your links are changed properly, for example, first forum (Introductions), the link to the last post is http://www.dropstarz.com/whats-good-t3.html#16

If you click on it, you get
The requested URL /dropstarz/viewtopic.php was not found on this server.


Shouldn't that link be /viewtopic.php, in the root directory? Do you use a subfolder for your forum or is it in the root of your site??

sanji

Re: SEO

PostPosted: Mon May 12, 2008 6:02 pm
Author: dropstarz
i have my site in a sub folder on my web host, because i also have another site hosted there. I bought premium hosting so i can develop mulitple sites. so all my files are in a folder called dropstarz

PostPosted: Mon May 12, 2008 6:13 pm
Author: sanji
Can you post - or send me by pm - the part of the htaccess file which you added for this SEO?

sanji

Re: SEO

PostPosted: Mon May 12, 2008 7:41 pm
Author: dropstarz
my htaccess file

DirectoryIndex index.html portal.php index.php
# SEO phpBB
<Files>
Order Allow,Deny
Deny from All
</Files>
<Files>
Order Allow,Deny
Deny from All
</Files>

RewriteEngine On

# Forum
RewriteCond %{REQUEST_FILENAME} /(.*)-f([0-9]*).html
RewriteRule (.*) viewforum.php?f=%2 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-f([0-9]*)-s([0-9]*).html
RewriteRule (.*) viewforum.php?f=%2&start=%3 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-f([0-9]*)-p([0-9]*)-s([0-9]*).html
RewriteRule (.*) viewforum.php?f=%2&topicdays=%3&start=%4 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-f([0-9]*)-p([0-9]*).html
RewriteRule (.*) viewforum.php?f=%2&topicdays=%3 [L]


#topic
RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%2 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*)-s([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%2&start=%3 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*)desc.html
RewriteRule (.*) viewtopic.php?t=%2&&postorder=desc [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*)-p([0-9]*)-s([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%2&postdays=%3&postorder=asc&start=%4 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*)-p([0-9]*)desc-s([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%2&postdays=%3&postorder=desc&start=%4 [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*)-p([0-9]*)desc.html
RewriteRule (.*) viewtopic.php?t=%2&postdays=%3&postorder=desc [L]

RewriteCond %{REQUEST_FILENAME} /(.*)-t([0-9]*)-p([0-9]*).html
RewriteRule (.*) viewtopic.php?t=%2&postdays=%3&postorder=asc&start=0 [L]

Re: SEO

PostPosted: Mon May 12, 2008 9:26 pm
Author: sanji
"dropstarz";p="33115" wrote:so all my files are in a folder called dropstarz


Are you really sure?

Google gives a typical link on your site as : http://www.dropstarz.com/viewtopic.php?t=8

So I would guess that the viewtopic.php file should be in the root, not in a "dropstarz" folder.

Indeed, http://www.dropstarz.com/viewtopic.php?t=8 exists (but redirect makes it invalid) while http://www.dropstarz.com/dropstarz/viewtopic.php?t=8 does not exist at all...

Can you try to change your htaccess file to have all links like :
Code: Select all
 RewriteRule (.*) viewforum.php?f=%2&  


to become (with http]  RewriteRule (.*) http://www.dropstarz.com/viewforum.php?f=%2&  [/code]

sanji

Re: SEO

PostPosted: Tue May 13, 2008 5:33 am
Author: dropstarz
yea iam 100 percent positive all my files are in the folder called dropstarz

PostPosted: Tue May 13, 2008 5:40 am
Author: sanji
Sorry, then, I am running out of ideas...

Hopefully somebody else will have a better guess.

sanji