PDA

View Full Version : Search Engine Optimization


nikos_b
02-07-2010, 06:24 AM
Search Engine Optimization=yes

htaccess in the links gives me duplicate names in the url class
ie
url : http:/ /www.mysite/main-communities-18/main-communities-18/just4greek-15/
Not Found

The requested URL /links/main-communities-18/main-communities-18/just4greek-15/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

my htaccess:
Options +FollowSymlinks
RewriteEngine On

#RewriteBase /links

RewriteRule ^([a-zA-Z_0-9\-]+)/robots\.txt$ robots.txt [QSA,L]
RewriteRule ^whatsnew/links/([0-9]+)/page([0-9]+).html$ browselinks.php?do=newlinks&cutoffdate=$1&page=$2 [QSA,L]
RewriteRule ^whatsnew/links/(([0-9]?|-)+/?)$ browselinks.php?do=newlinks&cutoffdate=$1 [QSA,L]
RewriteRule ^whatsnew/posts/([0-9]+)/page([0-9]+).html$ browselinks.php?do=newposts&cutoffdate=$1&page=$2 [QSA,L]
RewriteRule ^whatsnew/posts/(([0-9]?|-)+/?)$ browselinks.php?do=newposts&cutoffdate=$1 [QSA,L]
RewriteRule ^whatspopular/([a-zA-Z_0-9\-]+)/$ browselinks.php?do=poplinks&orderby=$1 [QSA,L]
RewriteRule ^members/([a-zA-Z_0-9\-]+)/page([0-9]+).html$ browselinks.php?do=member&userrewrite=$1&page=$2 [QSA,L]
RewriteRule ^members/(([a-zA-Z_0-9]|-)+/?)$ browselinks.php?do=member&userrewrite=$1 [QSA,L]
RewriteRule ^([a-zA-Z_0-9\-]+)/(([a-zA-Z0-9]|-)+)/?$ showlink.php?linkrewrite=$2&catrewrite=$1 [QSA,L]
RewriteRule ^([a-zA-Z_0-9\-]+)/([a-zA-Z0-9\-]+)/page([0-9]+).html$ showlink.php?linkrewrite=$2&catrewrite=$1&page=$3 [QSA,L]
RewriteRule ^([a-zA-Z_0-9\-]+)/page([0-9]+).html$ browselinks.php?catrewrite=$1&page=$2 [QSA,L]
RewriteRule ^([a-zA-Z_0-9\-]+)/?$ browselinks.php?catrewrite=$1 [QSA,L]

what changes should I do?

Thanks

nikos_b
02-07-2010, 08:02 AM
Corrected

Thanks