This is what we use
Replace html with php
RewriteEngine on
RewriteCond %{THE_REQUEST} ^./index.html?\ HTTP/
RewriteRule ^(.)index.html?$ "/$1" [R=301,L]
I'd remove the last 2 lines from your post and add that in...
Hope it helps.
Welcome to the Q&A Forum
Browse the forum for helpful insights and fresh discussions about all things SEO.
This is what we use
Replace html with php
RewriteEngine on
RewriteCond %{THE_REQUEST} ^./index.html?\ HTTP/
RewriteRule ^(.)index.html?$ "/$1" [R=301,L]
I'd remove the last 2 lines from your post and add that in...
Hope it helps.
Hi John
The first line removes the extension
The second line adds them back in a specific order IE you want PHP to execute first.
If you got it going that is what counts.
Good luck,
Don
Hi John,
If the URL's are well indexed and doing well, you "may" not want to change the url. To simply add the ability to run php first you can do it very easily with just what you thought, .htaccess
In fact when I took over as webmaster on my corporate site which was indexed very well I had to do just that.
Add this to your .htaccess file:
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
Try
RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php\ HTTP/ RewriteRule ^(([^/]+/)*)index\.php$ http://example.com/$1 [R=301,L]
Ref:
After 2 minutes on the site I have no idea what service does, or sells. I see prices, but have no clue what I would actually be buying.
Then I looked at the page source and read the title, so its an SEO service....
After you fixed the issue did you wait till the next report was generated to see if the crawl detected the same error?
Dan1el he was referencing adding social networking code to site.. Ie share on facebook, retweet, +1 google, +1 facebook..blah blah blah.
Personally given his industry, I'm not sure how many people are going to around +1'ing a Steel Supplier, but I'm a little hard headed when it comes to social networking.
Hi Nightwing,
Site looks good,
If you could slip another 1 or 2 instances of steel suppliers in there, and personally I'd also try for the long tail keyword _UK steel supplier_s. Though your company does look like a global company, in the US I would certainly type US steel suppliers before relying on a global supplier but that maybe irrelevant as I"m not in your industry, just a thought.
The banner you referenced takes me to a site with the Barrett steel logo so that makes sense if they are distributor, I would rather that it was opened in a new window / tab then moving the user off your site. It also appears to be the same template they you are using.
Overall I think it looks very good.
Hi Allan,
There are many SEO company's (employees and owners) who post on these forums ( I'm not one of these people). A few of them to me are very impressive with their knowledge. Have you considered looking at these users, then if you feel they are compatible with your needs looking at their profile and visiting their site?
This way you know whom you are dealing with and can judge their knowledge well before they even give you a price.
Just a thought, hope it helps
Is it possible to just use Excel's data tab "Text To Columns" and split the data on commas or whatever the delimiter is?
I haven't had this issue before but that may help with the CSV if you use Excel.
It would also make sense if you're home page generates something like
www. A Site.com
www. A Site.com/
www. A Site.com/index.php
www. A Site.com/index.php/
This prevents duplicate page content issues as those pages while the exact same, are different URL's. The canonical tag should point to a single page whichever one is the real url for your site.
Hope that helps,
Don
Chas gave a very good answer.
And, more people then not will tell you working on 4 similar (but different) sites isn't the best use of time. I am one who understands that in certain cases it does make since to have 2 or maybe 3 sites in the same industry, but I wouldn't go as far as creating more then 1 e-commerce sites dealing with the same products even though the demographics maybe a little different. That doesn't make good sense to me.
Your original question I think was more about the server then this sort of advise so I'll give you the best information I have at this time. The sites will be treated as different sites, look at shop services like prostores or stores.ebay they consistently have many people on the same server and all of them are able to be indexed provided they do a fair job at SEO.
The issues you'll have is more with building unique and differentiating content for each site and getting good quality back links to each one, then it is with how search engines will treat them.
I hope that answers your questions and helps with your goals.
Your canonical should be like (add www if appropriate to the below code)
Your redirect via htaccess should be like
Redirect 301 /tulsa-cleaning-services/ http://THEDOMAIN.com/services/
As far as the old page goes, if you 301 redirect it, then there is no need for a canonical tag if it still exist.
Thanks for the response.
I can't agree with it however, maybe I should have posted more information as the reason for 2 sites is actually very important. Our manufacturing site focuses and serves as custom manufacturing site, custom jobs, prototyping and support for the clients is the most important aspect of its existence. Watering it down with standard product lines was not an option. This is where the distributor site comes in, the site servers as an option for customers who request standardized items in which we can and do make, but 99% of the time a person requesting the item wouldn't meet our minimum order quantity. Instead of losing the business out right we work with the distributor to stock our products who can buy them in bulk and resell them in smaller quantities.
This will not change. Not because I say so, but the decision is made way above my pay grade.
As for point 1 you said:
If the manufacturing site is sooooo important that you feel compelled to link to it 10,000 times then maybe you should only have one website?
This is a branding thing, the manufacturing site is a custom manufacture and everything there is mostly geared towards providing information about customer manufacturing and supporting our clients. I am NOT compelled to generate 10,000 links to this site for the manufacturing sites benefit, rather the distributor sites benefit by getting useful information about product materials. Thus, helping the distributor site.
So the question and decission comes down to this;
If we can provide our users on the distributor site more information via a link, without hurting our manufacturing site, as far as user experiences go I'm all for it. But, if this amount of linking could cause us to get dinged then we will not do it.
Once again I do appreciate your input, and I hope I lad out the case for the two different sites, so my original question can be re-examined.
We have a distributor site with a page rank of 3 on its home page, and 0-1'ish on its product pages. While our manufacturing site is PR 4 getting close to 5...
We are thinking about adding a link from our distributors product pages to our manufacturing appropriate material information page. This would be about 10k links spread out among 7 materials. We want to add these links to help our distributor sites customers, but we don't want to hurt our manufacturing site in the process.
I personally don't know of any problem this would cause, but our manufacturing site is so important I need to verify adding this many links wouldn't hurt us.
Your thoughts and knowledge is appreciated.
Really its just another link ring scheme. Why a reputable company would want to get caught up in something like this is beyond me.
It sounds like the person making money on this is in the same grey area as the companies who would sign up for such a thing.
If you build unique, clean, informative, user-friendly content and do a little leg work yourself you'll never be tempted to even think about a scheme such as that.
Excellent answers, you both touched on great points which I have always believed in.
If you have something worth Liking / +1 'ing / Re-tweeting, people will do it for you. Your focus should be to deliver the best possible content, features, products, service and let your customers / readers do the rest. Trying to manipulate the system buy throwing money at it won't be good in the long run.
It is my understanding, and I'm sure I'll be corrected if wrong..
Google does not play favorites in their algorithm for ranking TLD's (Top Level Domains).
Here is a link to a Matt Cutt's (Google SEO guy) Video addressing a very similar issue with .com vs .co.uk
Okay I may have understood your original post differently then what you meant.
So the case is you have HTTPS enabled, but Google is Indexing Both HTTP & HTTPS pages. However, you want them to only index the HTTP version. You are also running a cart or checkout which is only HTTPS which is likely not relevant to Google so I would recommend blocking those pages with robots.txt.
I would recommend coding an IF statement to deal with duplicate indexing (https & http) & setting up a robots.txt file to prevent crawling pages that have no value and are there for customer use only.
Something like this would work in php:
_
_if ( isset($_SERVER['HTTPS']) || (isset($SERVER['HTTPS']) && strtolower($SERVER['HTTPS'])) == 'on' ) {echo ''."\n";}
else {echo ''."\n";}
?>
_I'm not sure the code in asp since I rarely ever use Windows servers but you should be able to find that with Google.
Then setup your robots.txt to block all urls that are specific to personal data like this: (Example)
Disallow: /catalog/account.php
Disallow: /catalog/account_edit.php
Disallow: /catalog/account_history.php
Disallow: /catalog/account_history_info.php
Disallow: /catalog/account_password.php
Disallow: /catalog/add_checkout_success.php
Disallow: /catalog/address_book.php
Disallow: /catalog/address_book_process.php
Disallow: /catalog/checkout_confirmation.php
Disallow: /catalog/checkout_payment.php
Disallow: /catalog/checkout_process.php
Disallow: /catalog/checkout_shipping.php
Disallow: /catalog/checkout_shipping_address.php
Disallow: /catalog/checkout_success.php
Disallow: /catalog/cookie_usage.php
Disallow: /catalog/create_account.php
I hope that helps
Don_