Author Topic: seo mod issues  (Read 2088 times)

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv
seo mod issues
« on: November 18, 2009, 02:17:48 PM »
I have a rather popular website that i have successfully upgraded from version2 to v3. I am beginning to wonder if it was a wise thing to do. Dont get me wrong the script is great but...

I have found the difference in seo has all but killed the site. Everything that was indexed in the search engines has now been dramatically changed with the new seo formats. I have .php and .html pages where the old version was pretty consistant with html. My server logs are 404`s ville.

I have managed to re-direct en masse some of the more obvious problems but it seems i may have a loosing battle and i am now regretting wanting a "prettier website".

I will of course keep you up to speed with any change in traffic but i can say it has dropped by thousands of views per day to tens of views per day.

Fingers x`ed.
« Last Edit: December 05, 2009, 02:57:14 PM by frankie »

picdome

  • Full Member
  • ***
  • Posts: 381
but i hope soon google find the changes ..

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2336
but i hope soon google find the changes ..
Google will find the new videos etc, but they will all be seen as new links. This is not good for your SE rankings, any bookmarks, links back to videos will all be lost...

picdome

  • Full Member
  • ***
  • Posts: 381
yes but wht else we do  ???  . need to stay in v2  >:(

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2336
You can use 301 redirects in your .htaccess or with the PHP header() to redirect the links to the new ones this will limit the loss.

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv

I have thousands of "tags" indexed that are now obsolete.
Would it be wise to let them expire into the history of the internet, or should i put a noindex on the mysite.com/tag/ in my robots text. This will stop the bots crawling that directory but they will never forget it is there.

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2336
I'm not sure how long before search engines will consider the links dead. From reading this article http://netparticles.com/2009/07/20/how-to-quickly-remove-your-unwanted-links-googles-search-results it says that the link removal process may take a few months.

So it's worth trying to save them. Get some 301's setup to redirect to the correct tag links, you may not lose as much as you think. ;)

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv

So it's worth trying to save them. Get some 301's setup to redirect to the correct tag links, you may not lose as much as you think. ;)
I would love to but i do not believe it is possible with the new tag format.
Old tag = /tag/congress.html
New, ahem! tag = /search.php?type=videos&keyword=congress
How would i go about re-directing something that is a constant change, i could do em individually, but there are thousands :)

On another note, my pr dropped today, dropped links i can only assume.

And finally my condensed server stats. Every picture tells a story.



Thanks for the interest btw.

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2336
Add this to your .htaccess:
Code: [Select]
RewriteRule ^tag/(.*)\.html$ search.php?type=videos&keyword=$1 [R=301,QSA]after:
Code: [Select]
RewriteBase /Now try accessing yoursite.com/tags/congress.html & you should be redirected to the new page ;)

Edit: Updated "tags/" to "tag/"
« Last Edit: December 05, 2009, 07:54:43 AM by oac »

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv
I have tried several places for this re-direct and several formats. tag/ tags/ etc.
It loads index.php or page not found every time.
Also, there is no reference tp phpmotionv3 in my htaccess.



Code: [Select]
#
#*****************************************************************************************
# PHPMotion V3 Free Media-Sharing CMS
# PHPMotion Development Team
# http://www.phpmotion.com
# support@phpmotion.com
#*****************************************************************************************
#
#*****************************************************************************************
# Copyright (c) 2007-2008 phpmotion.com. All rights reserved.
#*****************************************************************************************

#----------------------------------------------------------------------------------------#
<Limit GET>
order allow,deny
allow from all
</Limit>
#----------------------------------------------------------------------------------------#

#----------------------------------------------------------------------------------------#

# uncomment this line to enable site wide gzip to increase load times
# may cause 500 server errors on servers running php in cgi mode
#---------------------------------------- GZIP BEGIN ------------------------------------#
 php_value output_handler ob_gzhandler
#---------------------------------------- GZIP END --------------------------------------#

#--------------------------------------- START SEO --------------------------------------#
Options +FollowSymlinks
RewriteEngine On

#----------- this is the directory where phpmotion is install ---------------------------#
#----- if phpmotion is installed in a sub directory edit the RewriteBase as follows -----#

# EXAMPLE => RewriteBase /your sub-directory name
# EXAMPLE => RewriteBase /videos

RewriteBase /


#------------------------------- do not edit below --------------------------------------#

RewriteRule \.(css|jpe?g|gif|png|flv|swf)$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# Main Menu Links #
RewriteRule ^videos/load/([^/]*)$ seemore.php?load=$1 [L]
RewriteRule ^videos/load/([^/]*)/([^/]*)$ seemore.php?load=$1&page=$2 [L]

RewriteRule ^audios/load/([^/]*)$ audio.php?load=$1 [L]
RewriteRule ^audios/load/([^/]*)/([^/]*)$ audio.php?load=$1&page=$2 [L]

RewriteRule ^audio/album/([^/]*)/([^/]*)$ audio.php?album=$1 [L]
RewriteRule ^audio/album/([^/]*)/([^/]*)/([^/]*)$ audio.php?album=$1&page=$3 [L]

RewriteRule ^blogs/load/([^/]*)$  blogs.php?load=$1 [L]
RewriteRule ^blogs/load/([^/]*)/([^/]*)$ blogs.php?load=$1&page=$2 [L]

RewriteRule ^albums/load/([^/]*)$ albums.php?load=$1 [L]
RewriteRule ^albums/([^/]*)/([^/]*)$ albums.php?load=$1&page=$2 [L]

RewriteRule ^people_ajax people_ajax.php [L]
RewriteRule ^people/([^/]*)/([^/]*)$ people.php?load=$1&page=$2 [L]
RewriteRule ^people people.php [L]
RewriteRule ^upload-media upload.php [L]

RewriteRule ^groups$ groups.php [L]
RewriteRule ^search search.php [L]

# Action Links #
RewriteRule ^videos/([^/]*)/([^/]*)$ play.php?vid=$1 [L]
RewriteRule ^audio/([^/]*)/([^/]*)$ play_audio.php?audio=$1

RewriteRule ^category/([^/]*)$ category_home.php?cid=$1 [L]
RewriteRule ^category/([^/]*)/([^/]*)$ category_home.php?cid=$1&page=$2 [L]

RewriteRule ^subcategory/([^/]*)/([^/]*)$ category_home.php?sub=$1 [L]
RewriteRule ^subcategory/([^/]*)/([^/]*)/([^/]*)$ category_home.php?sub=$1&page=$3 [L]

RewriteRule ^genre/([^/]*)$ genre_home.php?cid=$1 [L]
RewriteRule ^genre/([^/]*)/([^/]*)$ genre_home.php?cid=$1&page=$2 [L]

RewriteRule ^view-album/([^/]*)/([^/]*)$ album_view.php?album=$1
RewriteRule ^view-image/([^/]*)/([^/]*)$ album_view.php?image=$1
RewriteRule ^read_blog/([^/]*)/([^/]*)$ read_blog.php?id=$1 [L]

RewriteRule ^blogs/category/([^/]*)/([^/]*)$ blogs.php?cat_id=$1 [L]
RewriteRule ^blogs/category/([^/]*)/([^/]*)/([^/]*)$ blogs.php?cat_id=$1&page=$3 [L]

RewriteRule ^members/([^/]*)$  memberprofile.php?user=$1 [L]

#-------------------------------------------------------------#
# redirect directory browsing attempts
RewriteRule ^videos(.?)$ seemore.php [L]
RewriteRule ^audios(.?)$ audio.php [L]
RewriteRule ^blogs(.?)$ blogs.php [L]
RewriteRule ^members(.?)$ people [R=301]
RewriteRule ^albums(.?)$ albums.php [L]

#-------------------------------------------------------------#

#--------------------------------------- END SEO ----------------------------------------#

#--------------------------------------- SOME SIMPLE BLOCKS -----------------------------#
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteCond %{QUERY_STRING} SELECT(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} UNION(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteRule ^(.*)$ index.php [F,L]
#--------------------------------------- END BLOCKS -------------------------------------#

Options -Indexes

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

ErrorDocument 403 /403.php
ErrorDocument 404 /404.php
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^recession.tv$ [OR]
RewriteCond %{HTTP_HOST} ^www.recession.tv$
RewriteRule ^tv/?(.*)$ "http\:\/\/recession\.tv\/videos\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^www.recession.tv [NC]
RewriteRule ^(.*)$ http://recession.tv/$1 [L,R=301]

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2336
My bad  :P

The code I just posted was adapted to my installation, I've updated my post to the correct code.

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv
I am using "tag" instead of "tags" as i am sure this is right. The tag text is not being transfered to the search php.

oac

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2336
tp@n, could you pm me your ftp details. I'll see why it isn't working for you.

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv
tp@n, could you pm me your ftp details. I'll see why it isn't working for you.
Details in pm.

Cheers

tp@n

  • Jr. Member
  • **
  • Posts: 119
    • Recession tv
issues with seo mod
« Reply #14 on: November 29, 2009, 04:09:47 PM »
Would the rude moderator or admin that keeps changing the original thread subject please pm me the reason. Rude as hell!!
« Last Edit: December 05, 2009, 02:49:24 PM by frankie »