Recently I moved my site over to a new server. Apart from being a complete disaster the format of my SEO urls changed As both styles of URLS work ok I am concerned that it may be view as duplicte content Here is an example of the urls http://www.jbosolutions.co.uk/monitorsdisplaystftmonitors-c-77_24.html the new http://www.jbosolutions.co.uk/monitors-displays-tft-monitors-c-77_24.html both go to the same page. Will i get penalised and what can I do about it? Thanks a lot
301 redirect one to the other, that will be considered duplicate content. Add the below code into your .htaccess file where these files are located. Redirect 301 /oldpage.html http://www.samedomain.html/newpage.html or Redirect permanent /oldpage.html http://www.samedomain.html/newpage.html
IF both of your URLs present the same content to spiders than yes it is considered duplicate content. Redirect 301 (as the above members advised) will resolve your problem (within a short period).
Thanks for the responses here is what I added Redirect 301 /monitorsdisplaystftmonitors-c-77_24.html http://www.jbosolutions.co.uk/monitors-displays-tft-monitors-c-77_24.html but the url I now get is http://www.jbosolutions.co.uk/monitors-displays-tft-monitors-c-77_24.html?cPath=77_24 previous in my htaccess files is this # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} Code (markup): Which could have something to do with it? So this hasnt solved my issue as I still have 2 urls pointing to the same content. THanks a lot
The reason you are still having a problem is because the String 77-24 is being re written already by htaccess. So your htaccess is rewriting your URL to xxxyyy 77-24 and then you are adding a 301 redirect to permanently redirect the rewritten URL. Can you outline what each segment of the URL relates to and it will be much easier to help you correct the rewrite rules. Also, is your site still live on the old server? or is it that you can access both formats of the URL on the new server? more info needed. Also/ Is this an off the shelf shopping cart software or custom? Are these categories? monitors- displays- tft- monitors- c-77_24.html ps// I feel for you having moved my sites in the past and had a nitemare. I went and got my own dedicated servers after that experience so I can set them up just how I want each time or on any hardware.
Thanks and yes, It has been the most stressful part of the whole business! Hopefully its nearly getting sorted now. ok Firstly this is an oscommerce store and the mod is Ultimate SEO urls which is quite popular. Yes what you have mentioned is the categories but I believe what is important here is the end - the -c indicates a categories the 77_24 is the reference number for the categories. the 77 is the category for monitors and the 24 is a sub category for TFT monitors. If you leave the whole url intact and just change the 24 to 40 you will see a different sub category of monitors. I believe what is wirtten before the c etc - i.e the tft-monitors etc is irrelevant to the functionality. And I do not have the old server up and running - it is just that as both urls have the same ending -c-77_24.html they show the same thing. The site is about 18 months old now and I have spent loads of time and effort getting links to the older style categories. Of course my main concern here is its now going to be viewed as duplicate content. Thanks a lot for your time