Jump to content
Latest News: (loading..)

douglaswalker

Members
  • Content count

    382
  • Joined

  • Last visited

  • Days Won

    6

douglaswalker last won the day on July 26 2017

douglaswalker had the most liked content!

2 Followers

About douglaswalker

  • Birthday 04/30/1967

Profile Information

  • Real Name
    Doug
  • Gender
    Male
  • Location
    Western Australia

Recent Profile Visitors

15,406 profile views
  1. douglaswalker

    product reviews google indexing

    Thank you I have implemented all those things on the reviews pages Unique title ✔️ <link rel="canonical" href="https://www.site.co m.au/product_reviews.php?products_id=the id" /> ✔️ Unique description ✔️ I did this by modifying the product_ title header tags contribution (gburton) I have in my shop and the canonical tag which is standard in BS shops. If anyone is interested I can share the code.. but i have quite a modified shop so it may be different from yours Doug
  2. douglaswalker

    product reviews google indexing

    I have done a bit more digging The reviews are still indexed but there is now a reporting difference apparently to do with mobile indexing. looks like they are not there but they are (go figure) The canonical products I was seeing were discontinued products which were rightly redirected to reviews.php or should they really be 404's I would still like opinions on making the review title tags unique as in Review | Product Name at the moment they all have the same generic tag. also would i be right in thinking that a canonical tag to sort out the review urls would be good eg on the https://www.site.com.au/product_reviews.php?products_id=43 page I should have the canonical tag <link rel="canonical" href="https://www.site.com.au/product_reviews.php?products_id=551" />
  3. douglaswalker

    product reviews google indexing

    (sorry in my above post I said product_reviews Was The canonical I meant reviews. php ) . I have the info from the new tool You mention.... Google itself has recognised reviews.php as the canonical for product_reviews.php. I don't specify a caniconal tag
  4. douglaswalker

    product reviews google indexing

    A little update I worked out how to give the reviewed product its own title so on the product_reviews.php page I now have as the title Review | Name of Product The name of the product is the same as the name on the product_info page with Review added... Do you think this is a good idea? or is it to similar to the product title on the product_info page. Ideally i would like to have the one of the reviews in the product description for the page but i need to work out how to do that. I use header tags reloaded addon Should the page also carry a rel - canonical Doug
  5. douglaswalker

    product reviews google indexing

    Hi there, I have noticed in Webmaster tools that most of my product_reviews (over 1000) have been de-indexed by google as google is recognizing product_reviews.php as the canonical tag. Therefore for example: product_reviews.php?products_id=43 with all the review information is now not indexed and product_reviews.php is in its place. How can i get google to see that product_reviews.php?products_id=43 is a legitimate page with useful information on it. All help appreciated Doug☺️
  6. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @Jack_mcs Yep it is back in and all working thank-you
  7. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @MrPhil Just before you posted I ended up with this (see below) and realised I had removed the important bit (slaps head DOH) I have tested all the permutations and I only get one 301 redirect for each option with or without index.php So very happy... Could you explain a little more about removing the pki stuff .... how would they be triggered.. also the path they follow goes to an empty file also. RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^index\.php$ https://www.site.com.au/ [R=301,L] RewriteCond %{HTTPS} !on RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.site.com.au/$1 [R=301,L] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.site.com.au/$1 [R=301,L]
  8. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    I think we are talking at cross purposes this code RewriteCond %{HTTP_HOST} ^www\. [NC]RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] redirects to https This code tells the search engines that index.php and https://www.domain.com.au are the same page RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^index\.php$ https://www.domain.com.au/ [R=301,L]
  9. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    The code the host adds is from Cpanel for https Jack helpfully linked to the answer about it above. I understand I only need something like the code you posted but i also need to redirect index.php to https://mysite.com.au as well as I explained above. For some reason the code I posted is failing to swap when www is used... all other things are working
  10. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @Jack_mcs Still testing here The code below fails to redirect to https when www.domain.com.au is entered it redirects for non-www RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^index\.php$ https://www.domain.com.au/ [R=301,L] RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L]
  11. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @Jack_mcs I think i have it ..after having a good look at the link you offered on the cpanel forum RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^index\.php$ https://www.domain.com.au/ [R=301,L] RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L]
  12. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @Jack_mcs If the code below is not at the top then won't everything get directed to https before the bot has a chance to follow http RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9]
  13. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @Jack_mcs How is this looking before i try it live RewriteEngine On RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.domain.com.au/ [R=301,L] RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L]
  14. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    @Jack_mcs like the above is that correct? why is the cpanel bit twice?
  15. douglaswalker

    Rewrite Rules htaccess combining 2 redirects

    RewriteEngine On RewriteCond %{HTTPS} !on RewriteCond %{HTTP_USER_AGENT} !facebookexternalhit/[0-9] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/ RewriteRule ^index\.php$ https://www.domain.com.au/ [R=301,L] RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^(.*)$ https://www.domain.com.au/$1 [R=301,L]
×