How can I make SEO friendly redirection “301” from WordPress, if there is any native function
You can use wp_redirect function
wp_redirect( "http://softwarehtec.com", 301 );
How can I make SEO friendly redirection “301” from WordPress, if there is any native function
You can use wp_redirect function
wp_redirect( "http://softwarehtec.com", 301 );
I have Magento store, but its open without “www”, How can I make Magento site open with www
You can update the url from backend
System > Configuration > Web > Unsecure > Base URL
Also to make sure visitor will be redirected to the URL with WWW when open the URL without WWW
you should include a piece of code within your .htaccess file
RewriteCond %{HTTP_HOST} ^yourdomain.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]
Above codes will make sure user will be redirected to domain with WWW
How can I enable search engine friendly URLs for Magento store
If you would like to enable search engine friendly URLs in Magento, you have to login the Magento backend first. Moving to System -> Configuration -> Web -> Search Engines Optimization and enable ” Use Web Server Rewrites”. Once its done, click on the save config button and your Magento search engine friendly URLS will be enabled.
I would like to display a published / modified date next to my website on google search result page
Usually, when google crawl your page, will try to find date data. e.g
Google looks specifically for a date just under the first H1 tag
So you can use “schema” to tell google what is your published / modified date
here is example how to use “schema” to display the published / modified date
<time itemprop="datePublished" datetime="2016-04-27T14:03:20+01:00">Published: 27 Apr 16</time> <time itemprop="dateModified" datetime="2016-03-21T14:51:23+01:00">Last Updated: 21 Mar 16</time>
I just noticed this yesterday, google changes my page titles in search results, How can I make google keep my right page title from title tags
Google completely changes, partially changes or unchanges your page Titles in their results based on an automated process of evaluating what they think your title tags are good enough or not. Mainly google will consider your page content,title tag (e.g length: title tag is longer than what can be displayed in the results), links’ name of page, page name on breadcrumb and search query. Based on some reports, keep your title tag within the 50-59 characters and that your titles fit with the content of the page, your title tag will remains unchanged, but its not guarantee, only high probability.
Why my WordPress site’s URLs are ugly, how to make them SEO friendly
By default the default setting of WordPress url structure isn’t very “pretty” much less SEO-Friendly. So if your urls aren’t looking that great (lik softwarehtec.com/?p=1) then simply go to Settings->Permalinks from WordPress admin panel and set your WordPress options to look as follows (or choose the one that best works for you):
Settings -> Permalinks
I recently wanted to remove the extensions from my page for make the URLs more search engine friendly.
You can enable RewriteEngine and set as following
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L]
For GoDaddy users:
Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^\.]+)$ $1.php [NC,L]
I have issue with canonical tag on product detail page of my Magento site. I want canonical tag can be including category text of the current product.
Here is the example, the current one is
<link rel="canonical" href=".../product" >;But I want that to be like
<link rel="canonical" href="...category/product">
That is not something to be ‘fixed’, it is normal behaviour.
The point of the canonical tag is that your product could appear in any number of categories which would otherwise generate multiple urls for the same product and therefore duplicate content issues.